Extensions for Python Markdown
OTHER License
Published by facelessuser about 4 years ago
Please see Release Notes for details on upgrading to 8.0.
key=
(no value). Only keys with values or keys with no value and no =
are accepted. Keys with no value will now assume the value to be the key name.attr_list
extension is enabled, fenced code that use brace attribute list style headers ( ```{lang #id .class attr=value}
) will attach arbitrary attributes that are included in the header to the code element.linenums
) included in fenced code headers no longer do anything. If attr_list
is enabled, and the brace header is used, such options will be treated as HTML attributes. JavaScript highlighter options should be defined in the brace header form with attr_list
enabled in order to generate appropriate, compatible HTML with the chosen JavaScript highlighter.legacy_tab_classes
option has been removed. Please use the Tabbed extension to create general purpose tabs for code blocks or other content.language_prefix
which controls the prefix applied to language classes when Pygments is not being used.code_attr_on_pre
was added to the Highlight extension and controls whether language classes, and any ids, attributes, and classes that are defined in fenced code attribute list style headers, are attached to the code element or pre element. This has effect when using Pygments.linenums
now defaults to None
and accepts None
, True
, or False
. None
is disabled by default, but can be enabled per code block. True
enables line numbers globally. False
disables globally and cannot be enabled manually per code block.Published by facelessuser over 4 years ago
hl_lines
option. (#878)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.#!tex $$..$$
and #!tex begin{}...end{}
patterns properly don't match if the tail markers are escaped.Published by facelessuser over 4 years ago
Please see Release Notes for details on upgrading to 7.0.
social_url_shortener
and shortener_user_exclude
were added.``` {.lang .additional_class, linenums="1"}
) allowsclasses
and id_value
to**kwargs
at the end to future proof them fromhighight_code
option. As SuperFences syntax has language classes built right in,highlight_code
option makes little sense. While highlight_code
is still accepted, it currently does*
, it will override thesupferfences-tabs
and superfences-content
totabbed-set
and tabbed-content
respectively. Old style classes can be enabled with the legacy_tab_classes
optionsuper
, left-super
, and right-super
key codes as an alternative to meta
. Aliases lsuper
andrsuper
were also added.alt-graph
key code with altgr
alias.lwindows
and rwindows
for consistency.left-meta
and right-meta
for consistency with other modifiers. Aliases lmeta
and rmeta
left-option
, right-option
, left-command
, right-command
, left-meta
, and right-meta
codes forloption
, roption
, lopt
,ropt
, left-opt
, right-opt
, lcommand
, rcommand
, lcmd
, rcmd
, left-cmd
, right-cmd
, lmeta
, andrmeta
.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.Published by facelessuser over 4 years ago
Please see Release Notes for details on upgrading to 7.0.
social_url_shortener
and shortener_user_exclude
were added.``` {.lang .additional_class, linenums="1"}
) allowsclasses
and id_value
to**kwargs
at the end to future proof them fromhighight_code
option. As SuperFences syntax has language classes built right in,highlight_code
option makes little sense. While highlight_code
is still accepted, it currently does*
, it will override thesupferfences-tabs
and superfences-content
totabbed-set
and tabbed-content
respectively. Old style classes can be enabled with the legacy_tab_classes
optionsuper
, left-super
, and right-super
key codes as an alternative to meta
. Aliases lsuper
andrsuper
were also added.alt-graph
key code with altgr
alias.lwindows
and rwindows
for consistency.left-meta
and right-meta
for consistency with other modifiers. Aliases lmeta
and rmeta
left-option
, right-option
, left-command
, right-command
, left-meta
, and right-meta
codes forloption
, roption
, lopt
,ropt
, left-opt
, right-opt
, lcommand
, rcommand
, lcmd
, rcmd
, left-cmd
, right-cmd
, lmeta
, andrmeta
.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.Published by facelessuser over 4 years ago
``` {.lang .additional_class, linenums="1"}
) allowsclasses
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.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.*
, it will override thesupferfences-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.super
, left-super
, and right-super
key codes as an alternative to meta
. Aliases lsuper
andrsuper
were also added.alt-graph
key code with altgr
alias.lwindows
and rwindows
for consistency.left-meta
and right-meta
for consistency with other modifiers. Aliases lmeta
and rmeta
were also 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.Published by facelessuser over 4 years ago
Please see Release Notes for details on upgrading to 7.0.
``` {.lang .additional_class, linenums="1"}
) allowsclasses
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.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.*
, it will override thePublished by facelessuser over 4 years ago
supferfences-tabs
and superfences-content
totabbed-set
and tabbed-content
respectively. Old style classes can be enabled with the legacy_tab_classes
optionPublished by facelessuser over 4 years ago
pymdownx.extrarawhtml
is now deprecated in favor of Python Markdown's md_in_html
extension found in thepre
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 oldversion
and version_info
.Published by facelessuser almost 5 years ago
Published by facelessuser almost 5 years ago
to_awesome
generator for EmojiOne.Published by facelessuser about 5 years ago
version
and version_info
are now accessible via the more standard form __version__
and _version_info__
. The old format, while available, is now deprecated.#
would trigger MagicLink's shorthand for issues.**Strong*em,strong***
.Published by facelessuser about 6 years ago
Please see Release Notes in documentation for details on upgrading to 6.0.0.
flow
and sequence
as default custom fences. Users will need to configure them themselves.Published by facelessuser about 6 years ago
linenums_special
option to Highlight extension. Can be overridden per fence in SuperFences. (#360)linenums_style
option to set line number output to Pygments table
or inline
format. Also provide a custom pymdownx-inline
format for more sane inline output in regards to copy and paste. See Highlight documentation for more info. (#360)insert_as_script
and deprecated MagicLink option base_repo_url
.step
values. (#360)Published by facelessuser over 6 years ago
preserve_tabs
option in SuperFences. (#328)Published by facelessuser over 6 years ago
Jun 10, 2018
smart_dollar
to False
(#297).Published by facelessuser over 6 years ago
May 17, 2018
Published by facelessuser over 6 years ago
Apr 29, 2018
Published by facelessuser over 6 years ago
Apr 18, 2018
Published by facelessuser over 6 years ago
Mar 26, 2018
Published by facelessuser over 6 years ago
Mar 18, 2018