Fast and very customizable markdown parser in pure Python.
Features
Pure Python. Tested in Python 2.7+, Python 3.3+ and PyPy.
Very fast.
Customizable. You can add new markdown grammar and modify the output.
More. Table, footnotes, fenced code.
Install
Installing mpiece with pip:
$ pip install mpiece
Basic Usage
from mpiece import markdown
md_text = "**Hello world!!!**"
result = markdown(md_text)
print(result)
# output: <p><strong>Hello world!!!</strong></p>
Documentation
Metadata
Release files for mpiece 0.2.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| mpiece-0.2.3.tar.gz | 21.8 kB | Details |
Release files / mpiece-0.2.3.tar.gz
| Download URL | mpiece-0.2.3.tar.gz |
|---|---|
| Size | 21.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
251931531a9e65755ebdfdaedda27c5fd2506eeba9e79dd8cc3078f86fe40aff
|
|
BLAKE2b-256 checksum How to use checksums |
e695783c00ea206183658d26a25cb074f469bf00bbd24f6ec5a2aeb93e7062ae
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |