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

Method __init__

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

Source from the content-addressed store, hash-verified

354 """ `InlineProcessor` for footnote markers in a document's body text. """
355
356 def __init__(self, pattern: str, footnotes: FootnoteExtension):
357 super().__init__(pattern)
358 self.footnotes = footnotes
359
360 def handleMatch(self, m: re.Match[str], data: str) -> tuple[etree.Element | None, int | None, int | None]:
361 id = m.group(1)

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected