Comparison
commonmark vs comrak vs markdown-it-pyrs vs markdown2
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Python parser for the CommonMark Markdown spec
Archived. The repository is read-only: no more fixes or releases will come.
pip install commonmarkPython bindings for the Comrak Rust library, a fast CommonMark/GFM parser
Maintained. Last release 4 months ago, commits in 5 of the last 26 weeks. Weaker on commit activity and contributor spread.
pip install comrakA Python interface for markdown-it.rs, using Rust for blazingly fast Markdown parsing ⚡️
Low maintenance activity. Last release over 2 years ago, commits in 0 of the last 26 weeks. Weaker on commit activity and recent releases.
pip install markdown-it-pyrsA fast and complete Python implementation of Markdown
Maintained. Last release 9 months ago, commits in 20 of the last 26 weeks. Weaker on release cadence.
pip install markdown2In short
- commonmark is archived: avoid it for new projects.
- markdown2 is the most used: 8.3M downloads a month, 2.8× more than commonmark.
- Maintenance is comparable: markdown2 67, comrak 67, markdown-it-pyrs 18 on Pythie’s Index.
- comrak is the newcomer: first released Feb 2025.
- Safe default for a new project: markdown2.
Side by side
| Metric | commonmark | comrak | markdown-it-pyrs | markdown2 |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 7 | 67 |