NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
PyPI · #1637 most downloaded on PyPI
A markdown parser with high extensibility.
Last release 1 months ago
12 Aug 2026
Release timing varies
gaps range from 8 days to 10 months
Most releases are documented
notes for 41 of 46 stable releases
1 version withdrawn
withdrawn after publishing
8 years old
47 releases · first in 2018
Add source mapping for AST elements. Every element now carries a source_span attribute (a (start, end) tuple of indices into the source text) plus the
source_span attribute (a (start, end) tuple of indices into the source text) plus the start_pos/end_pos convenience properties, and inline elements expose their pure-syntax parts (e.g. emphasis markers, code span backticks, link brackets) via syntax_spans. This enables features like syntax highlighting. #273feat: allow extension blocks to break a Paragraph by @jothepro in #260
One column per quarter.
Full Changelog: v2.2.2...v2.2.3
chore: Update pdm.lock by @github-actions[bot] in #246
Full Changelog: v2.2.1...v2.2.2
fix: inline parsing edge case with nested emphasis by @ll3006 in #242
Full Changelog: v2.2.0...v2.2.1
chore: Update pdm.lock by @github-actions[bot] in #233
Full Changelog: v2.1.4...v2.2.0
chore: Update pdm.lock by @github-actions in #225
chore: Update pdm.lock by @github-actions in #199
Full Changelog: v2.1.2...v2.1.3
children attribute when creating a Document instance.Update the GFM spec to the latest master branch.
Reference link will not render if the reference definition doesn't end with newline.
Changed Drop support of Python 3.7.
Add pretty representation for the AST for debugging purpose. An extra group repr is added for more readable output.
repr is added for more readable output.Document element if the element to render is not a Document instance.Full Changelog: https://github.com/frostming/marko/compare/v2.0.2...v2.0.3
Rewrite the parsing logic of GFM tables.
MarkdownRenderer.Full Changelog: https://github.com/frostming/marko/compare/v2.0.1...v2.0.2
Preserve link references when rendering document as Markdown.
> This major release contains breaking changes to the internal APIs. Read the below for details. If you are extending Marko, please pay attention. Oth…
Note This major release contains breaking changes to the internal APIs. Read the below for details. If you are extending Marko, please pay attention. Otherwise, the usage remains unchanged.
children attribute for block elements should be a list of child elements.HTMLBlock from children to body attribute.setup_extensions() when running render() method alone.Full Changelog: https://github.com/frostming/marko/compare/v1.3.1...v2.0.0
fix(ext/codehilite): ValueError in parse_extras (closes #147) by @llllvvuu in https://github.com/frostming/marko/pull/148
ValueError in parse_extras (closes #147) by @llllvvuu in https://github.com/frostming/marko/pull/148Full Changelog: https://github.com/frostming/marko/compare/v1.3.0...v1.3.1
codehilite extension enabled.chore: Update pdm.lock by @github-actions in https://github.com/frostming/marko/pull/125
Full Changelog: https://github.com/frostming/marko/compare/v1.2.2...v1.3.0
Fixed ordered list markdown renderer. by @BobMarlon in https://github.com/frostming/marko/pull/112
Full Changelog: https://github.com/frostming/marko/compare/v1.2.1...v1.2.2
Fix a bug that tabs between the list bullet and item are not expanded properly.
Forbid delegation to element-specific render methods for AST renderers.
marko.ext namespace.Update the implementation to conform with Commonmark 0.30 spec.
Consider unicode punctuations when judging whether a delimiter is an opener or a closer.
Fix a parsing crash if no newline following the prefix of a block element.
Remove the duplicate newlines in the output of paragraphs of markdown renderer.
Remove the deprecated extension object
Fix a bug about rendering image links of MarkdownRender
MarkdownRenderFix an XSS issue that exists in code language field.
Fix a bug that backslashes get dropped inside a table cell.
marko.md_renderer.MarkdownRenderer which rerenders the input back to markdown text.Add support for specifying extensions in marko CLI.
Fix a bug of list item parsing when mixed whitespace type is used.
Support arguments for extensions
Wrap code block with 'highlight' container in codehilite mode.
Deprecate the extension name with Extension suffix, e.g. FootnoteExtension -> Footnote. And the old names will be removed by v1.0.0.
Extension suffix, e.g. FootnoteExtension -> Footnote.
And the old names will be removed by v1.0.0.```python myscript.py <-- myscript.py is stored in element
print('hello world')
```
Add a new extension attribute elements.
elements.Add type hints for all primary functions.
Update to comply commonmark spec 0.29.
Fix TOC rendering when heading level exceeds the max depth.
Fix CJK regexp for pangu extension.
Nothing published for this version
- Support Python 2.7.
Nothing published for this version
- Fix bugs about extensions.
Nothing published for this version
Nothing published for this version
- Pangu extension.
Change the entry function to a class, add TOC and footnotes extensions.
Nothing published for this version
- Commonmark spec tests.
Your coding agent can read these notes before it upgrades. Set up the MCP server →