md-fmt

A markdown formatter.

Usage

usage: md-fmt [OPTION]... [--] [FILE]...

Formats files in place. Reads stdin and writes stdout when no FILE
is given.

Options:
  --check      report files whose formatting would change instead of
               rewriting them, and exit nonzero if there are any
  --wrap MODE  keep paragraph line breaks as written (keep, the
               default), join each paragraph onto one line (no), or
               reflow paragraphs to a column width (a number)
  --ordered STYLE
               number ordered list items counting up from the first
               item's number (increment, the default) or with "1"
               for every item after the first (one)
  -h, --help   print this help and exit
  -v, --version
               print the version and exit

Building

cargo build --release

The binary lands at target/release/md-fmt. Install it with cargo install --path . if you want it on your PATH.

License

Apache-2.0, see LICENSE for more information.

S
Description
No description provided
Readme Apache-2.0
508 KiB
Languages
Rust 100%