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

Method __init__

markdown_it/renderer.py:60–65  ·  view source on GitHub ↗
(self, parser: Any = None)

Source from the content-addressed store, hash-verified

58 __output__ = "html"
59
60 def __init__(self, parser: Any = None):
61 self.rules = {
62 k: v
63 for k, v in inspect.getmembers(self, predicate=inspect.ismethod)
64 if not (k.startswith("render") or k.startswith("_"))
65 }
66
67 def render(
68 self, tokens: Sequence[Token], options: OptionsDict, env: EnvType

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected