pandoc/hsmarkdown
fiddlosopher 5387ebd8db Added 'hsmarkdown' wrapper, designed to be used as a drop-in
replacement for Markdown.pl.  It calls pandoc with the options
'--from markdown --to html --strict' and disallows other options.
(Any command-line options will be interpreted as arguments.)


git-svn-id: https://pandoc.googlecode.com/svn/trunk@399 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-01-02 02:58:54 +00:00

5 lines
258 B
Bash
Executable file

#!/bin/sh
# hsmarkdown - intended as a drop-in replacement for Markdown.pl.
# Uses pandoc to convert from markdown to HTML, using --strict mode
# for maximum compatibility with official markdown syntax.
exec pandoc --from markdown --to html --strict -- "$@"