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

Function test_inline_before

tests/test_api/test_plugin_creation.py:21–26  ·  view source on GitHub ↗
(capsys)

Source from the content-addressed store, hash-verified

19
20
21def test_inline_before(capsys):
22 def _plugin(_md: MarkdownIt) -> None:
23 _md.inline.ruler.before("text", "new_rule", inline_rule)
24
25 MarkdownIt().use(_plugin).parse("a")
26 assert "plugin called" in capsys.readouterr().out
27
28
29def test_inline_at(capsys):

Callers

nothing calls this directly

Calls 3

MarkdownItClass · 0.90
useMethod · 0.80
parseMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…