Converts Github Flavored Markdown to valid HTML documents. Requires cmark-gfm or other filter that converts Markdown to HTML. https://gothamcode.com/gfm2html
Find a file
2025-11-03 21:50:30 -05:00
CHANGELOG Initial version push 2025-11-03 21:50:30 -05:00
COPYING Initial version push 2025-11-03 21:50:30 -05:00
gfm2html Initial version push 2025-11-03 21:50:30 -05:00
gfm2html.1 Initial version push 2025-11-03 21:50:30 -05:00
README.md Initial version push 2025-11-03 21:50:30 -05:00

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