Sourced from markdown's releases.
Release 3.7
Changed
Refactor
abbr
ExtensionA new
AbbrTreeprocessor
has been introduced, which replaces the now deprecatedAbbrInlineProcessor
. Abbreviation processing now happens after Attribute Lists, avoiding a conflict between the two extensions (#1460).The
AbbrPreprocessor
class has been renamed toAbbrBlockprocessor
, which better reflects what it is.AbbrPreprocessor
has been deprecated.A call to
Markdown.reset()
now clears all previously defined abbreviations.Abbreviations are now sorted by length before executing
AbbrTreeprocessor
to ensure that multi-word abbreviations are implemented even if an abbreviation exists for one of those component words. (#1465)Abbreviations without a definition are now ignored. This avoids applying abbr tags to text without a title value.
Added an optional
glossary
configuration option to the abbreviations extension. This provides a simple and efficient way to apply a dictionary of abbreviations to every page.Abbreviations can now be disabled by setting their definition to
""
or''
. This can be useful when using theglossary
option.Fixed
- Fixed links to source code on GitHub from the documentation (#1453).
Sourced from markdown's changelog.
[3.7] -- 2024-08-16
Changed
Refactor
abbr
ExtensionA new
AbbrTreeprocessor
has been introduced, which replaces the now deprecatedAbbrInlineProcessor
. Abbreviation processing now happens after Attribute Lists, avoiding a conflict between the two extensions (#1460).The
AbbrPreprocessor
class has been renamed toAbbrBlockprocessor
, which better reflects what it is.AbbrPreprocessor
has been deprecated.A call to
Markdown.reset()
now clears all previously defined abbreviations.Abbreviations are now sorted by length before executing
AbbrTreeprocessor
to ensure that multi-word abbreviations are implemented even if an abbreviation exists for one of those component words. (#1465)Abbreviations without a definition are now ignored. This avoids applying abbr tags to text without a title value.
Added an optional
glossary
configuration option to the abbreviations extension. This provides a simple and efficient way to apply a dictionary of abbreviations to every page.Abbreviations can now be disabled by setting their definition to
""
or''
. This can be useful when using theglossary
option.Fixed
- Fixed links to source code on GitHub from the documentation (#1453).