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

Function w_rule

tests/test_api/test_plugin_creation.py:98–103  ·  view source on GitHub ↗
(state, silent)

Source from the content-addressed store, hash-verified

96 hit_positions = []
97
98 def w_rule(state, silent):
99 if state.src[state.pos] != "w":
100 return False
101 hit_positions.append(state.pos)
102 state.pos += 1
103 return True
104
105 def _plugin(_md: MarkdownIt) -> None:
106 _md.inline.add_terminator_char("w")

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…