Skip to content

Releases: facelessuser/pymdown-extensions

7.1

18 Apr 22:34
Compare
Choose a tag to compare
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 and md 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

07 Apr 14:00
Compare
Choose a tag to compare

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 and shortener_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 parametersclasses and id_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 the highlight_code option makes little sense. While highlight_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 and superfences-content to
    tabbed-set and tabbed-content respectively. Old style classes can be enabled with the legacy_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, and right-super key codes as an alternative to meta. Aliases lsuper and
      rsuper were also added.
    • Added the alt-graph key code with altgr alias.
    • Added the following new aliases: lwindows and rwindows for consistency.
    • Added new codes left-meta and right-meta for consistency with other modifiers. Aliases lmeta and rmeta
      were also added.
    • Added left-option, right-option, left-command, right-command, left-meta, and right-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 uses menu, lmenu, and rmenu as key aliases. context-menu now uses the alias menu.
      context-menu will display with Menu now.
  • FIX: Numerous deprecation warnings associated with the recent release of Python Markdown 3.2.
  • FIX: Ensure ExtraRawHTML raises a deprecation warning.

7.0.0rc2

30 Mar 01:43
Compare
Choose a tag to compare
7.0.0rc2 Pre-release
Pre-release

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 and shortener_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 parametersclasses and id_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 the highlight_code option makes little sense. While highlight_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 and superfences-content to
    tabbed-set and tabbed-content respectively. Old style classes can be enabled with the legacy_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, and right-super key codes as an alternative to meta. Aliases lsuper and
      rsuper were also added.
    • Added the alt-graph key code with altgr alias.
    • Added the following new aliases: lwindows and rwindows for consistency.
    • Added new codes left-meta and right-meta for consistency with other modifiers. Aliases lmeta and rmeta
      were also added.
    • Added left-option, right-option, left-command, right-command, left-meta, and right-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 uses menu, lmenu, and rmenu as key aliases. context-menu now uses the alias menu.
      context-menu will display with Menu now.
  • FIX: Numerous deprecation warnings associated with the recent release of Python Markdown 3.2.
  • FIX: Ensure ExtraRawHTML raises a deprecation warning.

7.0.0rc1

19 Mar 20:39
Compare
Choose a tag to compare
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 parametersclasses and id_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 the highlight_code option makes little sense. While highlight_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 and superfences-content to tabbed-set and tabbed-content respectively. Old style classes can be enabled with the legacy_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, and right-super key codes as an alternative to meta. Aliases lsuper and
      rsuper were also added.
    • Added the alt-graph key code with altgr alias.
    • Added the following new aliases: lwindows and rwindows for consistency.
    • Added new codes left-meta and right-meta for consistency with other modifiers. Aliases lmeta and rmeta were also added.
    • Added left-option, right-option, left-command, right-command, left-meta, and right-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 uses menu, lmenu, and rmenu as key aliases. context-menu now uses the alias menu. context-menu will display with Menu now.
  • FIX: Numerous deprecation warnings associated with the recent release of Python Markdown 3.2.
  • FIX: Ensure ExtraRawHTML raises a deprecation warning.

7.0.0b2

20 Feb 14:56
Compare
Choose a tag to compare
7.0.0b2 Pre-release
Pre-release

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 parametersclasses and id_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 the highlight_code option makes little sense. While highlight_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

13 Feb 23:36
Compare
Choose a tag to compare
7.0.0b1 Pre-release
Pre-release

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 and superfences-content to
    tabbed-set and tabbed-content respectively. Old style classes can be enabled with the legacy_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

07 Feb 04:50
80f2ef1
Compare
Choose a tag to compare

6.3.0

  • NEW: pymdownx.extrarawhtml is now deprecated in favor of Python Markdown's md_in_html extension found in the
    3.2 release.
  • NEW: When using Pygments 2.4+, code under pre elements will also be wrapped in code 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 and version_info.
  • FIX: Allow single word hostnames in MagicLink auto-link.

6.2.1

22 Dec 16:48
Compare
Choose a tag to compare

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

16 Nov 17:21
Compare
Choose a tag to compare

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

01 Sep 02:13
cad9196
Compare
Choose a tag to compare

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 and version_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 &#35; 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.