Skip to content

12.0

Choose a tag to compare

@facelessuser facelessuser released this 15 Sep 03:31
· 12 commits to main since this release

12.0

  • BREAK: BetterEm: Complete rewrite. There may be some subtle differences between legacy behavior and new
    CommonMark behavior.

    • * and _ emphasis are handled at the same time to provide more natural nesting.
    • More performant.
    • CommonMark compliant.
  • BREAK: Tilde, Caret, Mark: Rewritten and now built upon the latest BetterEm logic.

    • When used with BetterEm, Tilde, Caret, and Mark will be added to the same delimiter processor under the hood and
      will be parsed at the same time as emphasis, allowing for better nesting logic.
    • More performant. Performance issues reported by (@lexdotdev).
    • Tilde, Caret, Mark: Allow deletion, insertions, and marking mid-word by default. Set smart_delete,
      smart_insert, or smart_mark, respectively, to enable previous behavior, which prevented mid-word deletion.
    • Tilde, Caret: Add new option no_space to control whether the Pandoc style requirement of "no unescaped
      spaces" is enabled for subscript and superscript, respectively. no_space is enabled by default.
  • NEW: Details, Blocks.Details, Blocks.Admonitions: Allow and handle headers specially in titles.

  • NEW: Quotes: Allow and handle headers specially in callout titles.

  • NEW: BracketSpan: New extension that allows for the creation of spans using a Pandoc style bracket notation.

  • NEW: Arithmatex: Remove deprecated inline_mathjax_preview_format, inline_mathjax_format, and
    inline_generic_format. Use arithmatex_inline_format instead.

  • NEW: Arithmatex: Remove deprecated fence_mathjax_preview_format, fence_mathjax_format, and
    fence_generic_format. Use arithmatex_fenced_format instead.

  • NEW: Emoji: Remove undocumented and deprecated "old style" custom emoji index logic.

  • NEW: Slugs: Remove deprecated uslugify, uslugify_encoded, uslugify_cased, uslugify_cased_encoded, gfm,
    and gfm_encoded. Use the documented slugify method with appropriate arguments instead.