Releases: facelessuser/pymdown-extensions
Release list
12.0.1
12.0
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, orsmart_mark, respectively, to enable previous behavior, which prevented mid-word deletion. - Tilde, Caret: Add new option
no_spaceto control whether the Pandoc style requirement of "no unescaped
spaces" is enabled for subscript and superscript, respectively.no_spaceis enabled by default.
- When used with BetterEm, Tilde, Caret, and Mark will be added to the same delimiter processor under the hood and
-
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. Usearithmatex_inline_formatinstead. -
NEW: Arithmatex: Remove deprecated
fence_mathjax_preview_format,fence_mathjax_format, and
fence_generic_format. Usearithmatex_fenced_formatinstead. -
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,
andgfm_encoded. Use the documentedslugifymethod with appropriate arguments instead.
11.0.2
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
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
11.0
- BREAK: B64: Restricts relative links to
base_pathby default. Can be disabled by setting newrestrict_path
option toFalse. The newroot_pathcan be specified if paths are desired to be restricted to a different
location separatebase_pathwhich 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
10.21.3
- FIX: Fix regression that allows a snippet to be loaded outside of the base path using directory traversal when
restrict_base_pathis enabled (the default). Found by @gistrec.
10.21. 2
10.21.2
- FIX: Highlight: Latest Pygments versions cannot handle a "filename" for code block titles of
None.
10.21
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
10.20.1
- FIX: Quotes: Ensure the first class for callouts (the alert type) is always rendered lowercase.
10.20
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.