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
Close
Hashes for mdx_breakless_lists-1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 48c8f5ef1a83c04d383192d18d90fafe14f60e3497bb13eeb2ca1b7d5cb53f2b |
|
MD5 | 5898d72b60f551d574426630fa0b3cdd |
|
BLAKE2b-256 | 6dc196de7f326e1cc67e1980b54a7b97c1d1dfe4a93a157220962e9680f42d95 |