0.0.10 • Published 10 years ago

litprog v0.0.10

Weekly downloads
6
License
AGPL
Repository
github
Last release
10 years ago

litprog

A literate programming tool. Check the litprog.md file for documentation.

Installation

npm install -g litprog

Help

litprog -h
litprog source_path label
This program defaults at getting the code blocks with the specified label from a single Markdown file.

Options
-html : Get the code blocks from an html document(from tags with class 'markdown').
-ar: Adds '%%%%' delimiter between code blocks.
-h : Show this help page.

Examples

This will get all the code blocks labeled javascript and will write them to the litprog.js file.

litprog litprog.md javascript > litprog.js

To use labels in code blocks and them rendering properly you need:

0.0.10

10 years ago

0.0.9

10 years ago

0.0.8

10 years ago

0.0.7

10 years ago

0.0.6

10 years ago

0.0.5

10 years ago

0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago