Comparison
cmarkgfm vs gh-md-to-html vs markdown2 vs mistune
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Minimal bindings to GitHub's fork of cmark
Low maintenance activity. Last release 13 months ago, commits in 0 of the last 26 weeks. Weaker on commit activity and recent releases.
pip install cmarkgfmFeature-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-htmlA fast and complete Python implementation of Markdown
Actively maintained. Last release 1 day ago, commits in 22 of the last 26 weeks. A safe choice.
pip install markdown2A sane and fast Markdown parser with useful plugins and renderers
Actively maintained. Last release 6 weeks ago, commits in 17 of the last 26 weeks. A safe choice.
pip install mistuneIn short
- gh-md-to-html is slowing down (last release over 2 years ago): fine for existing code, risky for a new project.
- mistune is the most used: 74.3M downloads a month, 8.9× more than markdown2.
- Maintenance is comparable: mistune 80, markdown2 79, cmarkgfm 30 on Pythie’s Index.
- cmarkgfm is growing fastest: downloads +106% over the last month.
- Safe default for a new project: mistune.
Side by side
| Metric | cmarkgfm | gh-md-to-html | markdown2 | mistune |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 30 | 16 |