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

Method __init__

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected