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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file markdown-textwrap-0.2.1.tar.gz.

File metadata

File hashes

Hashes for markdown-textwrap-0.2.1.tar.gz
Algorithm Hash digest
SHA256 cfdbb1bacd7268e9cbe330af4e7ddd616bfbe233815e6095a3c7c1e655a90947
MD5 5ddc1da9d96853b26bc685e7fd7570da
BLAKE2b-256 8fe6a5d29cb6ca8c395f2ccbdafc2ec9e097803a5155bbf02eb77c30fc40268b

See more details on using hashes here.

File details

Details for the file markdown_textwrap-0.2.1-py3-none-any.whl.

File metadata

File hashes

Hashes for markdown_textwrap-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ba04062cbb90a3f195481f299eb6d78fa3796381fb405d344a9d02ccf3c8d2fd
MD5 d7da3fbda068c43a212ffbb9fe556744
BLAKE2b-256 9fdbf0822bf142bf96f997ba5ae99ce79de43ec2e500d078f6f54763d0c608b6

See more details on using hashes here.

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