mistletoe is a Markdown parser in pure Python, designed to be fast, spec-compliant and fully customizable. Apart from being the fastest CommonMark-compliant Markdown parser implementation in pure Python, mistletoe also supports easy definitions of custom tokens. Parsing Markdown into an abstract syntax tree also allows us to swap out renderers for different output formats, without touching any of the core components.

Features

  • mistletoe is the fastest implementation of CommonMark in Python
  • Documentation available
  • Examples available
  • Spec-compliant
  • Strikethrough and tables are supported natively, and custom block-level and span-level tokens can easily be added
  • Writing a new renderer for mistletoe is a relatively trivial task
  • CommonMark is a useful, high-quality project
  • mistletoe follows the CommonMark specification to resolve ambiguities during parsing
  • Outputs are predictable and well-defined

Project Samples

Project Activity

See All Activity >

Categories

TeX/LaTeX

License

MIT License

Follow mistletoe

mistletoe Web Site

Other Useful Business Software
Forever Free Full-Stack Observability | Grafana Cloud Icon
Forever Free Full-Stack Observability | Grafana Cloud

Our generous forever free tier includes the full platform, including the AI Assistant, for 3 users with 10k metrics, 50GB logs, and 50GB traces.

Built on open standards like Prometheus and OpenTelemetry, Grafana Cloud includes Kubernetes Monitoring, Application Observability, Incident Response, plus the AI-powered Grafana Assistant. Get started with our generous free tier today.
Create free account
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of mistletoe!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

Python

Related Categories

Python TeX LaTeX

Registered

2024-05-09