Comparison
blacken-docs vs mdformat-black
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Run Black on Python code blocks in documentation files.
Maintained. Last release 15 months ago, commits in 10 of the last 26 weeks. Weaker on recent releases and release cadence.
$
pip install blacken-docsMdformat plugin to Blacken Python code blocks
Likely abandoned. No release or commit for years (last release over 6 years ago).
$
pip install mdformat-blackIn short
- mdformat-black looks abandoned: avoid it for new projects.
- blacken-docs is the most used: 123.5K downloads a month, 1.9× more than mdformat-black.
- blacken-docs also has the best Pythie’s Index (47).
Side by side
| Metric | blacken-docs | mdformat-black |
|---|---|---|
| Pythie’s Index | Pythie’s Index: 47 | 16 |