7.0.0rc1
Pre-release
Pre-release
7.0rc1
- 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
classes
andid_value
to 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**kwargs
at the end to future proof them from future changes. - NEW: Deprecate the SuperFences
highight_code
option. As SuperFences syntax has language classes built right in, disabling thehighlight_code
option makes little sense. Whilehighlight_code
is 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-tabs
andsuperfences-content
totabbed-set
andtabbed-content
respectively. Old style classes can be enabled with thelegacy_tab_classes
option 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-super
key codes as an alternative tometa
. Aliaseslsuper
and
rsuper
were also added. - Added the
alt-graph
key code withaltgr
alias. - Added the following new aliases:
lwindows
andrwindows
for consistency. - Added new codes
left-meta
andright-meta
for consistency with other modifiers. Aliaseslmeta
andrmeta
were also added. - Added
left-option
,right-option
,left-command
,right-command
,left-meta
, andright-meta
codes 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
, andrmeta
. alt
no longer usesmenu
,lmenu
, andrmenu
as key aliases.context-menu
now uses the aliasmenu
.context-menu
will display withMenu
now.
- Added
- FIX: Numerous deprecation warnings associated with the recent release of Python Markdown 3.2.
- FIX: Ensure ExtraRawHTML raises a deprecation warning.