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

Method __init__

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected