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

Function test_tree_to_tokens_conversion

tests/test_tree.py:11–14  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

9
10
11def test_tree_to_tokens_conversion():
12 tokens = MarkdownIt().parse(EXAMPLE_MARKDOWN)
13 tokens_after_roundtrip = SyntaxTreeNode(tokens).to_tokens()
14 assert tokens == tokens_after_roundtrip
15
16
17def test_property_passthrough():

Callers

nothing calls this directly

Calls 4

MarkdownItClass · 0.90
SyntaxTreeNodeClass · 0.90
to_tokensMethod · 0.80
parseMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…