mdformat-shfmt
Mdformat plugin to format shell code blocks
Description
mdformat-shfmt is an mdformat plugin that makes mdformat format shell code blocks embedded in Markdown with shfmt. The plugin invokes shfmt in a subprocess so having either shfmt or Docker installed is a requirement.
Installing
Usage
mdformat YOUR_MARKDOWN_FILE.md
Limitations
Formatting with Docker is not tested on Windows. If you experience issues on Windows, install shfmt.