A Python-Markdown extension to render line blocks
Project description
Markdown line block extension
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.
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 markdown_lineblocks-1.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f42aa78d061f6b219fb55992a696a5904fc8e1dce13b19c3e702b7ff929cf665 |
|
MD5 | 69f4391ca1d66cc379387359766e4d9e |
|
BLAKE2b-256 | b02fcf1640d0e160db327e88b0592a5cb1af9cba23ecb87d636f4d34f85abafc |
Close
Hashes for markdown_lineblocks-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 172964d18a8f8ab85b400fa251d376f6e4f5e003de2883ccb8d128f6acd12561 |
|
MD5 | 71aaeab352247bf9354c5aa101e9bdaa |
|
BLAKE2b-256 | 47bb827fe1c78a1a7b7312e5b124a7eb99ca933388fde68a3f8154faa50bc281 |