Skip to content

adamb70/mdx-breakless-lists

Repository files navigation

Build Status

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'])

About

Python markdown breakless lists extension

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages