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

Function _plugin

tests/test_api/test_plugin_creation.py:14–15  ·  view source on GitHub ↗
(_md: MarkdownIt)

Source from the content-addressed store, hash-verified

12
13def test_inline_after(capsys):
14 def _plugin(_md: MarkdownIt) -> None:
15 _md.inline.ruler.after("text", "new_rule", inline_rule)
16
17 MarkdownIt().use(_plugin).parse("[")
18 assert "plugin called" in capsys.readouterr().out

Callers

nothing calls this directly

Calls 4

afterMethod · 0.80
beforeMethod · 0.80
atMethod · 0.80
add_terminator_charMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…