9.0
9.0
Please see Migration Notes for details on upgrading to 9.0.
- NEW: Arithmatex: Wrap MathJax "script" format (non-preview) with a container element just like all other
Arithmatex output formats. - NEW: Arithmatex: MathJax (non-generic) form's container element now has the
arithmatex
class added just like
everywhere else. - NEW: Arithmatex: Add options to override HTML element container type of inline and block math.
- NEW: Arithmatex: Add new formatter functions intended to replace old math fenced/inline block formatters. New
formatter functions are configurable. All others are marked as deprecated and will be removed at some future date. - NEW: Emoji: Upgraded Twitter emoji database to support latest emoji. It is a known issue that Twitter has
:man_in_santa_hat:
and:mx_claus:
backwards -- same for:mrs_claus:
and:woman_in_santa_hat:
. That is on
Twitter's side, not ours. - NEW: Highlight: Add support for the Pygments option
linespans
. - NEW: Highlight: Add support for Pygments option
lineanchors
. - NEW: Highlight: Add support for Pygments option
anchorlinenos
. - NEW: Highlight: Remove
legacy_no_wrap_code
option. - NEW: Add support for generating title headers pulled from the Pygments lexer for code blocks. Feature can be
enabled via the newauto_title
option. If a specific name is not preferred, these names can be overridden via
a user defined mapping calledauto_title_map
. - NEW: SuperFences: Allow setting a title, or overriding an auto title via the new
title
option in a fenced code
header. - NEW: SuperFences: Allow adding ID and arbitrary
data-
attributes on Pygments code blocks. The latter requires
theattr_list
extension to be enabled. - NEW: SuperFences: Removed old deprecated option
highlight_code
which no longer did anything. - NEW: SuperFences: Remove legacy code meant to help with transitioning to new custom fence function format.
- NEW: Tabbed: New alternate style that allows for a scrollable tabs if they overflow. Feature is experimental, see
docs for more information. - NEW: Slugs: Add new configurable
slugify
function that aims to replace all other slugify methods. Deprecate
uslugify
,uslugify_encoded
,uslugify_case
,uslugify_case_encoded
,gfm
, andgfm_encoded
.slugify
takes
parameters returning a function that performs the desired slug handling.slugify
adds new optionscase="fold"
for
case folding andnormalize='<normalize format here>'
(usesNFC
by default). - FIX: BetterEm: Fix some complex cases related to "smart" logic. (#1413)
- FIX: EscapeAll: Fix issue where an escaped HTML entity may end up with incorrect slug and incorrect table of
content entry. - FIX: Highlight: Fix issue that occurs when showing only nth line numbers and using
pymdownx-inline
. Lines not
showing a line number would not render with the proper leading space.