Mdformat plugin for MyST compatibility
Mdformat is a formatter for CommonMark compliant Markdown.
Mdformat-myst is an mdformat plugin that changes the target specification to MyST, making the tool able to format the following syntax extensions:
- tables
- directives
- roles
- inline and block "dollar math"
- comments
- block breaks
- targets
- front matter
- footnotes
pip install mdformat-myst
mdformat <filename>