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

Function test_store_labels

tests/test_port/test_references.py:39–44  ·  view source on GitHub ↗
(data_regression)

Source from the content-addressed store, hash-verified

37
38
39def test_store_labels(data_regression):
40 md = MarkdownIt()
41 md.options["store_labels"] = True
42 src = "[a]\n\n![a]\n\n[a]: ijk"
43 tokens = md.parse(src)
44 data_regression.check([token.as_dict() for token in tokens])
45
46
47def test_inline_definitions(data_regression):

Callers

nothing calls this directly

Calls 3

parseMethod · 0.95
MarkdownItClass · 0.90
as_dictMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…