Mdformat plugin to format shell code blocks
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
mdformat-shfmt-0.1.0.tar.gz
(3.2 kB
view hashes)
Built Distribution
Close
Hashes for mdformat_shfmt-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e683d02706b8fdb6666042297a6df32ab24a6265818720a1c26c416d32dc5f1d |
|
MD5 | 1939006d7382fb876b05fb62ef589cbc |
|
BLAKE2b-256 | 152d6620da584d6b12e760fdb7a8e511ac3506cddbab3fb0066897886a04eee2 |