gfm2html

gfm2html

Converts Github Flavored Markdown to HTML documents. For use with Apache ExtFilters, but probably can be used with any Web server that supports filters.

Using: cat markdown.md | gfm2html > webpage.html

Define markdown to html filter using gfm2html

ExtFilterDefine md-to-html mode=output intype=text/markdown outtype=text/html cmd="/usr/local/bin/gfm2html"

<Directory "/var/www/html"> SetOutputFilter md-to-html AddType text/markdown .md