Skip to main content

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)

Metadata

Release files for prependnewline 1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for prependnewline 1.2
File Size Uploaded Provenance
prependnewline-1.2.tar.gz 2.0 kB Without provenance Details

Release files / prependnewline-1.2.tar.gz

Download URL prependnewline-1.2.tar.gz
Size 2.0 kB
Tags Source
SHA-256 checksum
How to use checksums
7631f3eab0198033635fb975c74cae01433e43f7194dfbb5820c221ef2654bcd
BLAKE2b-256 checksum
How to use checksums
674aa1759e4585032a7d8f16b873f22650ebaa5bd8bd7a1d5e5cdf53f9daad72
Upload date
Uploaded using Trusted Publishing?
What is 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

Security for prependnewline 1.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

1.2 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page