{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/6"},{"label":"Markdown","url":"https://skillfed.io/packages/category/text-processing-markup-markdown"}],"enrichment":{"capability":"mistletoe is a pure-Python Markdown parser that converts Markdown documents into an abstract syntax tree, then renders them to HTML, LaTeX, Markdown, or custom formats via pluggable renderers.","skillfed_tags":["markdown-parser","ast-rendering","commonmark"],"use_cases":["Convert Markdown files to HTML or LaTeX for documentation generation or publishing workflows.","Parse Markdown into an AST to programmatically inspect or transform document structure.","Reflow Markdown text to a specific line length or apply automated edits to Markdown documents.","Build custom renderers for domain-specific output formats by extending the parser's token system.","Use the command-line tool to batch-convert Markdown files without writing Python code."],"what_it_does":"mistletoe parses Markdown into an abstract syntax tree (AST) and renders it to multiple output formats. It implements the CommonMark specification for predictable, spec-compliant parsing, and supports native extensions like strikethrough and tables. The design separates parsing from rendering, so you can swap renderers without modifying core logic.\n\nThe package ships with built-in renderers for HTML, LaTeX, AST (for debugging), and Markdown (for reflowing or automated edits). Additional renderers for MathJax, Pygments highlighting, GitHub wiki links, Jira, XWiki, and Scheme are available in a contrib package. It works as both a Python library and a command-line tool, and includes an interactive REPL mode for testing.","worth_installing":"Yes. mistletoe is actively maintained, has no dependencies, installs with low friction, carries no known vulnerabilities, and offers a clean API for both library and CLI use. Install it if you need CommonMark-compliant Markdown parsing with extensible rendering or if you want to programmatically manipulate Markdown documents."},"id":"mistletoe","links":{"html":"https://skillfed.io/packages/mistletoe","md":"https://skillfed.io/packages/mistletoe.md","pypi":"https://pypi.org/project/mistletoe/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-07-11","license_spdx":null,"license_treatment":"permissive","name":"mistletoe","python_support":"supports_current","summary":"A fast, extensible Markdown parser in pure Python."},"popularity":{"monthly_downloads":2251437,"position":3188,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"1.6.0"}
