mdoc

Generates a fully-formed HTML document from Markdown using cmark.
git clone git://src.gearsix.net/mdocmdoc.zip
Log | Files | Refs | Atom | README

README (raw) (362B)


   1 
   2 mdoc
   3 
   4 A very basic wrapper around *cmark* that adds text need to build
   5 a fully-formed HTML file. It also adds some minimal CSS styling.
   6 
   7 	./mdoc [-t TITLE] [-a AUTHOR] < file.md > file.html
   8 
   9 It uses `stdin` to read input data, so you'll need to pipe the
  10 Markdown text to it (e.g. shown above). Did it like thie because
  11 this is a quick & dirty tool.
  12 
  13 - gearsix
  14