Tree @master (Download .tar.gz)
README.md @master — view markup · raw · history · blame
Cleandown
Cleandown is an opinionated pretty-printer for Markdown documents.
It is based on Cat's Eye Technologies' fork of Marko, a Markdown parsing library for Python 3.
TODO
- Extra blank lines after list items are sometimes nice for spacing - retain them if possible
- Link targets containing spaces and parens are treated oddly.
- When rewriting a non-reference link whose target is included as a reference, (possibly) don't replace with a reference link. (Or at least retain the case of the reference.)