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

Function test_disable_code_block

tests/test_port/test_fixtures.py:121–125  ·  view source on GitHub ↗
(line, title, input, expected)

Source from the content-addressed store, hash-verified

119 read_fixture_file(FIXTURE_PATH.joinpath("disable_code_block.md")),
120)
121def test_disable_code_block(line, title, input, expected):
122 md = MarkdownIt().enable("table").disable("code")
123 text = md.render(input)
124 print(text.rstrip())
125 assert text.rstrip() == expected.rstrip()
126
127
128@pytest.mark.parametrize(

Callers

nothing calls this directly

Calls 4

MarkdownItClass · 0.90
disableMethod · 0.45
enableMethod · 0.45
renderMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…