markdown-it-py
Python port of markdown-it. Markdown parsing, done right!
Decision gist · record as of 2026-08-14
Yes. markdown-it-py is production-stable (Development Status :: 5 - Production/Stable), actively maintained with no known vulnerabilities, and has low install friction. It's well-suited for any Python project needing CommonMark-compliant markdown parsing with optional extensibility. Install it if you need reliable markdown-to-HTML conversion.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later (requires_python: >=3.10).
- Low friction install with a single runtime dependency (mdurl).
- Active maintenance with a recent release 99 days ago and 1351 repository stars.
License · maintenance · safety
permissive license (permissive) — Permissive license treatment allows use in most projects without significant legal constraints.
last release 2026-05-07 (99 days) · last repo commit 2026-08-10 · 1,351 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 613,779,408 downloads/mo, #53 on PyPI
Alternatives
Verify before relying
pip install markdown-it-py
from markdown_it import MarkdownIt
md = MarkdownIt()
html = md.render("# Hello\n\nThis is **markdown**.")- Whether plugin ecosystem (front_matter, footnote, tables) is documented or discoverable within the package itself.
- Performance characteristics compared to other markdown parsers in typical use cases.
- Security configuration details and what 'easy to configure for security' entails in practice.
What it is and what it does
markdown-it-py is a Python port of the JavaScript markdown-it parser, implementing the CommonMark specification for baseline markdown parsing. It converts markdown text to HTML with configurable behavior—you can add custom syntax rules, enable or disable specific features, and extend functionality through plugins. The parser is designed to be fast and suitable for both programmatic use and command-line conversion of markdown files.
The package has a single runtime dependency (mdurl) and integrates with an ecosystem of optional plugins for extended syntax. It's actively maintained, widely used (position 53 on PyPI), and supports modern Python versions including PyPy, making it suitable for integration into documentation systems, static site generators, content management tools, and any application that needs reliable markdown-to-HTML conversion.
Use it for
- Convert markdown files to HTML in a static site generator or documentation build pipeline.
- Parse user-supplied markdown in a web application with configurable syntax rules.
- Build a command-line tool to batch-convert markdown documents to HTML output.
- Extend markdown syntax with custom rules for domain-specific markup.
- Render markdown content in a Python application with fine-grained control over output format.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
markdown-it-py is production-stable (Development Status :: 5 - Production/Stable), actively maintained with no known vulnerabilities, and has low install friction. It's well-suited for any Python project needing CommonMark-compliant markdown parsing with optional extensibility. Install it if you need reliable markdown-to-HTML conversion.
Install
markdown-it-py on PyPI
Before you install
Low friction install with a single runtime dependency (mdurl). Active maintenance with a recent release 99 days ago and 1351 repository stars. Supports current Python versions across CPython and PyPy implementations.
Requires Python 3.10 or later (requires_python: >=3.10).
License in practice
Permissive license treatment allows use in most projects without significant legal constraints.
Quickstart
pip install markdown-it-py
from markdown_it import MarkdownIt
md = MarkdownIt()
html = md.render("# Hello\n\nThis is **markdown**.")
Verify before relying
- Whether plugin ecosystem (front_matter, footnote, tables) is documented or discoverable within the package itself.
- Performance characteristics compared to other markdown parsers in typical use cases.
- Security configuration details and what 'easy to configure for security' entails in practice.
Package facts
| License | permissive license permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packagemdurl |
| Maintenance | Actively maintained 99 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 613,779,408 / month, #53 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPyTopic :: Software Development :: Libraries :: Python ModulesTopic :: Text Processing :: Markup |
Evidence: markdown_it_py-4.2.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “markdown to html parser”
- markdown-it-pyA Python markdown parser that converts markdown to HTML following the…
- pyromarkpyromark is a CommonMark-compliant Markdown parser that converts…
- mistuneMistune converts Markdown text to HTML using a fast parser with…
Give your agent the search over MCP, or paste the wish link into any chat.
More Python Modules packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.
Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…
Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.
See also commonmark · dprint-py · markdown-it-pyrs · mdit-py-plugins · mistletoe · marko · myst-parser · pyromark · mdurl · comrak