7.0.0
7.0
Please see Release Notes for details on upgrading to 7.0.
- NEW: MagicLink will now shorten user name and repository links when link shortening is enabled.
- NEW: Added MagicLink options
social_url_shortenerandshortener_user_excludewere added. - NEW: UML examples are now demonstrated with Mermaid in documentation.
- NEW: SuperFences, if using the attribute list format (
``` {.lang .additional_class, linenums="1"}) allows
adding additional classes. IDs can be added as well, though Pygments generated code blocks do not have a mechanism to
actually insert IDs. The first provided class will always be treated as the language class. - NEW: Custom SuperFences' formatters should now also include the keyword parameters
classesandid_valueto
allow injecting classes and IDs via the now supported attribute list format. If a code block defines no additional IDs
and classes, the old form will be used. Formatters should include**kwargsat the end to future proof them from
future changes. - NEW: Deprecate the SuperFences
highight_codeoption. As SuperFences syntax has language classes built right in,
disabling thehighlight_codeoption makes little sense. Whilehighlight_codeis still accepted, it currently does
nothing and will be removed at some future time. - NEW: If a custom fence (SuperFences) or inline (InlineHilite) is given the name of
*, it will override the
default fence logic. - NEW: SuperFences and InlineHilite no longer sync settings from CodeHilite.
- NEW: Add new Tabbed extension for general purpose tabbed content in Markdown.
- NEW: Deprecate old SuperFences tabbed content feature. This will be removed in 8.0.
- NEW: SuperFences' tabbed content classes have changed from
supferfences-tabsandsuperfences-contentto
tabbed-setandtabbed-contentrespectively. Old style classes can be enabled with thelegacy_tab_classesoption
in SuperFences. This new option will be retired with SuperFences tabbed content feature in 8.0. - NEW: Upgrade to Twemoji 12.1.5.
- NEW: New key codes and key code changes in Keys extension:
- Added
super,left-super, andright-superkey codes as an alternative tometa. Aliaseslsuperand
rsuperwere also added. - Added the
alt-graphkey code withaltgralias. - Added the following new aliases:
lwindowsandrwindowsfor consistency. - Added new codes
left-metaandright-metafor consistency with other modifiers. Aliaseslmetaandrmeta
were also added. - Added
left-option,right-option,left-command,right-command,left-meta, andright-metacodes for
consistency across similar modifier keys. Additional aliases were added as well:loption,roption,lopt,
ropt,left-opt,right-opt,lcommand,rcommand,lcmd,rcmd,left-cmd,right-cmd,lmeta, and
rmeta. altno longer usesmenu,lmenu, andrmenuas key aliases.context-menunow uses the aliasmenu.
context-menuwill display withMenunow.
- Added
- FIX: Numerous deprecation warnings associated with the recent release of Python Markdown 3.2.
- FIX: Ensure ExtraRawHTML raises a deprecation warning.