mistune 3.4.0


pip install mistune

  Latest version

Released: Oct 19, 2026


Meta
Author: Hsiaoming Yang
Requires Python: >=3.10

Classifiers

Development Status
  • 4 - Beta

Environment
  • Console
  • Web Environment

Intended Audience
  • Developers

License
  • OSI Approved :: BSD License

Operating System
  • OS Independent

Programming Language
  • Python
  • Python :: 3
  • Python :: 3 :: Only
  • Python :: 3.10
  • Python :: 3.11
  • Python :: 3.12
  • Python :: 3.13
  • Python :: 3.14
  • Python :: 3.15
  • Python :: Implementation :: CPython
  • Python :: Implementation :: PyPy

Topic
  • Text Processing :: Markup

A fast yet powerful Python Markdown parser with renderers and plugins.

Overview

Convert Markdown to HTML with ease:

import mistune

markdown = mistune.create_markdown()
markdown(your_markdown_text)

create_markdown() escapes raw HTML by default. The legacy mistune.html(trusted_markdown_text) helper enables raw HTML and several plugins; use it only for trusted input or sanitize its output externally.

License

Mistune is licensed under BSD. Please see LICENSE for licensing details.

Wheel compatibility matrix

Platform Python 3
any

Files in release

Extras: None
Dependencies:
typing-extensions