mdfmt

command module
v0.0.0-...-29e3d55 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 28, 2018 License: MIT Imports: 12 Imported by: 0

README

mdfmt

Like gofmt, but for Markdown with front matter.

mdfmt is a fork of markdownfmt that simply adds support for TOML, YAML, and JSON front matter.

Usage

usage: mdfmt [flags] [path ...]
  -d    display diffs instead of rewriting files
  -l    list files whose formatting differs from mdfmt's
  -w    write result to (source) file instead of stdout

Acknowledgements

License

Released under the MIT License. See LICENSE file for details.

Documentation

Overview

mdfmt formats Markdown content containing frontmatter.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL