pypi / pymdown-extensions
pymdown-extensions
What changed in pymdown-extensions 10 to 12, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-21.
2 security5 new APIs and options1 performance1 behavior and defaults1 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initpymdown-extensions 128 changes
New APIs and options 5
Adds a punctuation option to disable CommonMark punctuation rules in BetterEm.
Highlight accepts a simple string or a dictionary with a title and title mode;
htmltreats the title as HTML, whiletextis the default.A new rule forces CommonMark punctuation rules.
SuperFences adds
title_modefor Pygments fenced blocks, allowing a title to be treated as HTML.Custom fences can specify an optional reset function.
Performance 1
Performance is improved for long invalid Tilde and Caret delimiters.
Behavior and default changes 1
Tilde and Caret disable CommonMark punctuation rules by default for backwards compatibility; the rules are honored again when subscript or superscript is disabled.
Fixes and other changes 1
Official support is added for Python 3.15.
pymdown-extensions 111 changes
Security 1
pymdown-extensions: exponential-backtracking ReDoS in caret, tilde, betterem, and magiclink inline processors
pymdown-extensions 101 changes
Security 1
Regression in pymdownx.snippets reintroduces sibling-prefix path traversal bypass despite restrict_base_path