---
title: "marko 2.0.0 Breaking Changes on PyPI | Since.dev"
description: "What each marko release removed, renamed or changed: 66 breaking changes in 3 versions on PyPI, each with its source."
canonical_url: https://since.dev/packages/pypi/marko
last_updated: 2026-12-04
---

# marko breaking changes

marko 2.0.0 (June 12, 2023) is its newest release with breaking changes, 51 of them. The first: Removed marko.\_\_main\_\_. Every breaking API change we have recorded in marko on PyPI: 66 breaking changes in 3 versions. Below, its 3 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `2.2.5`, released October 27, 2026. [Source repository](https://github.com/frostming/marko)

Its 1.0.0 release drops Python 2.7. [Python end of life dates](https://since.dev/calendar/python.md).

- From [1.0.0](#v-1-0-0) to [2.0.0](#v-2-0-0): 51 breaking changes in 1 version.
- From [0.10.0](#v-0-10-0) to [2.0.0](#v-2-0-0): 65 breaking changes in 2 versions.

## marko 2.0.0 breaking changes

marko 2.0.0, released June 12, 2023: 51 breaking changes.

- **Removed** `marko.__main__`  

marko.\_\_main\_\_ was removed in marko 2.0.0 [pypi.org](https://pypi.org/project/marko/2.0.0/)
- **Removed** `marko.__version__`  

marko.\_\_version\_\_ was removed in marko 2.0.0 [pypi.org](https://pypi.org/project/marko/2.0.0/)
- **Removed** `marko.block.BlankLine.inline_children`  

BlankLine.inline_children was removed in marko 2.0.0 [pypi.org](https://pypi.org/project/marko/2.0.0/)
- **Removed** `marko.block.BlankLine.parse_inline`  

BlankLine.parse_inline was removed in marko 2.0.0 [pypi.org](https://pypi.org/project/marko/2.0.0/)
- **Removed** `marko.block.Heading.inline_children`  

Heading.inline_children was removed in marko 2.0.0 [pypi.org](https://pypi.org/project/marko/2.0.0/)
- **Removed** `marko.block.Paragraph.inline_children`  

Paragraph.inline_children was removed in marko 2.0.0 [pypi.org](https://pypi.org/project/marko/2.0.0/)
- **Removed** `marko.block.SetextHeading.inline_children`  

SetextHeading.inline_children was removed in marko 2.0.0 [pypi.org](https://pypi.org/project/marko/2.0.0/)
- **Removed** `marko.Document`  

marko.Document was removed in marko 2.0.0 [pypi.org](https://pypi.org/project/marko/2.0.0/)
- **Removed** `marko.ElementType`  

marko.ElementType was removed in marko 2.0.0 [pypi.org](https://pypi.org/project/marko/2.0.0/)
- **Removed** `marko.ext.codehilite.CodeHilite`  

marko.ext.codehilite.CodeHilite was removed in marko 2.0.0 [pypi.org](https://pypi.org/project/marko/2.0.0/)
- **Removed** `marko.ext.footnote.Footnote`  

marko.ext.footnote.Footnote was removed in marko 2.0.0 [pypi.org](https://pypi.org/project/marko/2.0.0/)
- **Removed** `marko.ext.gfm.elements.Paragraph.inline_children`  

Paragraph.inline_children was removed in marko 2.0.0 [pypi.org](https://pypi.org/project/marko/2.0.0/)
- **Removed** `marko.ext.gfm.elements.TableCell.inline_children`  

TableCell.inline_children was removed in marko 2.0.0 [pypi.org](https://pypi.org/project/marko/2.0.0/)
- **Removed** `marko.ext.gfm.GFM.elements`  

GFM.elements was removed in marko 2.0.0 [pypi.org](https://pypi.org/project/marko/2.0.0/)
- **Removed** `marko.ext.gfm.GFM.renderer_mixins`  

GFM.renderer_mixins was removed in marko 2.0.0 [pypi.org](https://pypi.org/project/marko/2.0.0/)
- **Removed** `marko.ext.pangu.Pangu`  

marko.ext.pangu.Pangu was removed in marko 2.0.0 [pypi.org](https://pypi.org/project/marko/2.0.0/)
- **Removed** `marko.ext.toc.Toc`  

marko.ext.toc.Toc was removed in marko 2.0.0 [pypi.org](https://pypi.org/project/marko/2.0.0/)
- **Removed** `marko.helpers.BlockElement`  

marko.helpers.BlockElement was removed in marko 2.0.0 [pypi.org](https://pypi.org/project/marko/2.0.0/)
- **Removed** `marko.helpers.Source`  

marko.helpers.Source was removed in marko 2.0.0 [pypi.org](https://pypi.org/project/marko/2.0.0/)
- **Removed** `marko.inline.LinkOrEmph`  

marko.inline.LinkOrEmph was removed in marko 2.0.0 [pypi.org](https://pypi.org/project/marko/2.0.0/)
- **Removed** `marko.SetupDone`  

marko.SetupDone was removed in marko 2.0.0 [pypi.org](https://pypi.org/project/marko/2.0.0/)
- **Renamed** `HTMLBlock.children`  

The HTML content of HTMLBlock is now stored in the body attribute instead of children. Code reading or setting children on HTMLBlock must use body. [github.com](https://github.com/frostming/marko/releases/tag/v2.0.0)
- **Behavior changed** `children`  

The children attribute on block elements is now expected to be a list of child elements. Extensions that set it to another shape must be updated. [github.com](https://github.com/frostming/marko/releases/tag/v2.0.0)
- **Signature changed** `marko.block.Document.__init__`  

Was def \_\_init\_\_(self, text: str) -> None; now def \_\_init\_\_(self) -> None. [pypi.org](https://pypi.org/project/marko/2.0.0/)
- **Signature changed** `marko.block.List.__init__`  

Was def \_\_init\_\_(self) -> None; now def \_\_init\_\_(self, info: List.ParseInfo) -> None. [pypi.org](https://pypi.org/project/marko/2.0.0/)
- **Signature changed** `marko.block.ListItem.__init__`  

Was def \_\_init\_\_(self) -> None; now def \_\_init\_\_(self, info: ListItem.ParseInfo) -> None. [pypi.org](https://pypi.org/project/marko/2.0.0/)
- **Signature changed** `marko.block.Paragraph.parse`  

Was @classmethod def parse(cls, source: Source) -> list\[str\]; now @classmethod def parse(cls, source: Source) -> list\[str\] | SetextHeading. [pypi.org](https://pypi.org/project/marko/2.0.0/)
- **Signature changed** `marko.ext.footnote.Document.__init__`  

Was def \_\_init\_\_(self, text); now def \_\_init\_\_(self). [pypi.org](https://pypi.org/project/marko/2.0.0/)
- **Signature changed** `marko.ext.footnote.FootnoteRef.find`  

Was @classmethod def find(cls, text); now @classmethod def find(cls, text, \*, source). [pypi.org](https://pypi.org/project/marko/2.0.0/)
- **Signature changed** `marko.ext.gfm.elements.ListItem.__init__`  

Was def \_\_init\_\_(self) -> None; now def \_\_init\_\_(self, info: ListItem.ParseInfo) -> None. [pypi.org](https://pypi.org/project/marko/2.0.0/)
- **Signature changed** `marko.ext.gfm.elements.Paragraph.parse`  

Was @classmethod def parse(cls, source: Source) -> list\[str\]; now @classmethod def parse(cls, source: Source) -> list\[str\] | SetextHeading. [pypi.org](https://pypi.org/project/marko/2.0.0/)
- **Signature changed** `marko.ext.gfm.elements.Url.find`  

Was @classmethod def find(cls, text); now @classmethod def find(cls, text, \*, source). [pypi.org](https://pypi.org/project/marko/2.0.0/)
- **Signature changed** `marko.ext.gfm.GFM`  

Was class GFM; now GFM. [pypi.org](https://pypi.org/project/marko/2.0.0/)
- **Signature changed** `marko.ext.gfm.Markdown.__init__`  

Was def \_\_init\_\_(self, parser: type\[Parser\] = Parser, renderer: type\[Renderer\] = HTMLRenderer, extensions: Iterable\[str | object\] | None = None) -> None; now def \_\_init\_\_(self, parser: type\[Parser\] = Parser, renderer: type\[Renderer\] =... [pypi.org](https://pypi.org/project/marko/2.0.0/)
- **Signature changed** `marko.ext.gfm.Markdown.use`  

Was def use(self, \*extensions: str | object) -> None; now def use(self, \*extensions: str | MarkoExtension) -> None. [pypi.org](https://pypi.org/project/marko/2.0.0/)
- **Signature changed** `marko.ext.latex_renderer.LatexRenderer`  

Was class LatexRenderer(Renderer); now class LatexRenderer(LatexRendererMixin, Renderer). [pypi.org](https://pypi.org/project/marko/2.0.0/)
- **Signature changed** `marko.helpers.load_extension`  

Was def load_extension(name: str) -> object; now def load_extension(name: str, \*\*kwargs: Any) -> MarkoExtension. [pypi.org](https://pypi.org/project/marko/2.0.0/)
- **Signature changed** `marko.inline_parser.find_links_or_emphs`  

Was def find_links_or_emphs(text: str, root_node: Document) -> list\[MatchObj\]; now def find_links_or_emphs(text: str, link_ref_defs: dict\[str, tuple\[str, str\]\]) -> list\[MatchObj\]. [pypi.org](https://pypi.org/project/marko/2.0.0/)
- **Signature changed** `marko.inline_parser.Group`  

Was Group; now class Group(NamedTuple). [pypi.org](https://pypi.org/project/marko/2.0.0/)
- **Signature changed** `marko.inline_parser.InlineElement.find`  

Was @classmethod def find(cls, text: str) -> Iterator\[Match\]; now @classmethod def find(cls, text: str, \*, source: Source) -> Iterator\[\_Match\]. [pypi.org](https://pypi.org/project/marko/2.0.0/)
- **Signature changed** `marko.inline_parser.look_for_image_or_link`  

Was def look_for_image_or_link(text: str, delimiters: list\[Delimiter\], close: int, root_node: Document, matches: list\[MatchObj\]) -> MatchObj | None; now def look_for_image_or_link(text: str, delimiters: list\[Delimiter\], close: int... [pypi.org](https://pypi.org/project/marko/2.0.0/)
- **Signature changed** `marko.inline_parser.parse`  

Was def parse(text: str, elements: list\[ElementType\], fallback: ElementType) -> list\[InlineElement\]; now def parse(text: str, elements: list\[ElementType\], fallback: ElementType, source: Source) -> list\[InlineElement\]. [pypi.org](https://pypi.org/project/marko/2.0.0/)
- **Signature changed** `marko.load_extension`  

Was def load_extension(name: str) -> object; now def load_extension(name: str, \*\*kwargs: Any) -> MarkoExtension. [pypi.org](https://pypi.org/project/marko/2.0.0/)
- **Signature changed** `marko.Markdown.__init__`  

Was def \_\_init\_\_(self, parser: type\[Parser\] = Parser, renderer: type\[Renderer\] = HTMLRenderer, extensions: Iterable\[str | object\] | None = None) -> None; now def \_\_init\_\_(self, parser: type\[Parser\] = Parser, renderer: type\[Renderer\] =... [pypi.org](https://pypi.org/project/marko/2.0.0/)
- **Signature changed** `marko.Markdown.use`  

Was def use(self, \*extensions: str | object) -> None; now def use(self, \*extensions: str | MarkoExtension) -> None. [pypi.org](https://pypi.org/project/marko/2.0.0/)
- **Signature changed** `marko.Parser.parse`  

Was def parse(self, source_or_text: Source | str) -> list\[block.BlockElement\] | block.BlockElement; now def parse(self, text: str) -> block.Document. [pypi.org](https://pypi.org/project/marko/2.0.0/)
- **Signature changed** `marko.Parser.parse_inline`  

Was def parse_inline(self, text: str) -> list\[inline.InlineElement\]; now def parse_inline(self, element: block.BlockElement, source: Source) -> None. [pypi.org](https://pypi.org/project/marko/2.0.0/)
- **Signature changed** `marko.parser.Parser.parse`  

Was def parse(self, source_or_text: Source | str) -> list\[block.BlockElement\] | block.BlockElement; now def parse(self, text: str) -> block.Document. [pypi.org](https://pypi.org/project/marko/2.0.0/)
- **Signature changed** `marko.parser.Parser.parse_inline`  

Was def parse_inline(self, text: str) -> list\[inline.InlineElement\]; now def parse_inline(self, element: block.BlockElement, source: Source) -> None. [pypi.org](https://pypi.org/project/marko/2.0.0/)
- **Signature changed** `marko.parser.Source.root`  

Was root: BlockElement; now root: Document. [pypi.org](https://pypi.org/project/marko/2.0.0/)

And 1 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## marko 1.0.0 breaking changes

marko 1.0.0, released December 29, 2020: 14 breaking changes.

- **Removed**  

The deprecated extension object is gone; code that uses it must switch to the replacement extension API. [github.com](https://github.com/frostming/marko/blob/v1.0.0/CHANGELOG.md)
- **Removed**  

The package no longer supports Python 2.7; code running on Python 2.7 must stay on an older release or move to a supported Python. [github.com](https://github.com/frostming/marko/blob/v1.0.0/CHANGELOG.md)
- **Removed** `marko.ext.footnote.FootnoteExtension`  

marko.ext.footnote.FootnoteExtension was removed in marko 1.0.0 [pypi.org](https://pypi.org/project/marko/1.0.0/)
- **Removed** `marko.ext.gfm.GFMExtension`  

marko.ext.gfm.GFMExtension was removed in marko 1.0.0 [pypi.org](https://pypi.org/project/marko/1.0.0/)
- **Removed** `marko.ext.gfm.helpers`  

marko.ext.gfm.helpers was removed in marko 1.0.0 [pypi.org](https://pypi.org/project/marko/1.0.0/)
- **Removed** `marko.ext.pangu.PanguExtension`  

marko.ext.pangu.PanguExtension was removed in marko 1.0.0 [pypi.org](https://pypi.org/project/marko/1.0.0/)
- **Removed** `marko.ext.toc.TocExtension`  

marko.ext.toc.TocExtension was removed in marko 1.0.0 [pypi.org](https://pypi.org/project/marko/1.0.0/)
- **Removed** `marko.helpers.lru_cache`  

marko.helpers.lru_cache was removed in marko 1.0.0 [pypi.org](https://pypi.org/project/marko/1.0.0/)
- **Removed** `marko.helpers.Source.rest`  

Source.rest was removed in marko 1.0.0 [pypi.org](https://pypi.org/project/marko/1.0.0/)
- **Removed** `marko.html_renderer.html`  

marko.html_renderer.html was removed in marko 1.0.0 [pypi.org](https://pypi.org/project/marko/1.0.0/)

And 4 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## marko 0.10.0 breaking changes

marko 0.10.0, released November 23, 2020: 1 breaking change.

- **Behavior changed**  

The package no longer supports Python 3.5. Users on Python 3.5 must stay on an earlier release or upgrade their Python. [github.com](https://github.com/frostming/marko/blob/v0.10.0/CHANGELOG.md)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
