Literate programming using MarkDown.
Several examples are provided.
How to run the examples?
./run-md literate.sh.md ./run-md literate.py.md ./run-md literate.java.md # etcetera
or simply execute
How to publish the examples?
MANAGER=yum which dnf >/dev/null 2>&1 && MANAGER=dnf which apt-get >/dev/null 2>&1 && MANAGER=apt-get sudo $MANAGER -y install pandoc texlive make build
HTML and PDF output formats are generated: check with any HTML browser or PDF viewer.
How to write programs?
Write MarkDown files with the code to be executed inside triple backtick blocks.
To know the supported file extensions (and related languages) study the file