Like gofmt
, but for Markdown.
go get -u github.com/shurcooL/markdownfmt
Add $GOPATH/bin
to your $PATH
or copy $GOPATH/bin/markdownfmt
to your $PATH
.
usage: markdownfmt [flags] [path ...]
-d=false: display diffs instead of rewriting files
-l=false: list files whose formatting differs from markdownfmt's
-w=false: write result to (source) file instead of stdout
- markdown-format for Atom.
- Built-in in Conception.
- Add a plugin for your favorite editor here?