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

Method __init__

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

Source from the content-addressed store, hash-verified

337 """ `InlineProcessor` for footnote markers in a document's body text. """
338
339 def __init__(self, pattern: str, footnotes: FootnoteExtension):
340 super().__init__(pattern)
341 self.footnotes = footnotes
342
343 def handleMatch(self, m: re.Match[str], data: str) -> tuple[etree.Element | None, int | None, int | None]:
344 id = m.group(1)

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected