8000 GitHub - kele/markdownfmt: See https://github.com/shurcooL/markdownfmt/issues/39.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

kele/markdownfmt

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

96 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

markdownfmt

Build Status GoDoc

Like gofmt, but for Markdown.

Markdown Format Demo

Note that markdownfmt works with pure Markdown files. If you want to use it with Markdown files that have front matter, consider one of alternatives that supports that.

Installation

go get -u github.com/jsternberg/markdownfmt

Add $GOPATH/bin to your $PATH or copy $GOPATH/bin/markdownfmt to your $PATH.

Usage

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

Editor Plugins

Alternatives

  • mdfmt - Fork of markdownfmt that adds front matter support.
  • tidy-markdown - Project with similar goals, but written in JS and based on a slightly different styleguide.

License

This is a fork of the original markdownfmt by Dmitri Shuralyov except that it is updated to work with the blackfriday v2 library.

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%
0