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

Method __init__

markdown/extensions/abbr.py:145–147  ·  view source on GitHub ↗
(self, parser: BlockParser, abbrs: dict)

Source from the content-addressed store, hash-verified

143 RE = re.compile(r'^[*]\[(?P<abbr>[^\\]*?)\][ ]?:[ ]*\n?[ ]*(?P<title>.*)$', re.MULTILINE)
144
145 def __init__(self, parser: BlockParser, abbrs: dict):
146 self.abbrs: dict = abbrs
147 super().__init__(parser)
148
149 def test(self, parent: etree.Element, block: str) -> bool:
150 return True

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected