Comparison
commonmark vs comrak vs gh-md-to-html vs Markdown
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 4 of the last 26 weeks. Weaker on commit activity and contributor spread.
pip install comrakFeature-rich Github-flavored Markdown to html python and command line interface.
Slowing down. Last release over 2 years ago, little activity since. Fine for existing code; think twice for a new project.
pip install gh-md-to-htmlPython implementation of John Gruber's Markdown.
Actively maintained. Last release 6 days ago, commits in 20 of the last 26 weeks. A safe choice.
pip install markdownIn short
- commonmark is archived: avoid it for new projects.
- gh-md-to-html is slowing down (last release over 2 years ago): fine for existing code, risky for a new project.
- Markdown is the most used: 123.5M downloads a month, 42× more than commonmark.
- Markdown also has the best Pythie’s Index (93).
- comrak is the newcomer: first released Feb 2025.
- Safe default for a new project: Markdown.
Side by side
| Metric | commonmark | comrak | gh-md-to-html | Markdown |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 7 | 65 |