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

Uploaded Source

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