FindSoftware

markdown-it-py

Python port of the markdown-it Markdown parser, which follows the CommonMark spec and supports syntax plugins.

markdown-it-py parses Markdown into a stream of tokens and renders the tokens to HTML. It follows the CommonMark spec for the base syntax, and its rules can be extended or replaced in code. Syntax beyond CommonMark comes from plugins that are added to a parser object with use, and a plugin such as the table syntax is switched on with enable.

It is a Python port of markdown-it, the JavaScript parser, and changes as little of the JavaScript code structure as possible. The package also installs a command-line tool, markdown-it, which reads files or standard input and writes HTML to standard output.

Worth knowing

Tables are off by default, as in CommonMark, so a document that uses table syntax needs the table option or the command-line flag to render it as a table.

Identity

Status
Active
Maintainer
ExecutableBookProject4
Maintained by
Community4
First release
20207

Rendering and deploy

Install with
pip, conda3

Releases

Current major version
46
Last release
2026-11-106

Adoption

GitHub stars
1,3972
Contributors
558
Dependent repositories
11,9359
Dependent packages
5089

Why these figures do not compare

Sources

  1. 2026-11-16: links
    markdown-it-py.readthedocs.io/en/latest/
  2. 2026-11-16: links, Written in, License model, GitHub stars
    github.com/executablebooks/markdown-it-py
  3. 2026-11-16: links, Categories, Runtime, Install with
    github.com/executablebooks/markdown-it-py/blob/master/README.md
  4. 2026-11-16: Maintainer, Maintained by, License
    github.com/executablebooks/markdown-it-py/blob/v4.3.0/LICENSE
  5. 2026-11-16: Minimum runtime
    github.com/executablebooks/markdown-it-py/blob/v4.3.0/pyproject.toml
  6. 2026-11-16: Current major version, Last release
    github.com/executablebooks/markdown-it-py/releases/tag/v4.3.0
  7. 2026-11-16: First release
    github.com/executablebooks/markdown-it-py/releases/tag/v0.1.1d
  8. 2026-11-16: Contributors
    api.github.com/repos/executablebooks/markdown-it-py/contributors?per_page=1
  9. 2026-11-16: Dependent packages, Dependent repositories
    packages.ecosyste.ms/api/v1/registries/pypi.org/packages/markdown-it-py

Last reviewed · Listed since Edit on GitHubThis page as markdownas JSON