(str_, lang, attrs)
| 3 | |
| 4 | def test_highlight_arguments(): |
| 5 | def highlight_func(str_, lang, attrs): |
| 6 | assert lang == "a" |
| 7 | assert attrs == "b c d" |
| 8 | return "<pre><code>==" + str_ + "==</code></pre>" |
| 9 | |
| 10 | conf = presets.commonmark.make() |
| 11 | conf["options"]["highlight"] = highlight_func |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…