Releases: posit-dev/multimark
v0.2.0
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
multimarkCLI 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) -
--widthCLI 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
Packaging fix release: no functional changes from v0.1.0.
v0.1.2
Packaging fix release: no functional changes from v0.1.0.
v0.1.1
Packaging fix release: no functional changes from v0.1.0.
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).