Skip to main content

No project description provided

Project description

prependnewline

This extension is a third party extension for python markdown. This was developed after an experience with python markdown where some lists are ignored if an empty line or paragraph isn't inserted before the list.

The extension prepends a new line to a list if marked as a paragraph by the markdown.

See the python markdown documentation for more information. Use it in any personal or commercial project you want.

Current Version: 1.2

Example Markdown:

This is a paragraph
* Run through albums.

Output:

This is a paragraph

  • Run through albums.

Usage / Setup:

pip install prependnewline

md = markdown.Markdown(extensions=['prependnewline'])

converted_text = md.convert(text)

Project details


Release history Release notifications | RSS feed

This version

1.2

Download files

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

Source Distribution

prependnewline-1.2.tar.gz (2.0 kB view details)

Uploaded Source

File details

Details for the file prependnewline-1.2.tar.gz.

File metadata

  • Download URL: prependnewline-1.2.tar.gz
  • Upload date:
  • Size: 2.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.12.5 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.37.0 CPython/3.5.5

File hashes

Hashes for prependnewline-1.2.tar.gz
Algorithm Hash digest
SHA256 7631f3eab0198033635fb975c74cae01433e43f7194dfbb5820c221ef2654bcd
MD5 b8b8a5b62023283c2198f1a8230f1e9b
BLAKE2b-256 674aa1759e4585032a7d8f16b873f22650ebaa5bd8bd7a1d5e5cdf53f9daad72

See more details on using hashes here.

Supported by

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