lit-md

Literate programming done cheaply.


Keywords
literate, programming, markdown
License
GPL-3.0
Install
npm install lit-md@0.0.3

Documentation

Literate Markdown

Build Status npm Version License

Literate programming done cheaply. Extract indented blocks from Markdown files to produce executable code.

$ npm install lit-md

Usage

$ lit-md < input.js.md > output.js

The input might look like:

Some program
============

Add one and one together.

    1 + 1

That's all!

This outputs:

1 + 1

License

This software is licensed under the GPL v3 license.