Skip to content
Literate programming using MarkDown
Shell Makefile
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
LICENSE
Makefile
README.md
Thats_all_folks.png
literate.c.md
literate.cpp.md
literate.java.md
literate.pl.md
literate.py.md
literate.sh.md
run-md

README.md

Literate

Literate programming using MarkDown.

Several examples are provided.

How to run the examples?

Execute

./run-md literate.sh.md
./run-md literate.py.md
./run-md literate.java.md
# etcetera

or simply execute make run.

How to publish the examples?

Execute

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 run-md.

That's all Folks!

You can’t perform that action at this time.