Comparison
cmarkgfm vs comrak vs gh-md-to-html vs markdown2
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 cmarkgfmPython 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-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 markdown2In short
- gh-md-to-html is slowing down (last release over 2 years ago): fine for existing code, risky for a new project.
- markdown2 is the most used: 8.4M downloads a month, 10.0× more than cmarkgfm.
- markdown2 also has the best Pythie’s Index (79).
- cmarkgfm is growing fastest: downloads +106% over the last month.
- comrak is the newcomer: first released Feb 2025.
- Safe default for a new project: markdown2.
Side by side
| Metric | cmarkgfm | comrak | gh-md-to-html | markdown2 |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 30 | 65 |