‹›
markdown.extensions.legacy_em
¶
This extension provides legacy behavior for connected_words.
‹›
markdown.extensions.legacy_em.LegacyUnderscoreProcessor(pattern: str, md: Markdown | None = None)
¶
Bases: UnderscoreProcessor
Emphasis processor for handling strong and em matches inside underscores.
Parameters:
-
pattern
(str
) –A regular expression that matches a pattern.
-
md
(Markdown | None
, default:None
) –An optional pointer to the instance of
markdown.Markdown
and is available asself.md
on the class instance.