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

Method __init__

markdown/extensions/footnotes.py:349–351  ·  view source on GitHub ↗
(self, pattern: str, footnotes: FootnoteExtension)

Source from the content-addressed store, hash-verified

347 """ `InlineProcessor` for footnote markers in a document's body text. """
348
349 def __init__(self, pattern: str, footnotes: FootnoteExtension):
350 super().__init__(pattern)
351 self.footnotes = footnotes
352
353 def handleMatch(self, m: re.Match[str], data: str) -> tuple[etree.Element | None, int | None, int | None]:
354 id = m.group(1)

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected