Path to this page:
Subject: CVS commit: pkgsrc/textproc/py-markdown
From: Wen Heping
Date: 2024-08-18 15:08:45
Message id: 20240818130845.C8B6EFC74@cvs.NetBSD.org
Log Message:
Update to 3.7
Upstream changes:
[3.7] 2024-08-16
Changed
Refactor abbr Extension
A new AbbrTreeprocessor has been introduced, which replaces the now deprecated \
AbbrInlineProcessor. Abbreviation processing now happens after Attribute Lists, \
avoiding a conflict between the two extensions (#1460).
The AbbrPreprocessor class has been renamed to AbbrBlockprocessor, 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 the glossary option.
Fixed
Fixed links to source code on GitHub from the documentation (#1453).
Files: