unstale

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 init

@unstale/cli 0.2.2 on npm

pymdown-extensions 128 changes

New APIs and options 5

  • Adds a punctuation option to disable CommonMark punctuation rules in BetterEm.

    12.3release notes

  • Highlight accepts a simple string or a dictionary with a title and title mode; html treats the title as HTML, while text is the default.

    12.2release notes

  • A new rule forces CommonMark punctuation rules.

    12.2release notes

  • SuperFences adds title_mode for Pygments fenced blocks, allowing a title to be treated as HTML.

    12.2release notes

  • Custom fences can specify an optional reset function.

    12.1release notes

Performance 1

  • Performance is improved for long invalid Tilde and Caret delimiters.

    12.1release notes

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.

    12.2release notes

Fixes and other changes 1

pymdown-extensions 111 changes

Security 1

  • pymdown-extensions: exponential-backtracking ReDoS in caret, tilde, betterem, and magiclink inline processors

    11.0.1security advisory

pymdown-extensions 101 changes

Security 1

  • Regression in pymdownx.snippets reintroduces sibling-prefix path traversal bypass despite restrict_base_path

    10.21.3security advisory