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
File details
Details for the file markdown_lineblocks-1.0.0.tar.gz
.
File metadata
- Download URL: markdown_lineblocks-1.0.0.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.25.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f42aa78d061f6b219fb55992a696a5904fc8e1dce13b19c3e702b7ff929cf665 |
|
MD5 | 69f4391ca1d66cc379387359766e4d9e |
|
BLAKE2b-256 | b02fcf1640d0e160db327e88b0592a5cb1af9cba23ecb87d636f4d34f85abafc |
File details
Details for the file markdown_lineblocks-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: markdown_lineblocks-1.0.0-py3-none-any.whl
- Upload date:
- Size: 4.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.25.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 172964d18a8f8ab85b400fa251d376f6e4f5e003de2883ccb8d128f6acd12561 |
|
MD5 | 71aaeab352247bf9354c5aa101e9bdaa |
|
BLAKE2b-256 | 47bb827fe1c78a1a7b7312e5b124a7eb99ca933388fde68a3f8154faa50bc281 |