Breakless Lists Markdown Extension
October 8, 2020 ยท View on GitHub
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
Install from PyPI:
pip install mdx-breakless-lists
Usage
from markdown import markdown
html = markdown(text, extensions=['mdx_breakless_lists'])