tidy-markdown
tidy-markdown copied to clipboard
Beautify Markdown, fixing formatting mistakes and standardizing syntax
before:  after:  btw: need to use the "[Inziu Iosevka sc](https://be5invis.github.io/Iosevka/inziu.html)" font.
closes #11 Switching to a [common-markdown](http://commonmark.org/) compliant parser, since marked [doesn't really follow any standard](https://github.com/chjj/marked/issues/563). This does have the issue of not showing users what the markdown they wrote will...
I've got a nested list that looks something like ``` markdown - foo - bar - baz - fizz - buzz - qux ``` This gets formatted into a list...
for example ``` - A - B ``` will automatically be formatted to ``` -A -B ```
Not sure if there should be an option for this or if it should be automatic. We currently leave empty tags alone, in case the user is (for example) in...
For paragraphs, limit their line lengths to some configurable value e.g. 80 or -1 to make it infinite. Only applies to paragraph blocks.
For people wanting to use custom compilers or just need html-to-markdown conversion. Thanks to #26, this should be easy. Something like `--input=html` would make sense (and just have the default...
for example, `\<` should be untouched by tidy-markdown, but right now it's converted to `\
For compatibility with [remark-lint](https://github.com/wooorm/remark-lint) (formerly mdast-lint), keep the leading and trailing (first/last) table pipes by default. Optionally, expose a function parameter to control the behavior.
would be cool to have a site where users could drop in markdown, hit a button and get the output of their now tidy markdown