markdownfmt
markdownfmt copied to clipboard
Like gofmt, but for Markdown.
markdownfmt makes annoying and completely unnecessary changes. - ATX-style headers are converted to Setext-style headers. - [grid_tables](https://pandoc.org/MANUAL.html#extension-grid_tables) supported by Pandoc’s Markdown are destroyed in that the required line breaks at...
With: go1.10 linux/amd64 Hello, I try to build and test your project and it fails with : > Testing: "/builddir/build/BUILD/markdownfmt-10aae0a270abfb5d929ae6ca59c4b0ac0fa8f237/_build/src/github.com/shurcooL/markdownfmt/markdown" > + GOPATH=/builddir/build/BUILD/markdownfmt-10aae0a270abfb5d929ae6ca59c4b0ac0fa8f237/_build:/usr/share/gocode > + go test -buildmode pie -compiler...
I ran this on some project READMEs, and one interesting case is what it does to the badges. When writing these out by hand, it's easy to put them on...
I wanted to carry on from issue #26 (now closed). **markdownfmt** converts reference-styled links into normal inline links. Eg: ```markdown [link text][link id] [link id]: http://www.somelink.com "my ref-link title ```...
John Gruber's original Markdown has often been used with a long-standing hack called [SmartyPants](http://daringfireball.net/projects/smartypants/) to improve typographic consistency on quotes, dashes, and ellipses. Python's [Markdown package](https://github.com/waylan/Python-Markdown) also implements it [here](https://github.com/waylan/Python-Markdown/blob/master/markdown/extensions/smarty.py)....
This is another issue that may be more of a topic for discussion than a bug. It involves some unanticipated consequences to how tables are formatted. When large tables are...