Version 0 of tmdoc::tmdoc

Updated 2020-02-19 18:44:52 by DDG

Literate programming tool using Markdown as markup languages and tcl as programming language. Tcl code can be embedded directly in the text using single backticks or as code blocks using triple A good example is the extensive tutorial for the tmdoc::tmdoc package at https://chiselapp.com/user/dgroth/repository/tclcode/doc/tip/tmdoc/tutorial/tmd.html

Usage, you have intermixed Markdown markup and Tcl code in a tmd file which can converted to Markdown using the tmdoc command line application.

tclsh tmdoc.tcl docu.tmd > docu.md
# afterwards Markdown can be converted to HTML or PDF for instance using pandoc
pandoc -i tmd.md -s --highlight-style pygments -c dgw.css  -o tmd.html

Changes:

  • 2020-02-18: Coding started
  • 2020-02-19: 0.1 first release

See also:

Discussion:

Please discuss here.