tutorials icon indicating copy to clipboard operation
tutorials copied to clipboard

lint: normalize text block in text cells

Open Borda opened this issue 4 years ago • 0 comments

🚀 Feature

Parse the markdown cells in a script and normalize them to give line length

Motivation

reduce manual formating and keep the text homogenous

Pitch

would be nice to have it as CI/precommit

Alternatives

check this pre-commit hook https://github.com/markdownlint/markdownlint see: https://www.geeksforgeeks.org/textwrap-text-wrapping-filling-python/ use: https://mdformat.readthedocs.io/en/stable/users/installation_and_usage.html

Additional context

need to recognise and eventually skip some equations which shall be kept compact

Borda avatar Jul 27 '21 08:07 Borda