# executablebooks/markdown-it-py

Markdown parser, done right. 100% CommonMark support, extensions, syntax plugins & high speed. Now in Python!

Repository: https://github.com/executablebooks/markdown-it-py
Canonical: https://ross.abutalabs.com/products/markdown-it-py
Homepage: https://markdown-it-py.readthedocs.io
Language: Python
License: MIT
License Family: permissive
Topics: markdown, markdown-parser, markdown-it
Last push: 2026-08-24T16:42:24+00:00

## Health v2 (maintenance only)
Score: 85/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 99, release rhythm 59, longevity 100
- inputs: {"age_days": 2352, "days_push": 9, "days_rel": 118, "gap_med": 134.0, "n_releases_24m": 3}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1353, forks 119 (observed 2026-08-28T04:04:28.601173+00:00)

## What it is
markdown-it-py is a Python port of the popular markdown-it Markdown parser, offering 100% CommonMark compliance, configurable syntax rules, and a plugin system for extensions. It also ships a small command-line tool for converting Markdown files to HTML.

## Use cases
- parse markdown to html in python
- commonmark-compliant markdown parser
- convert markdown files to html from the command line
- extend markdown with custom syntax plugins
- render markdown with footnotes and tables
- sanitize markdown rendering for security

## When to choose
- you need strict CommonMark spec compliance in Python
- you want a fast, pluggable markdown parser with configurable rules
- you need markdown rendering for documentation or static site generation

## When to avoid
- you need a Rust/C-speed parser and can accept experimental bindings
- you only need a simple markdown-to-text converter without HTML output

## Facets
- artifact type: library
- maturity: stable
- function: parser, markdown, cli
- domain: parsers, web-development, documentation, developer-tools
- platform: python, cli, cross-platform
- tags: commonmark, markdown-it, syntax-plugins, html-rendering

## Member repositories
- executablebooks/markdown-it-py (main) score 85

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:28.601173+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:42:06.517949+00:00, confidence not recorded.
  - readme: https://github.com/executablebooks/markdown-it-py (fetched 2026-08-28T04:04:28.601173+00:00, sha ee37bcc73120)
  - registry_pypi: https://pypi.org/pypi/markdown-it-py/json (fetched 2026-08-29T12:01:04.678878+00:00, sha 552da89befa5)
- Data as of 2026-08-30T08:39:29.467469+00:00.
