An mdformat plugin for mkdocs and Material for MkDocs
Actively maintained. Last release 4 months ago, commits in 10 of the last 26 weeks. A safe choice.
pip install mdformat-mkdocsmdformat-mkdocs
An mdformat plugin for mkdocs and packages commonly used with MkDocs (mkdocs-material, mkdocstrings, and python-markdown)
In addition, mdformat-mkdocs will intentionally provide support for Zensical, which is working towards feature parity with mkdocs (as of mid-2026) and may add features ahead of mkdocs.
Supports:
- Indents are converted to four-spaces instead of two
- Note: when specifying
--align-semantic-breaks-in-lists, the nested indent for ordered lists is three, but is otherwise a multiple of four
- Note: when specifying
- Unordered list bullets are converted to dashes (
-) instead of* - By default, ordered lists are standardized on a single digit (
1.or0.) unless--numberis specified, thenmdformat-mkdocswill apply consecutive numbering to ordered lists for consistency withmdformat - MkDocs-Material Admonitions*
- *Note:
mdformat-admonwill format the same admonitions, but for consistency with the mkdocs styleguide, an extra space will be added by this package (#22)
- *Note:
- MkDocs-Material Content Tabs*