Ultra Markdown, an ultra fast (high performance) Markdown parser compliant with the markdown spec written in pure C with bindings for Python 3.9+. Unlike others, Ultra Markdown is written using Python's C API and uses CMark, an ultra fast Markdown parser written in C.
Source : https://github.com/kumaraditya303/umarkdown
Docs : https://umarkdown.netlify.app/
- Fast - Very high performance, One of the fastest Markdown Parser available for Python.
- Intuitive - Great IDE support as it ships with stubs out of the box.
- Standards - Based on CMark C library which is fully compliant with the markdown spec.
- Command Line Interface - Ships with a Cli based on click for Cli usage.
- Support - Fully supported on Windows, Linux, MacOS.
Install with pip:
$ python -m pip install umarkdown
# Or Install with cli
$ python -m pip install umarkdown[cli]
Can be used as a drop in replacement for most Markdown parsers.
>>> from umarkdown import markdown
>>> print(markdown("# Hello World!"))
<h1>Hello World!</h1>
- Higher score is better.