Fast and very customizable markdown parser in pure Python.
- 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.
Installing mpiece with pip:
$ pip install mpiece
from mpiece import markdown
md_text = "**Hello world!!!**"
result = markdown(md_text)
print(result)
# output: <p><strong>Hello world!!!</strong></p>