Tree @master (Download .tar.gz)
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.)
Commit History
@master
git clone https://git.catseye.tc/Cleandown/
- Identify version as 0.1 and ensure files conform to REUSE 3.2. Chris Pressey 3 days ago
- Don't add an extra newline after an HTML comment block. Chris Pressey 3 days ago
- Clean output to stdout by default. Add `-e` for output filenames. Chris Pressey 3 days ago
- Render thematic breaks as `- - - -`. Chris Pressey 3 days ago
- Update README. Chris Pressey 3 days ago
- Establish, and document, how exactly we are opinionated, here. Chris Pressey 3 days ago
- Differentiate the ways to emphasize text, enabling round-tripping. Chris Pressey 3 days ago
- Fix line break bug in catseye-forks/marko and use it here. Chris Pressey 8 days ago
- Remove local changes no longer needed with LinkRefDefs storage. Chris Pressey 8 days ago
- Import linkrefdefs changes from catseye-forks/marko. Chris Pressey 8 days ago