From cceb513122d0342bda9c4ab1e052c24030d7d413 Mon Sep 17 00:00:00 2001 From: Leonardo Salas Date: Wed, 9 Sep 2026 19:28:25 -0600 Subject: [PATCH] fix: require the mistune release that parses nested emphasis `**bold and *italic***` parses as literal text on mistune 3.0 through 3.2, and as nested tokens from 3.3 on. The floor allowed both, so the same document could come out with visible asterisks or with real emphasis depending on which release the resolver happened to pick, and the suite passed or failed to match. 3.3.0 is from June and still supports every Python version this project does, so there is no reason to keep accepting the older behavior. --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index f444aeb..de707aa 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -30,7 +30,7 @@ keywords = ["documentation", "markdown", "pdf", "typst", "cli", "zero-config"] dependencies = [ "click>=8.0", "rich>=13.0", - "mistune>=3.0", + "mistune>=3.3", "typst>=0.11", "mermaidx>=0.9.5", "pillow>=10.0",