Text wrap markdown documents.
pip install markdown-textwrap
# Wrap markdown document to 66 characters.
$ md-tw -w 66 path/to/doc.md > path/to/doc-wrapped.md
# Wrap markdown document to 42 characters.
$ md-tw -w 42 path/to/doc.md > path/to/doc-wrapped.md
- Sentences will always be separated by a single space.
- Markdown documents with tables / task lists are not supported.
git clone git://git.ricketyspace.net/markdown-textwrap.git
Under GNU General Public License version 3 or later.
rsiddharth <[email protected]>