Skip to content

v0.1.0

Choose a tag to compare

@rich-iannone rich-iannone released this 20 May 05:04
· 35 commits to main since this release

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 renderersmarkdown_to_html(), markdown_to_latex(), markdown_to_man(), markdown_to_commonmark(), and markdown_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 composable Options bitmask for advanced flags.
  • Safe by default — Raw HTML is stripped unless unsafe=True is explicitly set.
  • Cross-platform wheels — Built with cibuildwheel for Linux, macOS, and Windows (Python 3.9–3.13).