Reference

Renderers

Convert Markdown to various output formats

markdown_to_html()

Parse CommonMark/GFM and render as HTML.

markdown_to_latex()

Parse CommonMark/GFM and render as LaTeX.

markdown_to_man()

Parse CommonMark/GFM and render as a groff man page.

markdown_to_commonmark()

Parse CommonMark/GFM and render back as normalized CommonMark.

markdown_to_xml()

Parse CommonMark/GFM and render as XML.

Options

Parsing and rendering configuration

Options

CommonMark/GFM parsing and rendering options.

Utility

Package information

cmark_version()

Return the version string of the vendored cmark-gfm library.