Mistune
A fast, extensible Markdown parser for Python
Mistune turns Markdown into HTML or structured tokens. It combines a small parser with configurable renderers and plugins, without external dependencies.
Built-in extensions support tables, footnotes, and other Markdown features. Custom renderers and plugins let applications adapt the output and syntax.