You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Martin Mitáš edited this page Jul 12, 2017
·
2 revisions
MD4C project contains a simple utility, md2html, which converts Markdown input to the corresponding HTML output.
The utility uses MD4C parser to analyze the input. The renderer implementation is in md2html/render_html.c. Applications which want to convert Markdown to HTML can reuse this implementation more-or-less without any major change.
Given how relatively trivial HTML renderer is, it can also serve as a good example code how to implement your own renderer.