miyuchina/mistletoe
A fast, extensible and spec-compliant Markdown parser in pure Python. observed · 2026-08-28
Health v2 · maintenance only
85/100
- Activity 92
- Release rhythm 68
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: 132.0
- age_days: 3342
- days_rel: 53
- days_push: 53
- n_releases_24m: 3
Adoption not part of the score
1060 stars · 138 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
mistletoe is a fast, spec-compliant Markdown parser written in pure Python that produces an abstract syntax tree. It supports pluggable renderers for output formats like HTML, LaTeX, and Markdown itself, and allows custom block- and span-level tokens.
Use cases
- convert markdown files to html in python
- parse markdown into an ast
- render markdown to latex
- write a custom markdown extension or token
- reflow or programmatically modify markdown documents
- fastest commonmark parser for python
When to choose
- you need a CommonMark-compliant Markdown parser in pure Python
- you need custom Markdown syntax extensions or custom output renderers
- parsing performance in Python matters
When to avoid
- you need a Markdown editor or GUI application
- you work outside the Python ecosystem
- you need a fully maintained spec other than CommonMark
Facets
library · maturity stable
parser markdown serialization parsers web-development documentation developer-tools python cross-platform commonmark markdown-to-html markdown-to-latex ast extensible-renderers
2 sources
- readme: https://github.com/miyuchina/mistletoe · fetched 2026-08-28 · 42d6cd9f186b
- registry_pypi: https://pypi.org/pypi/mistletoe/json · fetched 2026-08-29 · 267b976b4181
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| miyuchina/mistletoe | main | 85 |
For agents
markdown · JSON · MCP: product_card(name="miyuchina/mistletoe")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem