MCPcopy Create free account
hub / github.com/Python-Markdown/markdown / __init__

Method __init__

markdown/inlinepatterns.py:438–442  ·  view source on GitHub ↗
(self, pattern: str)

Source from the content-addressed store, hash-verified

436class BacktickInlineProcessor(InlineProcessor):
437 """ Return a `<code>` element containing the escaped matching text. """
438 def __init__(self, pattern: str):
439 InlineProcessor.__init__(self, pattern)
440 self.ESCAPED_BSLASH = '{}{}{}'.format(util.STX, ord('\\'), util.ETX)
441 self.tag = 'code'
442 """ The tag of the rendered element. """
443
444 def handleMatch(self, m: re.Match[str], data: str) -> tuple[etree.Element | str, int, int]:
445 """

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected