v0.1.0
This is the first public release of multimark: fast Python bindings to cmark-gfm, the C reference implementation of CommonMark with GitHub Flavored Markdown extensions.
multimark provides five output renderers (HTML, LaTeX, groff man, XML, and normalized CommonMark) through a minimal, consistent API. All GFM extensions are supported (tables, strikethrough, autolinks, task lists, and tag filtering) and raw HTML is safely stripped by default. Pre-built wheels are available for Linux, macOS, and Windows across Python 3.9–3.13, with no system dependencies required.
Highlights
- Five renderers —
markdown_to_html(),markdown_to_latex(),markdown_to_man(),markdown_to_commonmark(), andmarkdown_to_xml(), all sharing the same interface. - GFM extensions — Enable tables, strikethrough, autolinks, task lists, and tag filtering via the
extensions=parameter. - Options flags — Boolean keyword arguments (
smart,unsafe,hardbreaks,sourcepos,footnotes,normalize) plus a composableOptionsbitmask for advanced flags. - Safe by default — Raw HTML is stripped unless
unsafe=Trueis explicitly set. - Cross-platform wheels — Built with cibuildwheel for Linux, macOS, and Windows (Python 3.9–3.13).