Python Markdown package extension to allow lists without a preceding empty line.
Project description
Breakless Lists Markdown Extension
Use lists without requiring a line break above them, as in GitHub flavoured markdown.
This markdown:
This text comes before the list - list item 1 - list item 2
renders as this HTML:
<p>This text comes before the list</p> <ul> <li>list item 1</li> <li>list item 2</li> </ul>
Installation
pip install mdx-breakless-lists
Usage
from markdown import markdown
html = markdown(text, extensions=['mdx_breakless_lists'])
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file mdx_breakless_lists-1.0.1.tar.gz
.
File metadata
- Download URL: mdx_breakless_lists-1.0.1.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2ec7978048673ad7cb8042b5787420a9d252053908dcb3418708cf2f91a6a538 |
|
MD5 | 5be296ff3a0e1b220a7dca2949f4b9a1 |
|
BLAKE2b-256 | 8787e8097f9a40ba0ccc38dc3e2914aac06ef74e8c5e4cefb8fd0d60457f63f2 |
File details
Details for the file mdx_breakless_lists-1.0.1-py3-none-any.whl
.
File metadata
- Download URL: mdx_breakless_lists-1.0.1-py3-none-any.whl
- Upload date:
- Size: 4.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d49209a42561142b1dacea6821a3899a8ccd17a45da5e7e04294aa23d98d76c8 |
|
MD5 | 813597db97a18e6105a31be1a7dc81a3 |
|
BLAKE2b-256 | ced7b466203159c3eb4ddccb251826537065ae9344176e2049fb483a0eb41e68 |