MCPcopy Create free account
hub / github.com/executablebooks/markdown-it-py / __init__

Method __init__

markdown_it/parser_block.py:55–58  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

53 """
54
55 def __init__(self) -> None:
56 self.ruler = Ruler[RuleFuncBlockType]()
57 for name, rule, alt in _rules:
58 self.ruler.push(name, rule, {"alt": alt})
59
60 def tokenize(self, state: StateBlock, startLine: int, endLine: int) -> None:
61 """Generate tokens for input range."""

Callers

nothing calls this directly

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected