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

Method test

markdown/blockprocessors.py:254–255  ·  view source on GitHub ↗
(self, parent: etree.Element, block: str)

Source from the content-addressed store, hash-verified

252 """ Process code blocks. """
253
254 def test(self, parent: etree.Element, block: str) -> bool:
255 return block.startswith(' '*self.tab_length)
256
257 def run(self, parent: etree.Element, blocks: list[str]) -> None:
258 sibling = self.lastChild(parent)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected