diff options
author | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2007-01-02 02:58:54 +0000 |
---|---|---|
committer | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2007-01-02 02:58:54 +0000 |
commit | 5387ebd8db3b8cf98befd75d9aa42716acaf8dec (patch) | |
tree | 31357b758f45c39339b315e72456d6dfb40c3f4f /hsmarkdown | |
parent | 89f2468f38d7b85d78fe1d94bab7cc8ea46152d0 (diff) | |
download | pandoc-5387ebd8db3b8cf98befd75d9aa42716acaf8dec.tar.gz |
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
Diffstat (limited to 'hsmarkdown')
-rwxr-xr-x | hsmarkdown | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/hsmarkdown b/hsmarkdown new file mode 100755 index 000000000..17f970234 --- /dev/null +++ b/hsmarkdown @@ -0,0 +1,5 @@ +#!/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 -- "$@" |