class documentation
class UnderscoreProcessor(AsteriskProcessor): (source)
Known subclasses: markdown.extensions.legacy_em.LegacyUnderscoreProcessor
Emphasis processor for handling strong and em matches inside underscores.
Constant | PATTERNS |
Undocumented |
Inherited from AsteriskProcessor
:
Method | build |
Return double tag. |
Method | build |
Return double tags (variant 2): `<strong>text <em>text</em></strong>`. |
Method | build |
Element builder. |
Method | build |
Return single tag. |
Method | handle |
Parse patterns. |
Method | parse |
Parses sub patterns. |
Inherited from InlineProcessor
(via AsteriskProcessor
):
Method | __init__ |
Create an instant of an inline pattern. |
Instance Variable | compiled |
Undocumented |
Instance Variable | md |
Undocumented |
Instance Variable | pattern |
Undocumented |
Instance Variable | safe |
Undocumented |
Inherited from Pattern
(via AsteriskProcessor
, InlineProcessor
):
Method | get |
Return a compiled regular expression. |
Method | type |
Return class name, to define pattern type |
Method | unescape |
Return unescaped text given text with an inline placeholder. |
Constant | ANCESTOR |
Undocumented |
PATTERNS =
(source)
overridden in
markdown.extensions.legacy_em.LegacyUnderscoreProcessor
Undocumented
Value |
|