Releases: facelessuser/pymdown-extensions
Releases · facelessuser/pymdown-extensions
7.1
7.1
- NEW: SuperFences will now allow number ranges in
hl_lines
option. (#878) - NEW: Emoji extension now requires custom emoji indexes to take an
options
andmd
argument. The old non-argument format is deprecated and still accepted, but support for indexes with no arguments will be removed at a future time. - NEW: Highlight now allows the specifying of a custom line number class when not using Pygments.
- FIX: Better Arithmatex patterns. Fix issue #888 which caused a hang due to a regular expression typo. Also ensure
#!tex $$..$$
and#!tex begin{}...end{}
patterns properly don't match if the tail markers are escaped.
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_shortener
andshortener_user_exclude
were 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
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
to
tabbed-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
, and
rmeta
. 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.
7.0.0rc2
7.0rc2
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_shortener
andshortener_user_exclude
were 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
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
to
tabbed-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
, and
rmeta
. 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.
7.0.0rc1
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.
7.0.0b2
7.0b2
Please see Release Notes for details on upgrading to 7.0.
- 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.
7.0.0b1
7.0.0b1
- 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.0.
- NEW: SuperFences' tabbed content classes have changed from
supferfences-tabs
andsuperfences-content
to
tabbed-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.0. - FIX: Numerous deprecation warnings associated with the recent release of Python Markdown 3.2.
6.3.0
6.3.0
- NEW:
pymdownx.extrarawhtml
is now deprecated in favor of Python Markdown'smd_in_html
extension found in the
3.2 release. - NEW: When using Pygments 2.4+, code under
pre
elements will also be wrapped incode
blocks:
#!html <pre><code></code></pre>
.legacy_no_wrap_code
option has been provided as a temporary way to get the old
behavior during the transition period, the option will be removed in the future. - NEW: Remove deprecated
version
andversion_info
. - FIX: Allow single word hostnames in MagicLink auto-link.
6.2.1
6.2.1
- FIX: Fix issue in PathConverter where Windows path conversion from relative to absolute doesn't always work in all browsers.
6.2.0
6.2.0
- NEW: Upgrade Twemoji to use 12.1.3.
- NEW: Downgrade and lock EmojiOne version 2.2.7. 2.2.7 is the last truly free version of EmojiOne. This is the safest version that users should use. EmojiOne will not be updated anymore as they are now JoyPixels and have a license that is not that permissible. We've reverted support for any version greater than 2.2.7 to ensure we don't accidentally cause a user to improperly use JoyPixels' assets.
- NEW: Drop specialized
to_awesome
generator for EmojiOne. - FIX: MagicLink: match the auto-link pattern in the current Markdown package.
- FIX: Fix fenced math escape issue when using MathJax script output format.
6.1.0
6.1.0
- NEW: Upgrade Twemoji to 12.1.2 using the latest JoyPixels' (formally EmojiOne) short name index in @JoyPixels/emoji-toolkit 5.0.4.
- NEW: Upgrade EmojiOne to 4.5.0 to the last release in the 4+ series. EmojiOne was rebranded as JoyPixels, but while the index is licensed under MIT, the image assets are no longer as permissible as they once were. The Emoji extension will only reference the last release under the older more permissible license (4.5.0). The option to use the CDN with EmojiOne 2.7 is still available as well which used an even more permissible license.
- NEW: Upgrade Gemoji to 3.0.1.
- NEW:
version
andversion_info
are now accessible via the more standard form__version__
and_version_info__
. The old format, while available, is now deprecated. - FIX: Fix GitHub emoji CDN links to use their latest.
- FIX: Fix issue where entities in the form
#
would trigger MagicLink's shorthand for issues. - FIX: Don't install tests when installing package.
- FIX: Fix for BetterEm case
**Strong*em,strong***
. - FIX: Fixes for non-word character boundary cases in BetterEm, Caret, Mark, and Tilde extensions.