Skip to content

Releases: posit-dev/multimark

v0.2.0

09 Jun 20:40
066b172

Choose a tag to compare

Multimark v0.2.0 introduces a command-line interface for converting Markdown directly from the terminal. The CLI supports all five output formats, GFM extensions, and rendering options. This makes it easy to use multimark in shell pipelines, scripts, and agent workflows without writing Python.

New Features

  • Command-line interface — New multimark CLI command converts Markdown from a file or stdin to HTML, LaTeX, man, CommonMark, or XML. Supports all GFM extensions (-e table, -e strikethrough, etc.) and rendering flags (--smart, --unsafe, --footnotes, and more). Built with Click for shell completion and automatic help generation. (#1)

  • --width CLI option — Controls line wrapping for LaTeX, man page, and CommonMark output directly from the command line. Defaults to no wrapping; set a column width (e.g., --width 72) to wrap long paragraphs. (#2)

Full Changelog: v0.1.3...v0.2.0

v0.1.3

20 May 12:01

Choose a tag to compare

Packaging fix release: no functional changes from v0.1.0.

v0.1.2

20 May 05:27

Choose a tag to compare

Packaging fix release: no functional changes from v0.1.0.

v0.1.1

20 May 05:13

Choose a tag to compare

Packaging fix release: no functional changes from v0.1.0.

v0.1.0

20 May 05:04

Choose a tag to compare

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).