Skip to content

Releases: facelessuser/pymdown-extensions

12.0.1

Choose a tag to compare

@facelessuser facelessuser released this 15 Sep 23:19

12.0.1

  • FIX: BetterEm: fix a case with new logic.

12.0

Choose a tag to compare

@facelessuser facelessuser released this 15 Sep 03:31

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.

11.0.2

Choose a tag to compare

@facelessuser facelessuser released this 22 Aug 19:28

11.0.2

  • FIX: InlineHilite: Improve performance of inline code matching.
  • FIX: Keys: Fix regex pattern inefficiencies.
  • FIX: Blocks.HTML: Fix backtracking in HTML extension.

11.0.1

Choose a tag to compare

@facelessuser facelessuser released this 02 Jul 17:58
c684985

11.0.1

  • FIX: BetterEm: Fix regex pattern inefficiencies.
  • FIX: Tilde: Fix regex pattern inefficiencies.
  • FIX: Caret: Fix regex pattern inefficiencies.
  • FIX: MagicLink: Fix regex pattern inefficiencies.

11.0

Choose a tag to compare

@facelessuser facelessuser released this 23 Jun 02:27

11.0

  • BREAK: B64: Restricts relative links to base_path by default. Can be disabled by setting new restrict_path
    option to False. The new root_path can be specified if paths are desired to be restricted to a different
    location separate base_path which is also used as a relative base for image paths.
  • NEW: Drop Python 3.9 support.
  • FIX: Tabbed: Fix issue where an empty title would cause an exception.

10.21.3

Choose a tag to compare

@facelessuser facelessuser released this 13 May 12:55

10.21.3

  • FIX: Fix regression that allows a snippet to be loaded outside of the base path using directory traversal when
    restrict_base_path is enabled (the default). Found by @gistrec.

10.21. 2

Choose a tag to compare

@facelessuser facelessuser released this 29 Mar 15:01

10.21.2

  • FIX: Highlight: Latest Pygments versions cannot handle a "filename" for code block titles of None.

10.21

Choose a tag to compare

@facelessuser facelessuser released this 15 Feb 20:43

10.21

  • NEW: Caption: Add support for specifying not only IDs but classes and arbitrary attributes. Initial work by
    @joapuiib.
  • FIX: MagicLink: Fix a matching pattern for Bitbucket repo.

10.20.1

Choose a tag to compare

@facelessuser facelessuser released this 24 Jan 05:56

10.20.1

  • FIX: Quotes: Ensure the first class for callouts (the alert type) is always rendered lowercase.

10.20

Choose a tag to compare

@facelessuser facelessuser released this 31 Dec 19:59

10.20

  • NEW: Quotes: New blockquotes extension added that uses a more modern approach when compared to Python Markdown's
    default. Quotes specifically will not group consecutive blockquotes together in the same lazy fashion that the
    default Python Markdown does which follows a more modern trend to how parsers these days handle block quotes.

    In addition, Quotes also provides an optional feature to enable specifying callouts/alerts in the style used by
    GitHub and Obsidian.