Ultra Markdown ⚡
Ultra Markdown, an ultra fast (high performance) Markdown parser compliant with the markdown spec written in pure C with bindings for Python 3.8+. 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/
Features 🚀
- 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.
Installation ✔
Install with pip:
$ python -m pip install umarkdown
$ python -m pip install umarkdown[cli]
Usage 🚀
Can be used as a drop in replacement for most Markdown parsers.
>>> from umarkdown import markdown
>>> print(markdown("# Hello World!"))
<h1>Hello World!</h1>
Benchmarks