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

Method __init__

markdown/extensions/footnotes.py:251–253  ·  view source on GitHub ↗
(self, footnotes: FootnoteExtension)

Source from the content-addressed store, hash-verified

249 RE = re.compile(r'^[ ]{0,3}\[\^([^\]]*)\]:[ ]*(.*)$', re.MULTILINE)
250
251 def __init__(self, footnotes: FootnoteExtension):
252 super().__init__(footnotes.parser)
253 self.footnotes = footnotes
254
255 def test(self, parent: etree.Element, block: str) -> bool:
256 return True

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected