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

Method __init__

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

Source from the content-addressed store, hash-verified

409 """ Return a `<code>` element containing the escaped matching text. """
410
411 def __init__(self, pattern: str):
412 InlineProcessor.__init__(self, pattern)
413 self.ESCAPED_BSLASH = '{}{}{}'.format(util.STX, ord('\\'), util.ETX)
414 self.tag = 'code'
415 """ The tag of the rendered element. """
416
417 def find_code_spans(self, start: int, text: str) -> tuple[int, int | None]:
418 """Find code spans."""

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected