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

Method test

markdown/extensions/def_list.py:36–37  ·  view source on GitHub ↗
(self, parent: etree.Element, block: str)

Source from the content-addressed store, hash-verified

34 NO_INDENT_RE = re.compile(r'^[ ]{0,3}[^ :]')
35
36 def test(self, parent: etree.Element, block: str) -> bool:
37 return bool(self.RE.search(block))
38
39 def run(self, parent: etree.Element, blocks: list[str]) -> bool | None:
40

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected