{"repo":"lepture/mistune","free":true,"listed":false,"github":"https://github.com/lepture/mistune","clone":"git clone https://github.com/lepture/mistune.git","description":"A fast yet powerful Python Markdown parser with renderers and plugins.","language":"Python","stars":3065,"topics":["markdown"],"license":"BSD-3-Clause","category":"productivity","readme_excerpt":"A fast yet powerful Python Markdown parser with renderers and plugins. [!NOTE] I’ve released Wenmode, a new Markdown parser inspired by the lessons learned from Mistune. Wenmode focuses on fast CommonMark-style parsing, explicit rule composition, mdast-compatible AST output, safe HTML defaults, streaming output, and pluggable renderers. In the current benchmark suite, Wenmode’s core Markdown-to-HTML path is about 1.5-1.8x as fast as Mistune across the tested documentation corpora. See the benchmark results for the exact setup and numbers. Check benchmark results for Wenmode. Install To install mistune: Overview Convert Markdown to HTML with ease: Security Reporting If you found security bugs, please do not send a public issue or patch. You can send me email at . Attachment with patch is welcome. My PGP Key fingerprint is: Or, you can use the Tidelift security contact. Tidelift will coordinate the fix and disclosure. Benchmarks Here is the benchmark score on my computer. Check the benchmark/bench.py script. All results are in milliseconds (ms). / Parser ➡ Case ⬇ mistune (3.0.0) mistune (slow) mistune (fast) mistune (full) markdown (3.3.7) markdown2 (2.4.3) mistletoe (0.8.2) markdown it (2.1.0) -------------- --------------: -------------: -------------: -------------: ---------------: ----------------: ----------------: ------------------: atx 13.90 13.12 13.25 15.45 48.41 379.31 25.46 42.38 setext 8.43 8.98 8.12 9.53 30.75 218.91 20.47 27.01 normal ul 60.91 59.70 60.41 62.89 ","default_branch":null,"files":null,"tree":[],"storefront":"/r/lepture","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/lepture/mistune/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}