Skip to content

Latest commit

 

History

History
41 lines (28 loc) · 930 Bytes

README.md

File metadata and controls

41 lines (28 loc) · 930 Bytes

Markdown line block extension

PyPI - Version PyPI - Python Version

A Python-Markdown extension to render line blocks.

Example:

| Normally these lines would
| Run together. But here
| They are separate

Installation

pip install markdown-lineblocks

Usage

import markdown
text = ...  # your Markdown source
html = markdown.markdown(text, extensions='lineblocks')

To use with MkDocs, add the following to mkdocs.yml:

markdown_extensions:
  - lineblocks

Licence

markdown-lineblocks is distributed under the terms of the MIT licence.