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

Function test_table_tokens

tests/test_api/test_main.py:294–304  ·  view source on GitHub ↗
(data_regression)

Source from the content-addressed store, hash-verified

292
293
294def test_table_tokens(data_regression):
295 md = MarkdownIt("js-default")
296 tokens = md.parse(
297 """
298| Heading 1 | Heading 2
299| --------- | ---------
300| Cell 1 | Cell 2
301| Cell 3 | Cell 4
302 """
303 )
304 data_regression.check([t.as_dict() for t in tokens])
305
306
307def test_fragments_join_merges_adjacent_text_tokens():

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…