Skip to main content

Text wrap Markdown Documents

Project description

Text wrap markdown documents.

install

pip install markdown-textwrap

usage

# 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

caveats

  • Sentences will always be separated by a single space.

  • Markdown documents with tables / task lists are not supported.

source

git clone git://git.ricketyspace.net/markdown-textwrap.git

license

Under GNU General Public License version 3 or later.

help / bugs

rsiddharth <s@ricketyspace.net>

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

markdown-textwrap-0.2.1.tar.gz (5.6 kB view hashes)

Uploaded Source

Built Distribution

markdown_textwrap-0.2.1-py3-none-any.whl (8.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page