Mdformat plugin for GitHub Flavored Markdown compatibility
Mdformat is a formatter for CommonMark compliant Markdown.
Mdformat-gfm is an mdformat plugin that changes the target specification to GitHub Flavored Markdown (GFM), making the tool able to format the following syntax extensions:
- tables
- task list items
- strikethroughs
- autolinks
- disallowed raw HTML (note that no changes are required from a formatter to support this extension)
pipx install mdformat
pipx inject mdformat mdformat-gfm
mdformat <filename>