Harbor format: 871 coding_baseline tasks (part 36)
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
Files changed (50)
- tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/expected-panels.jsonAdded+951
- tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/grade.pyAdded+128
- tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/panel-config.jsonAdded+24
- tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/test.shAdded+6
- tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted-inventory.jsonAdded+212
- tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/pyproject.tomlAdded+69
- tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/setup.pyAdded+3
- tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/__init__.pyAdded+40
- tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/fixtures/__init__.pyAdded+56
- tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/fixtures/abbr.txtAdded+79
- tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/fixtures/commonmark.jsonAdded
- tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/fixtures/def_list.txtAdded+172
- tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/fixtures/diff-commonmark.txtAdded+76
- tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/fixtures/fenced_admonition.txtAdded+129
- tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/fixtures/fenced_figure.txtAdded+166
- tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/fixtures/fenced_image.txtAdded+102
- tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/fixtures/fenced_toc.txtAdded+237
- tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/fixtures/fix-commonmark.txtAdded+123
- tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/fixtures/footnotes.txtAdded+45
- tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/fixtures/hook_toc.txtAdded+122
- tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/fixtures/include/hello.mdAdded+1
- tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/fixtures/include/hello.txtAdded+1
- tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/fixtures/include/text.htmlAdded+1
- tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/fixtures/include/text.mdAdded+12
- tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/fixtures/insert.txtAdded+62
- tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/fixtures/mark.txtAdded+61
- tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/fixtures/math.txtAdded+57
- tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/fixtures/renderer_markdown.txtAdded+299
- tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/fixtures/renderer_rst.txtAdded+250
- tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/fixtures/rst_admonition.txtAdded+46
- tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/fixtures/rst_toc.txtAdded+223
- tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/fixtures/ruby.txtAdded+64
- tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/fixtures/spoiler.txtAdded+74
- tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/fixtures/strikethrough.txtAdded+46
- tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/fixtures/subscript.txtAdded+26
- tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/fixtures/superscript.txtAdded+26
- tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/fixtures/table.txtAdded+258
- tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/fixtures/task_lists.txtAdded+108
- tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/fixtures/url.txtAdded+22
- tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/test_commonmark.pyAdded+76
- tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/test_directives.pyAdded+93
- tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/test_hooks.pyAdded+26
- tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/test_misc.pyAdded+137
- tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/test_plugins.pyAdded+66
- tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/test_renderers.pyAdded+17
- tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/test_syntax.pyAdded+12
- tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/validation/canaries/first-hunk-only.shAdded+21
- tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/validation/canaries/original-bug.shAdded+3
- tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/validation/openenv.jsonAdded+27
- tasks/lepture__mistune.bf54ef67.combine_file__d7rfqbr0/LICENSE.sourceAdded+14
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951{ "fail-to-pass": [ "tests/test_commonmark.py::TestCommonMark::test_links_539", "tests/test_commonmark.py::TestCommonMark::test_tabs_001", "tests/test_commonmark.py::TestCommonMark::test_tabs_002", "tests/test_commonmark.py::TestCommonMark::test_tabs_004", "tests/test_commonmark.py::TestCommonMark::test_tabs_005", "tests/test_commonmark.py::TestCommonMark::test_tabs_006", "tests/test_commonmark.py::TestCommonMark::test_tabs_007", "tests/test_commonmark.py::TestCommonMark::test_tabs_008", "tests/test_commonmark.py::TestCommonMark::test_tabs_009", "tests/test_renderers.py::TestRendererRst::test_code_001", "tests/test_renderers.py::TestRendererRst::test_code_002", "tests/test_renderers.py::TestRendererRst::test_heading_001", "tests/test_renderers.py::TestRendererRst::test_html_001", "tests/test_renderers.py::TestRendererRst::test_images_002", "tests/test_renderers.py::TestRendererRst::test_images_003", "tests/test_renderers.py::TestRendererRst::test_inline_001", "tests/test_renderers.py::TestRendererRst::test_inline_002", "tests/test_renderers.py::TestRendererRst::test_line_break_001", "tests/test_renderers.py::TestRendererRst::test_links_001", "tests/test_renderers.py::TestRendererRst::test_list_001", "tests/test_renderers.py::TestRendererRst::test_list_002", "tests/test_renderers.py::TestRendererRst::test_list_003", "tests/test_renderers.py::TestRendererRst::test_list_004", "tests/test_renderers.py::TestRendererRst::test_list_005", "tests/test_renderers.py::TestRendererRst::test_quote_001", "tests/test_renderers.py::TestRendererRst::test_quote_002", "tests/test_renderers.py::TestRendererRst::test_quote_003", "tests/test_renderers.py::TestRendererRst::test_thematic_break_001", "tests/test_renderers.py::TestRendererMarkdown::test_code_001", "tests/test_renderers.py::TestRendererMarkdown::test_code_002", "tests/test_renderers.py::TestRendererMarkdown::test_code_003", "tests/test_renderers.py::TestRendererMarkdown::test_code_004", "tests/test_renderers.py::TestRendererMarkdown::test_code_005", "tests/test_renderers.py::TestRendererMarkdown::test_heading_001", "tests/test_renderers.py::TestRendererMarkdown::test_html_001", "tests/test_renderers.py::TestRendererMarkdown::test_inline_001", "tests/test_renderers.py::TestRendererMarkdown::test_linebreak_001", "tests/test_renderers.py::TestRendererMarkdown::test_links_003", "tests/test_renderers.py::TestRendererMarkdown::test_list_001", "tests/test_renderers.py::TestRendererMarkdown::test_list_002", "tests/test_renderers.py::TestRendererMarkdown::test_list_003", "tests/test_renderers.py::TestRendererMarkdown::test_list_004", "tests/test_renderers.py::TestRendererMarkdown::test_list_005", "tests/test_renderers.py::TestRendererMarkdown::test_list_006", "tests/test_renderers.py::TestRendererMarkdown::test_quote_001", "tests/test_renderers.py::TestRendererMarkdown::test_quote_002", "tests/test_renderers.py::TestRendererMarkdown::test_thematic_break_001" ], "pass-to-pass": [ "tests/test_commonmark.py::TestCommonMark::test_atx_headings_062", "tests/test_commonmark.py::TestCommonMark::test_atx_headings_063", "tests/test_commonmark.py::TestCommonMark::test_atx_headings_064", "tests/test_commonmark.py::TestCommonMark::test_atx_headings_065", "tests/test_commonmark.py::TestCommonMark::test_atx_headings_066", "tests/test_commonmark.py::TestCommonMark::test_atx_headings_067", "tests/test_commonmark.py::TestCommonMark::test_atx_headings_068", "tests/test_commonmark.py::TestCommonMark::test_atx_headings_069", "tests/test_commonmark.py::TestCommonMark::test_atx_headings_070", "tests/test_commonmark.py::TestCommonMark::test_atx_headings_071", "tests/test_commonmark.py::TestCommonMark::test_atx_headings_072", "tests/test_commonmark.py::TestCommonMark::test_atx_headings_073", "tests/test_commonmark.py::TestCommonMark::test_atx_headings_074", "tests/test_commonmark.py::TestCommonMark::test_atx_headings_075", "tests/test_commonmark.py::TestCommonMark::test_atx_headings_076", "tests/test_commonmark.py::TestCommonMark::test_atx_headings_077", "tests/test_commonmark.py::TestCommonMark::test_atx_headings_078", "tests/test_commonmark.py::TestCommonMark::test_atx_headings_079", "tests/test_commonmark.py::TestCommonMark::test_autolinks_593", "tests/test_commonmark.py::TestCommonMark::test_autolinks_594", "tests/test_commonmark.py::TestCommonMark::test_autolinks_595", "tests/test_commonmark.py::TestCommonMark::test_autolinks_596", "tests/test_commonmark.py::TestCommonMark::test_autolinks_597", "tests/test_commonmark.py::TestCommonMark::test_autolinks_598", "tests/test_commonmark.py::TestCommonMark::test_autolinks_599", "tests/test_commonmark.py::TestCommonMark::test_autolinks_600", "tests/test_commonmark.py::TestCommonMark::test_autolinks_601", "tests/test_commonmark.py::TestCommonMark::test_autolinks_602", "tests/test_commonmark.py::TestCommonMark::test_autolinks_603", "tests/test_commonmark.py::TestCommonMark::test_autolinks_604", "tests/test_commonmark.py::TestCommonMark::test_autolinks_605", "tests/test_commonmark.py::TestCommonMark::test_autolinks_606", "tests/test_commonmark.py::TestCommonMark::test_autolinks_607", "tests/test_commonmark.py::TestCommonMark::test_autolinks_608", "tests/test_commonmark.py::TestCommonMark::test_autolinks_609", "tests/test_commonmark.py::TestCommonMark::test_autolinks_610", "tests/test_commonmark.py::TestCommonMark::test_autolinks_611", "tests/test_commonmark.py::TestCommonMark::test_backslash_escapes_012", "tests/test_commonmark.py::TestCommonMark::test_backslash_escapes_013", "tests/test_commonmark.py::TestCommonMark::test_backslash_escapes_014", "tests/test_commonmark.py::TestCommonMark::test_backslash_escapes_015", "tests/test_commonmark.py::TestCommonMark::test_backslash_escapes_016", "tests/test_commonmark.py::TestCommonMark::test_backslash_escapes_017", "tests/test_commonmark.py::TestCommonMark::test_backslash_escapes_018", "tests/test_commonmark.py::TestCommonMark::test_backslash_escapes_019", "tests/test_commonmark.py::TestCommonMark::test_backslash_escapes_020", "tests/test_commonmark.py::TestCommonMark::test_backslash_escapes_021", "tests/test_commonmark.py::TestCommonMark::test_backslash_escapes_022", "tests/test_commonmark.py::TestCommonMark::test_backslash_escapes_023", "tests/test_commonmark.py::TestCommonMark::test_backslash_escapes_024", "tests/test_commonmark.py::TestCommonMark::test_blank_lines_227", "tests/test_commonmark.py::TestCommonMark::test_block_quotes_228", "tests/test_commonmark.py::TestCommonMark::test_block_quotes_229", "tests/test_commonmark.py::TestCommonMark::test_block_quotes_230", "tests/test_commonmark.py::TestCommonMark::test_block_quotes_231", "tests/test_commonmark.py::TestCommonMark::test_block_quotes_232", "tests/test_commonmark.py::TestCommonMark::test_block_quotes_233", "tests/test_commonmark.py::TestCommonMark::test_block_quotes_234", "tests/test_commonmark.py::TestCommonMark::test_block_quotes_235", "tests/test_commonmark.py::TestCommonMark::test_block_quotes_236", "tests/test_commonmark.py::TestCommonMark::test_block_quotes_237", "tests/test_commonmark.py::TestCommonMark::test_block_quotes_238", "tests/test_commonmark.py::TestCommonMark::test_block_quotes_239", "tests/test_commonmark.py::TestCommonMark::test_block_quotes_240", "tests/test_commonmark.py::TestCommonMark::test_block_quotes_241", "tests/test_commonmark.py::TestCommonMark::test_block_quotes_242", "tests/test_commonmark.py::TestCommonMark::test_block_quotes_243", "tests/test_commonmark.py::TestCommonMark::test_block_quotes_244", "tests/test_commonmark.py::TestCommonMark::test_block_quotes_245", "tests/test_commonmark.py::TestCommonMark::test_block_quotes_246", "tests/test_commonmark.py::TestCommonMark::test_block_quotes_247", "tests/test_commonmark.py::TestCommonMark::test_block_quotes_248", "tests/test_commonmark.py::TestCommonMark::test_block_quotes_249", "tests/test_commonmark.py::TestCommonMark::test_block_quotes_250", "tests/test_commonmark.py::TestCommonMark::test_block_quotes_251", "tests/test_commonmark.py::TestCommonMark::test_block_quotes_252", "tests/test_commonmark.py::TestCommonMark::test_code_spans_328", "tests/test_commonmark.py::TestCommonMark::test_code_spans_329", "tests/test_commonmark.py::TestCommonMark::test_code_spans_330", "tests/test_commonmark.py::TestCommonMark::test_code_spans_331", "tests/test_commonmark.py::TestCommonMark::test_code_spans_332", "tests/test_commonmark.py::TestCommonMark::test_code_spans_333", "tests/test_commonmark.py::TestCommonMark::test_code_spans_334", "tests/test_commonmark.py::TestCommonMark::test_code_spans_335", "tests/test_commonmark.py::TestCommonMark::test_code_spans_336", "tests/test_commonmark.py::TestCommonMark::test_code_spans_337", "tests/test_commonmark.py::TestCommonMark::test_code_spans_338", "tests/test_commonmark.py::TestCommonMark::test_code_spans_339", "tests/test_commonmark.py::TestCommonMark::test_code_spans_340", "tests/test_commonmark.py::TestCommonMark::test_code_spans_341", "tests/test_commonmark.py::TestCommonMark::test_code_spans_342", "tests/test_commonmark.py::TestCommonMark::test_code_spans_343", "tests/test_commonmark.py::TestCommonMark::test_code_spans_344", "tests/test_commonmark.py::TestCommonMark::test_code_spans_345", "tests/test_commonmark.py::TestCommonMark::test_code_spans_346", "tests/test_commonmark.py::TestCommonMark::test_code_spans_347", "tests/test_commonmark.py::TestCommonMark::test_code_spans_348", "tests/test_commonmark.py::TestCommonMark::test_code_spans_349", "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_350", "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_351", "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_353", "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_354", "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_355", "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_356", "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_357", "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_358", "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_359", "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_360", "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_361", "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_362", "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_363", "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_364", "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_365", "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_366", "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_369", "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_370", "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_371", "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_373", "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_374", "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_375", "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_376", "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_377", "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_378", "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_380", "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_381", "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_382", "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_383", "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_384", "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_385", "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_386", "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_387", "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_389", "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_390", "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_392", "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_393", "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_394", "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_395", "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_396", "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_397", "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_398", "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_399", "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_400", "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_401", "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_402", "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_403", "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_404", "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_405", "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_409", "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_410", "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_411", "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_415", "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_419", "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_420", "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_421", "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_422", "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_423", "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_427", "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_428", "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_432", "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_433", "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_434", "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_435", "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_436", "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_437", "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_438", "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_439", "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_440", "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_447", "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_448", "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_449", "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_450", "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_451", "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_452", "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_459", "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_461", "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_466", "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_468", "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_469", "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_472", "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_473", "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_474", "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_475", "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_476", "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_479", "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_480", "tests/test_commonmark.py::TestCommonMark::test_entity_and_numeric_character_references_025", "tests/test_commonmark.py::TestCommonMark::test_entity_and_numeric_character_references_026", "tests/test_commonmark.py::TestCommonMark::test_entity_and_numeric_character_references_027", "tests/test_commonmark.py::TestCommonMark::test_entity_and_numeric_character_references_028", "tests/test_commonmark.py::TestCommonMark::test_entity_and_numeric_character_references_029", "tests/test_commonmark.py::TestCommonMark::test_entity_and_numeric_character_references_030", "tests/test_commonmark.py::TestCommonMark::test_entity_and_numeric_character_references_031", "tests/test_commonmark.py::TestCommonMark::test_entity_and_numeric_character_references_032", "tests/test_commonmark.py::TestCommonMark::test_entity_and_numeric_character_references_033", "tests/test_commonmark.py::TestCommonMark::test_entity_and_numeric_character_references_034", "tests/test_commonmark.py::TestCommonMark::test_entity_and_numeric_character_references_035", "tests/test_commonmark.py::TestCommonMark::test_entity_and_numeric_character_references_036", "tests/test_commonmark.py::TestCommonMark::test_entity_and_numeric_character_references_037", "tests/test_commonmark.py::TestCommonMark::test_entity_and_numeric_character_references_038", "tests/test_commonmark.py::TestCommonMark::test_entity_and_numeric_character_references_039", "tests/test_commonmark.py::TestCommonMark::test_entity_and_numeric_character_references_040", "tests/test_commonmark.py::TestCommonMark::test_entity_and_numeric_character_references_041", "tests/test_commonmark.py::TestCommonMark::test_fenced_code_blocks_119", "tests/test_commonmark.py::TestCommonMark::test_fenced_code_blocks_120", "tests/test_commonmark.py::TestCommonMark::test_fenced_code_blocks_121", "tests/test_commonmark.py::TestCommonMark::test_fenced_code_blocks_122", "tests/test_commonmark.py::TestCommonMark::test_fenced_code_blocks_123", "tests/test_commonmark.py::TestCommonMark::test_fenced_code_blocks_124", "tests/test_commonmark.py::TestCommonMark::test_fenced_code_blocks_125", "tests/test_commonmark.py::TestCommonMark::test_fenced_code_blocks_126", "tests/test_commonmark.py::TestCommonMark::test_fenced_code_blocks_127", "tests/test_commonmark.py::TestCommonMark::test_fenced_code_blocks_128", "tests/test_commonmark.py::TestCommonMark::test_fenced_code_blocks_129", "tests/test_commonmark.py::TestCommonMark::test_fenced_code_blocks_130", "tests/test_commonmark.py::TestCommonMark::test_fenced_code_blocks_131", "tests/test_commonmark.py::TestCommonMark::test_fenced_code_blocks_132", "tests/test_commonmark.py::TestCommonMark::test_fenced_code_blocks_133", "tests/test_commonmark.py::TestCommonMark::test_fenced_code_blocks_134", "tests/test_commonmark.py::TestCommonMark::test_fenced_code_blocks_135", "tests/test_commonmark.py::TestCommonMark::test_fenced_code_blocks_136", "tests/test_commonmark.py::TestCommonMark::test_fenced_code_blocks_137", "tests/test_commonmark.py::TestCommonMark::test_fenced_code_blocks_138", "tests/test_commonmark.py::TestCommonMark::test_fenced_code_blocks_139", "tests/test_commonmark.py::TestCommonMark::test_fenced_code_blocks_140", "tests/test_commonmark.py::TestCommonMark::test_fenced_code_blocks_141", "tests/test_commonmark.py::TestCommonMark::test_fenced_code_blocks_142", "tests/test_commonmark.py::TestCommonMark::test_fenced_code_blocks_143", "tests/test_commonmark.py::TestCommonMark::test_fenced_code_blocks_144", "tests/test_commonmark.py::TestCommonMark::test_fenced_code_blocks_145", "tests/test_commonmark.py::TestCommonMark::test_fenced_code_blocks_146", "tests/test_commonmark.py::TestCommonMark::test_fenced_code_blocks_147", "tests/test_commonmark.py::TestCommonMark::test_hard_line_breaks_633", "tests/test_commonmark.py::TestCommonMark::test_hard_line_breaks_634", "tests/test_commonmark.py::TestCommonMark::test_hard_line_breaks_635", "tests/test_commonmark.py::TestCommonMark::test_hard_line_breaks_636", "tests/test_commonmark.py::TestCommonMark::test_hard_line_breaks_637", "tests/test_commonmark.py::TestCommonMark::test_hard_line_breaks_638", "tests/test_commonmark.py::TestCommonMark::test_hard_line_breaks_639", "tests/test_commonmark.py::TestCommonMark::test_hard_line_breaks_640", "tests/test_commonmark.py::TestCommonMark::test_hard_line_breaks_641", "tests/test_commonmark.py::TestCommonMark::test_hard_line_breaks_642", "tests/test_commonmark.py::TestCommonMark::test_hard_line_breaks_643", "tests/test_commonmark.py::TestCommonMark::test_hard_line_breaks_644", "tests/test_commonmark.py::TestCommonMark::test_hard_line_breaks_645", "tests/test_commonmark.py::TestCommonMark::test_hard_line_breaks_646", "tests/test_commonmark.py::TestCommonMark::test_hard_line_breaks_647", "tests/test_commonmark.py::TestCommonMark::test_html_blocks_148", "tests/test_commonmark.py::TestCommonMark::test_html_blocks_149", "tests/test_commonmark.py::TestCommonMark::test_html_blocks_150", "tests/test_commonmark.py::TestCommonMark::test_html_blocks_151", "tests/test_commonmark.py::TestCommonMark::test_html_blocks_152", "tests/test_commonmark.py::TestCommonMark::test_html_blocks_153", "tests/test_commonmark.py::TestCommonMark::test_html_blocks_154", "tests/test_commonmark.py::TestCommonMark::test_html_blocks_155", "tests/test_commonmark.py::TestCommonMark::test_html_blocks_156", "tests/test_commonmark.py::TestCommonMark::test_html_blocks_157", "tests/test_commonmark.py::TestCommonMark::test_html_blocks_158", "tests/test_commonmark.py::TestCommonMark::test_html_blocks_159", "tests/test_commonmark.py::TestCommonMark::test_html_blocks_160", "tests/test_commonmark.py::TestCommonMark::test_html_blocks_161", "tests/test_commonmark.py::TestCommonMark::test_html_blocks_162", "tests/test_commonmark.py::TestCommonMark::test_html_blocks_163", "tests/test_commonmark.py::TestCommonMark::test_html_blocks_164", "tests/test_commonmark.py::TestCommonMark::test_html_blocks_165", "tests/test_commonmark.py::TestCommonMark::test_html_blocks_166", "tests/test_commonmark.py::TestCommonMark::test_html_blocks_167", "tests/test_commonmark.py::TestCommonMark::test_html_blocks_168", "tests/test_commonmark.py::TestCommonMark::test_html_blocks_169", "tests/test_commonmark.py::TestCommonMark::test_html_blocks_170", "tests/test_commonmark.py::TestCommonMark::test_html_blocks_171", "tests/test_commonmark.py::TestCommonMark::test_html_blocks_172", "tests/test_commonmark.py::TestCommonMark::test_html_blocks_173", "tests/test_commonmark.py::TestCommonMark::test_html_blocks_174", "tests/test_commonmark.py::TestCommonMark::test_html_blocks_175", "tests/test_commonmark.py::TestCommonMark::test_html_blocks_176", "tests/test_commonmark.py::TestCommonMark::test_html_blocks_177", "tests/test_commonmark.py::TestCommonMark::test_html_blocks_178", "tests/test_commonmark.py::TestCommonMark::test_html_blocks_179", "tests/test_commonmark.py::TestCommonMark::test_html_blocks_180", "tests/test_commonmark.py::TestCommonMark::test_html_blocks_181", "tests/test_commonmark.py::TestCommonMark::test_html_blocks_182", "tests/test_commonmark.py::TestCommonMark::test_html_blocks_183", "tests/test_commonmark.py::TestCommonMark::test_html_blocks_184", "tests/test_commonmark.py::TestCommonMark::test_html_blocks_185", "tests/test_commonmark.py::TestCommonMark::test_html_blocks_186", "tests/test_commonmark.py::TestCommonMark::test_html_blocks_187", "tests/test_commonmark.py::TestCommonMark::test_html_blocks_188", "tests/test_commonmark.py::TestCommonMark::test_html_blocks_189", "tests/test_commonmark.py::TestCommonMark::test_html_blocks_190", "tests/test_commonmark.py::TestCommonMark::test_images_571", "tests/test_commonmark.py::TestCommonMark::test_images_572", "tests/test_commonmark.py::TestCommonMark::test_images_574", "tests/test_commonmark.py::TestCommonMark::test_images_575", "tests/test_commonmark.py::TestCommonMark::test_images_576", "tests/test_commonmark.py::TestCommonMark::test_images_577", "tests/test_commonmark.py::TestCommonMark::test_images_578", "tests/test_commonmark.py::TestCommonMark::test_images_579", "tests/test_commonmark.py::TestCommonMark::test_images_580", "tests/test_commonmark.py::TestCommonMark::test_images_581", "tests/test_commonmark.py::TestCommonMark::test_images_582", "tests/test_commonmark.py::TestCommonMark::test_images_583", "tests/test_commonmark.py::TestCommonMark::test_images_584", "tests/test_commonmark.py::TestCommonMark::test_images_585", "tests/test_commonmark.py::TestCommonMark::test_images_586", "tests/test_commonmark.py::TestCommonMark::test_images_587", "tests/test_commonmark.py::TestCommonMark::test_images_588", "tests/test_commonmark.py::TestCommonMark::test_images_589", "tests/test_commonmark.py::TestCommonMark::test_images_590", "tests/test_commonmark.py::TestCommonMark::test_images_591", "tests/test_commonmark.py::TestCommonMark::test_images_592", "tests/test_commonmark.py::TestCommonMark::test_indented_code_blocks_107", "tests/test_commonmark.py::TestCommonMark::test_indented_code_blocks_108", "tests/test_commonmark.py::TestCommonMark::test_indented_code_blocks_109", "tests/test_commonmark.py::TestCommonMark::test_indented_code_blocks_110", "tests/test_commonmark.py::TestCommonMark::test_indented_code_blocks_111", "tests/test_commonmark.py::TestCommonMark::test_indented_code_blocks_112", "tests/test_commonmark.py::TestCommonMark::test_indented_code_blocks_113", "tests/test_commonmark.py::TestCommonMark::test_indented_code_blocks_114", "tests/test_commonmark.py::TestCommonMark::test_indented_code_blocks_115", "tests/test_commonmark.py::TestCommonMark::test_indented_code_blocks_116", "tests/test_commonmark.py::TestCommonMark::test_indented_code_blocks_117", "tests/test_commonmark.py::TestCommonMark::test_indented_code_blocks_118", "tests/test_commonmark.py::TestCommonMark::test_inlines_327", "tests/test_commonmark.py::TestCommonMark::test_link_reference_definitions_192", "tests/test_commonmark.py::TestCommonMark::test_link_reference_definitions_193", "tests/test_commonmark.py::TestCommonMark::test_link_reference_definitions_194", "tests/test_commonmark.py::TestCommonMark::test_link_reference_definitions_195", "tests/test_commonmark.py::TestCommonMark::test_link_reference_definitions_196", "tests/test_commonmark.py::TestCommonMark::test_link_reference_definitions_197", "tests/test_commonmark.py::TestCommonMark::test_link_reference_definitions_198", "tests/test_commonmark.py::TestCommonMark::test_link_reference_definitions_199", "tests/test_commonmark.py::TestCommonMark::test_link_reference_definitions_200", "tests/test_commonmark.py::TestCommonMark::test_link_reference_definitions_201", "tests/test_commonmark.py::TestCommonMark::test_link_reference_definitions_202", "tests/test_commonmark.py::TestCommonMark::test_link_reference_definitions_203", "tests/test_commonmark.py::TestCommonMark::test_link_reference_definitions_204", "tests/test_commonmark.py::TestCommonMark::test_link_reference_definitions_205", "tests/test_commonmark.py::TestCommonMark::test_link_reference_definitions_206", "tests/test_commonmark.py::TestCommonMark::test_link_reference_definitions_207", "tests/test_commonmark.py::TestCommonMark::test_link_reference_definitions_208", "tests/test_commonmark.py::TestCommonMark::test_link_reference_definitions_209", "tests/test_commonmark.py::TestCommonMark::test_link_reference_definitions_210", "tests/test_commonmark.py::TestCommonMark::test_link_reference_definitions_211", "tests/test_commonmark.py::TestCommonMark::test_link_reference_definitions_212", "tests/test_commonmark.py::TestCommonMark::test_link_reference_definitions_213", "tests/test_commonmark.py::TestCommonMark::test_link_reference_definitions_214", "tests/test_commonmark.py::TestCommonMark::test_link_reference_definitions_215", "tests/test_commonmark.py::TestCommonMark::test_link_reference_definitions_216", "tests/test_commonmark.py::TestCommonMark::test_link_reference_definitions_217", "tests/test_commonmark.py::TestCommonMark::test_link_reference_definitions_218", "tests/test_commonmark.py::TestCommonMark::test_links_481", "tests/test_commonmark.py::TestCommonMark::test_links_482", "tests/test_commonmark.py::TestCommonMark::test_links_483", "tests/test_commonmark.py::TestCommonMark::test_links_484", "tests/test_commonmark.py::TestCommonMark::test_links_485", "tests/test_commonmark.py::TestCommonMark::test_links_486", "tests/test_commonmark.py::TestCommonMark::test_links_487", "tests/test_commonmark.py::TestCommonMark::test_links_488", "tests/test_commonmark.py::TestCommonMark::test_links_489", "tests/test_commonmark.py::TestCommonMark::test_links_490", "tests/test_commonmark.py::TestCommonMark::test_links_491", "tests/test_commonmark.py::TestCommonMark::test_links_492", "tests/test_commonmark.py::TestCommonMark::test_links_493", "tests/test_commonmark.py::TestCommonMark::test_links_494", "tests/test_commonmark.py::TestCommonMark::test_links_497", "tests/test_commonmark.py::TestCommonMark::test_links_498", "tests/test_commonmark.py::TestCommonMark::test_links_499", "tests/test_commonmark.py::TestCommonMark::test_links_500", "tests/test_commonmark.py::TestCommonMark::test_links_501", "tests/test_commonmark.py::TestCommonMark::test_links_502", "tests/test_commonmark.py::TestCommonMark::test_links_503", "tests/test_commonmark.py::TestCommonMark::test_links_505", "tests/test_commonmark.py::TestCommonMark::test_links_506", "tests/test_commonmark.py::TestCommonMark::test_links_507", "tests/test_commonmark.py::TestCommonMark::test_links_508", "tests/test_commonmark.py::TestCommonMark::test_links_509", "tests/test_commonmark.py::TestCommonMark::test_links_510", "tests/test_commonmark.py::TestCommonMark::test_links_511", "tests/test_commonmark.py::TestCommonMark::test_links_512", "tests/test_commonmark.py::TestCommonMark::test_links_513", "tests/test_commonmark.py::TestCommonMark::test_links_514", "tests/test_commonmark.py::TestCommonMark::test_links_515", "tests/test_commonmark.py::TestCommonMark::test_links_516", "tests/test_commonmark.py::TestCommonMark::test_links_520", "tests/test_commonmark.py::TestCommonMark::test_links_521", "tests/test_commonmark.py::TestCommonMark::test_links_522", "tests/test_commonmark.py::TestCommonMark::test_links_523", "tests/test_commonmark.py::TestCommonMark::test_links_524", "tests/test_commonmark.py::TestCommonMark::test_links_525", "tests/test_commonmark.py::TestCommonMark::test_links_526", "tests/test_commonmark.py::TestCommonMark::test_links_527", "tests/test_commonmark.py::TestCommonMark::test_links_528", "tests/test_commonmark.py::TestCommonMark::test_links_529", "tests/test_commonmark.py::TestCommonMark::test_links_530", "tests/test_commonmark.py::TestCommonMark::test_links_533", "tests/test_commonmark.py::TestCommonMark::test_links_534", "tests/test_commonmark.py::TestCommonMark::test_links_535", "tests/test_commonmark.py::TestCommonMark::test_links_536", "tests/test_commonmark.py::TestCommonMark::test_links_537", "tests/test_commonmark.py::TestCommonMark::test_links_538", "tests/test_commonmark.py::TestCommonMark::test_links_540", "tests/test_commonmark.py::TestCommonMark::test_links_541", "tests/test_commonmark.py::TestCommonMark::test_links_542", "tests/test_commonmark.py::TestCommonMark::test_links_543", "tests/test_commonmark.py::TestCommonMark::test_links_544", "tests/test_commonmark.py::TestCommonMark::test_links_545", "tests/test_commonmark.py::TestCommonMark::test_links_546", "tests/test_commonmark.py::TestCommonMark::test_links_547", "tests/test_commonmark.py::TestCommonMark::test_links_548", "tests/test_commonmark.py::TestCommonMark::test_links_549", "tests/test_commonmark.py::TestCommonMark::test_links_550", "tests/test_commonmark.py::TestCommonMark::test_links_551", "tests/test_commonmark.py::TestCommonMark::test_links_552", "tests/test_commonmark.py::TestCommonMark::test_links_553", "tests/test_commonmark.py::TestCommonMark::test_links_554", "tests/test_commonmark.py::TestCommonMark::test_links_555", "tests/test_commonmark.py::TestCommonMark::test_links_556", "tests/test_commonmark.py::TestCommonMark::test_links_557", "tests/test_commonmark.py::TestCommonMark::test_links_558", "tests/test_commonmark.py::TestCommonMark::test_links_559", "tests/test_commonmark.py::TestCommonMark::test_links_560", "tests/test_commonmark.py::TestCommonMark::test_links_561", "tests/test_commonmark.py::TestCommonMark::test_links_562", "tests/test_commonmark.py::TestCommonMark::test_links_563", "tests/test_commonmark.py::TestCommonMark::test_links_564", "tests/test_commonmark.py::TestCommonMark::test_links_565", "tests/test_commonmark.py::TestCommonMark::test_links_566", "tests/test_commonmark.py::TestCommonMark::test_links_567", "tests/test_commonmark.py::TestCommonMark::test_links_568", "tests/test_commonmark.py::TestCommonMark::test_links_569", "tests/test_commonmark.py::TestCommonMark::test_links_570", "tests/test_commonmark.py::TestCommonMark::test_list_items_253", "tests/test_commonmark.py::TestCommonMark::test_list_items_254", "tests/test_commonmark.py::TestCommonMark::test_list_items_255", "tests/test_commonmark.py::TestCommonMark::test_list_items_256", "tests/test_commonmark.py::TestCommonMark::test_list_items_257", "tests/test_commonmark.py::TestCommonMark::test_list_items_258", "tests/test_commonmark.py::TestCommonMark::test_list_items_259", "tests/test_commonmark.py::TestCommonMark::test_list_items_260", "tests/test_commonmark.py::TestCommonMark::test_list_items_261", "tests/test_commonmark.py::TestCommonMark::test_list_items_262", "tests/test_commonmark.py::TestCommonMark::test_list_items_263", "tests/test_commonmark.py::TestCommonMark::test_list_items_264", "tests/test_commonmark.py::TestCommonMark::test_list_items_265", "tests/test_commonmark.py::TestCommonMark::test_list_items_266", "tests/test_commonmark.py::TestCommonMark::test_list_items_267", "tests/test_commonmark.py::TestCommonMark::test_list_items_268", "tests/test_commonmark.py::TestCommonMark::test_list_items_269", "tests/test_commonmark.py::TestCommonMark::test_list_items_270", "tests/test_commonmark.py::TestCommonMark::test_list_items_271", "tests/test_commonmark.py::TestCommonMark::test_list_items_272", "tests/test_commonmark.py::TestCommonMark::test_list_items_273", "tests/test_commonmark.py::TestCommonMark::test_list_items_274", "tests/test_commonmark.py::TestCommonMark::test_list_items_275", "tests/test_commonmark.py::TestCommonMark::test_list_items_276", "tests/test_commonmark.py::TestCommonMark::test_list_items_277", "tests/test_commonmark.py::TestCommonMark::test_list_items_278", "tests/test_commonmark.py::TestCommonMark::test_list_items_279", "tests/test_commonmark.py::TestCommonMark::test_list_items_280", "tests/test_commonmark.py::TestCommonMark::test_list_items_281", "tests/test_commonmark.py::TestCommonMark::test_list_items_282", "tests/test_commonmark.py::TestCommonMark::test_list_items_283", "tests/test_commonmark.py::TestCommonMark::test_list_items_284", "tests/test_commonmark.py::TestCommonMark::test_list_items_285", "tests/test_commonmark.py::TestCommonMark::test_list_items_286", "tests/test_commonmark.py::TestCommonMark::test_list_items_287", "tests/test_commonmark.py::TestCommonMark::test_list_items_288", "tests/test_commonmark.py::TestCommonMark::test_list_items_289", "tests/test_commonmark.py::TestCommonMark::test_list_items_290", "tests/test_commonmark.py::TestCommonMark::test_list_items_291", "tests/test_commonmark.py::TestCommonMark::test_list_items_292", "tests/test_commonmark.py::TestCommonMark::test_list_items_293", "tests/test_commonmark.py::TestCommonMark::test_list_items_294", "tests/test_commonmark.py::TestCommonMark::test_list_items_295", "tests/test_commonmark.py::TestCommonMark::test_list_items_296", "tests/test_commonmark.py::TestCommonMark::test_list_items_297", "tests/test_commonmark.py::TestCommonMark::test_list_items_298", "tests/test_commonmark.py::TestCommonMark::test_list_items_299", "tests/test_commonmark.py::TestCommonMark::test_list_items_300", "tests/test_commonmark.py::TestCommonMark::test_lists_301", "tests/test_commonmark.py::TestCommonMark::test_lists_302", "tests/test_commonmark.py::TestCommonMark::test_lists_303", "tests/test_commonmark.py::TestCommonMark::test_lists_304", "tests/test_commonmark.py::TestCommonMark::test_lists_305", "tests/test_commonmark.py::TestCommonMark::test_lists_306", "tests/test_commonmark.py::TestCommonMark::test_lists_307", "tests/test_commonmark.py::TestCommonMark::test_lists_308", "tests/test_commonmark.py::TestCommonMark::test_lists_309", "tests/test_commonmark.py::TestCommonMark::test_lists_310", "tests/test_commonmark.py::TestCommonMark::test_lists_311", "tests/test_commonmark.py::TestCommonMark::test_lists_312", "tests/test_commonmark.py::TestCommonMark::test_lists_313", "tests/test_commonmark.py::TestCommonMark::test_lists_314", "tests/test_commonmark.py::TestCommonMark::test_lists_315", "tests/test_commonmark.py::TestCommonMark::test_lists_316", "tests/test_commonmark.py::TestCommonMark::test_lists_317", "tests/test_commonmark.py::TestCommonMark::test_lists_318", "tests/test_commonmark.py::TestCommonMark::test_lists_319", "tests/test_commonmark.py::TestCommonMark::test_lists_320", "tests/test_commonmark.py::TestCommonMark::test_lists_321", "tests/test_commonmark.py::TestCommonMark::test_lists_322", "tests/test_commonmark.py::TestCommonMark::test_lists_323", "tests/test_commonmark.py::TestCommonMark::test_lists_324", "tests/test_commonmark.py::TestCommonMark::test_lists_325", "tests/test_commonmark.py::TestCommonMark::test_lists_326", "tests/test_commonmark.py::TestCommonMark::test_paragraphs_219", "tests/test_commonmark.py::TestCommonMark::test_paragraphs_220", "tests/test_commonmark.py::TestCommonMark::test_paragraphs_221", "tests/test_commonmark.py::TestCommonMark::test_paragraphs_222", "tests/test_commonmark.py::TestCommonMark::test_paragraphs_223", "tests/test_commonmark.py::TestCommonMark::test_paragraphs_224", "tests/test_commonmark.py::TestCommonMark::test_paragraphs_225", "tests/test_commonmark.py::TestCommonMark::test_paragraphs_226", "tests/test_commonmark.py::TestCommonMark::test_precedence_042", "tests/test_commonmark.py::TestCommonMark::test_raw_html_612", "tests/test_commonmark.py::TestCommonMark::test_raw_html_613", "tests/test_commonmark.py::TestCommonMark::test_raw_html_614", "tests/test_commonmark.py::TestCommonMark::test_raw_html_615", "tests/test_commonmark.py::TestCommonMark::test_raw_html_616", "tests/test_commonmark.py::TestCommonMark::test_raw_html_617", "tests/test_commonmark.py::TestCommonMark::test_raw_html_618", "tests/test_commonmark.py::TestCommonMark::test_raw_html_619", "tests/test_commonmark.py::TestCommonMark::test_raw_html_620", "tests/test_commonmark.py::TestCommonMark::test_raw_html_621", "tests/test_commonmark.py::TestCommonMark::test_raw_html_622", "tests/test_commonmark.py::TestCommonMark::test_raw_html_623", "tests/test_commonmark.py::TestCommonMark::test_raw_html_624", "tests/test_commonmark.py::TestCommonMark::test_raw_html_625", "tests/test_commonmark.py::TestCommonMark::test_raw_html_626", "tests/test_commonmark.py::TestCommonMark::test_raw_html_627", "tests/test_commonmark.py::TestCommonMark::test_raw_html_628", "tests/test_commonmark.py::TestCommonMark::test_raw_html_629", "tests/test_commonmark.py::TestCommonMark::test_raw_html_630", "tests/test_commonmark.py::TestCommonMark::test_raw_html_631", "tests/test_commonmark.py::TestCommonMark::test_raw_html_632", "tests/test_commonmark.py::TestCommonMark::test_setext_headings_080", "tests/test_commonmark.py::TestCommonMark::test_setext_headings_081", "tests/test_commonmark.py::TestCommonMark::test_setext_headings_082", "tests/test_commonmark.py::TestCommonMark::test_setext_headings_083", "tests/test_commonmark.py::TestCommonMark::test_setext_headings_084", "tests/test_commonmark.py::TestCommonMark::test_setext_headings_085", "tests/test_commonmark.py::TestCommonMark::test_setext_headings_086", "tests/test_commonmark.py::TestCommonMark::test_setext_headings_087", "tests/test_commonmark.py::TestCommonMark::test_setext_headings_088", "tests/test_commonmark.py::TestCommonMark::test_setext_headings_089", "tests/test_commonmark.py::TestCommonMark::test_setext_headings_090", "tests/test_commonmark.py::TestCommonMark::test_setext_headings_091", "tests/test_commonmark.py::TestCommonMark::test_setext_headings_092", "tests/test_commonmark.py::TestCommonMark::test_setext_headings_094", "tests/test_commonmark.py::TestCommonMark::test_setext_headings_095", "tests/test_commonmark.py::TestCommonMark::test_setext_headings_096", "tests/test_commonmark.py::TestCommonMark::test_setext_headings_097", "tests/test_commonmark.py::TestCommonMark::test_setext_headings_098", "tests/test_commonmark.py::TestCommonMark::test_setext_headings_099", "tests/test_commonmark.py::TestCommonMark::test_setext_headings_100", "tests/test_commonmark.py::TestCommonMark::test_setext_headings_101", "tests/test_commonmark.py::TestCommonMark::test_setext_headings_102", "tests/test_commonmark.py::TestCommonMark::test_setext_headings_103", "tests/test_commonmark.py::TestCommonMark::test_setext_headings_104", "tests/test_commonmark.py::TestCommonMark::test_setext_headings_105", "tests/test_commonmark.py::TestCommonMark::test_setext_headings_106", "tests/test_commonmark.py::TestCommonMark::test_soft_line_breaks_648", "tests/test_commonmark.py::TestCommonMark::test_soft_line_breaks_649", "tests/test_commonmark.py::TestCommonMark::test_tabs_003", "tests/test_commonmark.py::TestCommonMark::test_tabs_010", "tests/test_commonmark.py::TestCommonMark::test_tabs_011", "tests/test_commonmark.py::TestCommonMark::test_textual_content_650", "tests/test_commonmark.py::TestCommonMark::test_textual_content_651", "tests/test_commonmark.py::TestCommonMark::test_textual_content_652", "tests/test_commonmark.py::TestCommonMark::test_thematic_breaks_043", "tests/test_commonmark.py::TestCommonMark::test_thematic_breaks_044", "tests/test_commonmark.py::TestCommonMark::test_thematic_breaks_045", "tests/test_commonmark.py::TestCommonMark::test_thematic_breaks_046", "tests/test_commonmark.py::TestCommonMark::test_thematic_breaks_047", "tests/test_commonmark.py::TestCommonMark::test_thematic_breaks_048", "tests/test_commonmark.py::TestCommonMark::test_thematic_breaks_049", "tests/test_commonmark.py::TestCommonMark::test_thematic_breaks_050", "tests/test_commonmark.py::TestCommonMark::test_thematic_breaks_051", "tests/test_commonmark.py::TestCommonMark::test_thematic_breaks_052", "tests/test_commonmark.py::TestCommonMark::test_thematic_breaks_053", "tests/test_commonmark.py::TestCommonMark::test_thematic_breaks_054", "tests/test_commonmark.py::TestCommonMark::test_thematic_breaks_055", "tests/test_commonmark.py::TestCommonMark::test_thematic_breaks_056", "tests/test_commonmark.py::TestCommonMark::test_thematic_breaks_057", "tests/test_commonmark.py::TestCommonMark::test_thematic_breaks_058", "tests/test_commonmark.py::TestCommonMark::test_thematic_breaks_059", "tests/test_commonmark.py::TestCommonMark::test_thematic_breaks_060", "tests/test_commonmark.py::TestCommonMark::test_thematic_breaks_061", "tests/test_directives.py::TestDirective_rst_admonition::test_admonition_001", "tests/test_directives.py::TestDirective_rst_admonition::test_admonition_002", "tests/test_directives.py::TestDirective_rst_admonition::test_admonition_003", "tests/test_directives.py::TestDirective_rst_admonition::test_admonition_004", "tests/test_directives.py::TestDirective_rst_toc::test_collapse_toc_001", "tests/test_directives.py::TestDirective_rst_toc::test_complex_001", "tests/test_directives.py::TestDirective_rst_toc::test_html_in_heading_001", "tests/test_directives.py::TestDirective_rst_toc::test_insane_001", "tests/test_directives.py::TestDirective_rst_toc::test_insane_002", "tests/test_directives.py::TestDirective_rst_toc::test_invalid_option_001", "tests/test_directives.py::TestDirective_rst_toc::test_invalid_option_002", "tests/test_directives.py::TestDirective_rst_toc::test_invalid_option_003", "tests/test_directives.py::TestDirective_rst_toc::test_link_in_heading_001", "tests/test_directives.py::TestDirective_rst_toc::test_no_toc_001", "tests/test_directives.py::TestDirective_rst_toc::test_no_toc_002", "tests/test_directives.py::TestDirective_rst_toc::test_simple_toc_001", "tests/test_directives.py::TestDirective_fenced_admonition::test_admonition_001", "tests/test_directives.py::TestDirective_fenced_admonition::test_admonition_002", "tests/test_directives.py::TestDirective_fenced_admonition::test_admonition_003", "tests/test_directives.py::TestDirective_fenced_admonition::test_admonition_004", "tests/test_directives.py::TestDirective_fenced_admonition::test_admonition_005", "tests/test_directives.py::TestDirective_fenced_admonition::test_admonition_006", "tests/test_directives.py::TestDirective_fenced_admonition::test_admonition_007", "tests/test_directives.py::TestDirective_fenced_admonition::test_admonition_008", "tests/test_directives.py::TestDirective_fenced_toc::test_collapse_toc_001", "tests/test_directives.py::TestDirective_fenced_toc::test_complex_001", "tests/test_directives.py::TestDirective_fenced_toc::test_html_in_heading_001", "tests/test_directives.py::TestDirective_fenced_toc::test_insane_001", "tests/test_directives.py::TestDirective_fenced_toc::test_insane_002", "tests/test_directives.py::TestDirective_fenced_toc::test_invalid_option_001", "tests/test_directives.py::TestDirective_fenced_toc::test_invalid_option_002", "tests/test_directives.py::TestDirective_fenced_toc::test_invalid_option_003", "tests/test_directives.py::TestDirective_fenced_toc::test_link_in_heading_001", "tests/test_directives.py::TestDirective_fenced_toc::test_no_toc_001", "tests/test_directives.py::TestDirective_fenced_toc::test_no_toc_002", "tests/test_directives.py::TestDirective_fenced_toc::test_simple_toc_001", "tests/test_directives.py::TestDirective_fenced_image::test_align_options_001", "tests/test_directives.py::TestDirective_fenced_image::test_align_options_002", "tests/test_directives.py::TestDirective_fenced_image::test_all_options_001", "tests/test_directives.py::TestDirective_fenced_image::test_alt_option_001", "tests/test_directives.py::TestDirective_fenced_image::test_ampersand_in_source_001", "tests/test_directives.py::TestDirective_fenced_image::test_ampersand_in_target_001", "tests/test_directives.py::TestDirective_fenced_image::test_no_options_001", "tests/test_directives.py::TestDirective_fenced_image::test_target_option_001", "tests/test_directives.py::TestDirective_fenced_image::test_width_and_height_001", "tests/test_directives.py::TestDirective_fenced_image::test_width_and_height_002", "tests/test_directives.py::TestDirective_fenced_figure::test_align_options_001", "tests/test_directives.py::TestDirective_fenced_figure::test_align_options_002", "tests/test_directives.py::TestDirective_fenced_figure::test_all_options_001", "tests/test_directives.py::TestDirective_fenced_figure::test_alt_option_001", "tests/test_directives.py::TestDirective_fenced_figure::test_caption_001", "tests/test_directives.py::TestDirective_fenced_figure::test_legend_001", "tests/test_directives.py::TestDirective_fenced_figure::test_legend_002", "tests/test_directives.py::TestDirective_fenced_figure::test_no_options_001", "tests/test_directives.py::TestDirective_fenced_figure::test_target_option_001", "tests/test_directives.py::TestDirective_fenced_figure::test_width_and_height_001", "tests/test_directives.py::TestDirective_fenced_figure::test_width_and_height_002", "tests/test_directives.py::TestDirective_fenced_figure::test_width_and_height_003", "tests/test_directives.py::TestCustomizeToc::test_colon_fenced_toc", "tests/test_directives.py::TestCustomizeToc::test_fenced_toc", "tests/test_directives.py::TestCustomizeToc::test_rst_toc", "tests/test_directives.py::TestDirectiveInclude::test_html_include", "tests/test_directives.py::TestDirectiveInclude::test_include_missing_source", "tests/test_hooks.py::TestTocHook::test_complex_toc_001", "tests/test_hooks.py::TestTocHook::test_customize_heading_id_func", "tests/test_hooks.py::TestTocHook::test_html_in_heading_001", "tests/test_hooks.py::TestTocHook::test_insane_toc_001", "tests/test_hooks.py::TestTocHook::test_insane_toc_002", "tests/test_hooks.py::TestTocHook::test_link_in_heading_001", "tests/test_hooks.py::TestTocHook::test_simple_toc_001", "tests/test_misc.py::TestMiscCases::test_allow_data_protocols", "tests/test_misc.py::TestMiscCases::test_allow_harmful_protocols", "tests/test_misc.py::TestMiscCases::test_ast_output", "tests/test_misc.py::TestMiscCases::test_ast_url", "tests/test_misc.py::TestMiscCases::test_before_parse_hooks", "tests/test_misc.py::TestMiscCases::test_emsp", "tests/test_misc.py::TestMiscCases::test_escape_html", "tests/test_misc.py::TestMiscCases::test_hard_wrap", "tests/test_misc.py::TestMiscCases::test_harmful_links", "tests/test_misc.py::TestMiscCases::test_html_tag_text_following_list", "tests/test_misc.py::TestMiscCases::test_markdown_func", "tests/test_misc.py::TestMiscCases::test_none", "tests/test_misc.py::TestMiscCases::test_ref_link", "tests/test_misc.py::TestMiscCases::test_use_plugin", "tests/test_plugins.py::TestPlugin1_url::test_url_plugin_001", "tests/test_plugins.py::TestPlugin1_url::test_url_plugin_002", "tests/test_plugins.py::TestPlugin1_url::test_url_plugin_003", "tests/test_plugins.py::TestPlugin2_url::test_url_plugin_001", "tests/test_plugins.py::TestPlugin2_url::test_url_plugin_002", "tests/test_plugins.py::TestPlugin2_url::test_url_plugin_003", "tests/test_plugins.py::TestPlugin1_strikethrough::test_strikethrough_001", "tests/test_plugins.py::TestPlugin1_strikethrough::test_strikethrough_002", "tests/test_plugins.py::TestPlugin1_strikethrough::test_strikethrough_003", "tests/test_plugins.py::TestPlugin1_strikethrough::test_strikethrough_004", "tests/test_plugins.py::TestPlugin1_strikethrough::test_strikethrough_005", "tests/test_plugins.py::TestPlugin1_strikethrough::test_strikethrough_006", "tests/test_plugins.py::TestPlugin1_strikethrough::test_strikethrough_007", "tests/test_plugins.py::TestPlugin2_strikethrough::test_strikethrough_001", "tests/test_plugins.py::TestPlugin2_strikethrough::test_strikethrough_002", "tests/test_plugins.py::TestPlugin2_strikethrough::test_strikethrough_003", "tests/test_plugins.py::TestPlugin2_strikethrough::test_strikethrough_004", "tests/test_plugins.py::TestPlugin2_strikethrough::test_strikethrough_005", "tests/test_plugins.py::TestPlugin2_strikethrough::test_strikethrough_006", "tests/test_plugins.py::TestPlugin2_strikethrough::test_strikethrough_007", "tests/test_plugins.py::TestPlugin1_mark::test_escape_mark_001", "tests/test_plugins.py::TestPlugin1_mark::test_escape_mark_002", "tests/test_plugins.py::TestPlugin1_mark::test_mark_001", "tests/test_plugins.py::TestPlugin1_mark::test_mark_link_001", "tests/test_plugins.py::TestPlugin1_mark::test_mark_link_002", "tests/test_plugins.py::TestPlugin1_mark::test_normal_mark_001", "tests/test_plugins.py::TestPlugin1_mark::test_normal_mark_002", "tests/test_plugins.py::TestPlugin1_mark::test_normal_mark_003", "tests/test_plugins.py::TestPlugin1_mark::test_normal_mark_004", "tests/test_plugins.py::TestPlugin2_mark::test_escape_mark_001", "tests/test_plugins.py::TestPlugin2_mark::test_escape_mark_002", "tests/test_plugins.py::TestPlugin2_mark::test_mark_001", "tests/test_plugins.py::TestPlugin2_mark::test_mark_link_001", "tests/test_plugins.py::TestPlugin2_mark::test_mark_link_002", "tests/test_plugins.py::TestPlugin2_mark::test_normal_mark_001", "tests/test_plugins.py::TestPlugin2_mark::test_normal_mark_002", "tests/test_plugins.py::TestPlugin2_mark::test_normal_mark_003", "tests/test_plugins.py::TestPlugin2_mark::test_normal_mark_004", "tests/test_plugins.py::TestPlugin1_insert::test_escape_insert_001", "tests/test_plugins.py::TestPlugin1_insert::test_escape_insert_002", "tests/test_plugins.py::TestPlugin1_insert::test_insert_001", "tests/test_plugins.py::TestPlugin1_insert::test_insert_link_001", "tests/test_plugins.py::TestPlugin1_insert::test_insert_link_002", "tests/test_plugins.py::TestPlugin1_insert::test_normal_insert_001", "tests/test_plugins.py::TestPlugin1_insert::test_normal_insert_002", "tests/test_plugins.py::TestPlugin1_insert::test_normal_insert_003", "tests/test_plugins.py::TestPlugin1_insert::test_normal_insert_004", "tests/test_plugins.py::TestPlugin2_insert::test_escape_insert_001", "tests/test_plugins.py::TestPlugin2_insert::test_escape_insert_002", "tests/test_plugins.py::TestPlugin2_insert::test_insert_001", "tests/test_plugins.py::TestPlugin2_insert::test_insert_link_001", "tests/test_plugins.py::TestPlugin2_insert::test_insert_link_002", "tests/test_plugins.py::TestPlugin2_insert::test_normal_insert_001", "tests/test_plugins.py::TestPlugin2_insert::test_normal_insert_002", "tests/test_plugins.py::TestPlugin2_insert::test_normal_insert_003", "tests/test_plugins.py::TestPlugin2_insert::test_normal_insert_004", "tests/test_plugins.py::TestPlugin1_superscript::test_superscript_001", "tests/test_plugins.py::TestPlugin1_superscript::test_superscript_002", "tests/test_plugins.py::TestPlugin1_superscript::test_superscript_003", "tests/test_plugins.py::TestPlugin1_superscript::test_superscript_004", "tests/test_plugins.py::TestPlugin2_superscript::test_superscript_001", "tests/test_plugins.py::TestPlugin2_superscript::test_superscript_002", "tests/test_plugins.py::TestPlugin2_superscript::test_superscript_003", "tests/test_plugins.py::TestPlugin2_superscript::test_superscript_004", "tests/test_plugins.py::TestPlugin1_subscript::test_subscript_001", "tests/test_plugins.py::TestPlugin1_subscript::test_subscript_002", "tests/test_plugins.py::TestPlugin1_subscript::test_subscript_003", "tests/test_plugins.py::TestPlugin1_subscript::test_subscript_004", "tests/test_plugins.py::TestPlugin2_subscript::test_subscript_001", "tests/test_plugins.py::TestPlugin2_subscript::test_subscript_002", "tests/test_plugins.py::TestPlugin2_subscript::test_subscript_003", "tests/test_plugins.py::TestPlugin2_subscript::test_subscript_004", "tests/test_plugins.py::TestPlugin1_task_lists::test_task_lists_001", "tests/test_plugins.py::TestPlugin1_task_lists::test_task_lists_002", "tests/test_plugins.py::TestPlugin1_task_lists::test_task_lists_003", "tests/test_plugins.py::TestPlugin1_task_lists::test_task_lists_004", "tests/test_plugins.py::TestPlugin1_task_lists::test_task_lists_005", "tests/test_plugins.py::TestPlugin1_task_lists::test_task_lists_006", "tests/test_plugins.py::TestPlugin1_task_lists::test_task_lists_007", "tests/test_plugins.py::TestPlugin1_task_lists::test_task_lists_008", "tests/test_plugins.py::TestPlugin2_task_lists::test_task_lists_001", "tests/test_plugins.py::TestPlugin2_task_lists::test_task_lists_002", "tests/test_plugins.py::TestPlugin2_task_lists::test_task_lists_003", "tests/test_plugins.py::TestPlugin2_task_lists::test_task_lists_004", "tests/test_plugins.py::TestPlugin2_task_lists::test_task_lists_005", "tests/test_plugins.py::TestPlugin2_task_lists::test_task_lists_006", "tests/test_plugins.py::TestPlugin2_task_lists::test_task_lists_007", "tests/test_plugins.py::TestPlugin2_task_lists::test_task_lists_008", "tests/test_plugins.py::TestPlugin1_table::test_align_table_001", "tests/test_plugins.py::TestPlugin1_table::test_align_table_002", "tests/test_plugins.py::TestPlugin1_table::test_misc_table_001", "tests/test_plugins.py::TestPlugin1_table::test_misc_table_002", "tests/test_plugins.py::TestPlugin1_table::test_misc_table_003", "tests/test_plugins.py::TestPlugin1_table::test_mismatch_length_001", "tests/test_plugins.py::TestPlugin1_table::test_mismatch_length_002", "tests/test_plugins.py::TestPlugin1_table::test_mismatch_length_003", "tests/test_plugins.py::TestPlugin1_table::test_mismatch_length_004", "tests/test_plugins.py::TestPlugin1_table::test_nptable_001", "tests/test_plugins.py::TestPlugin1_table::test_table_001", "tests/test_plugins.py::TestPlugin1_table::test_table_002", "tests/test_plugins.py::TestPlugin2_table::test_align_table_001", "tests/test_plugins.py::TestPlugin2_table::test_align_table_002", "tests/test_plugins.py::TestPlugin2_table::test_misc_table_001", "tests/test_plugins.py::TestPlugin2_table::test_misc_table_002", "tests/test_plugins.py::TestPlugin2_table::test_misc_table_003", "tests/test_plugins.py::TestPlugin2_table::test_mismatch_length_001", "tests/test_plugins.py::TestPlugin2_table::test_mismatch_length_002", "tests/test_plugins.py::TestPlugin2_table::test_mismatch_length_003", "tests/test_plugins.py::TestPlugin2_table::test_mismatch_length_004", "tests/test_plugins.py::TestPlugin2_table::test_nptable_001", "tests/test_plugins.py::TestPlugin2_table::test_table_001", "tests/test_plugins.py::TestPlugin2_table::test_table_002", "tests/test_plugins.py::TestPlugin1_def_list::test_definition_lists_001", "tests/test_plugins.py::TestPlugin1_def_list::test_definition_lists_002", "tests/test_plugins.py::TestPlugin1_def_list::test_definition_lists_003", "tests/test_plugins.py::TestPlugin1_def_list::test_definition_lists_004", "tests/test_plugins.py::TestPlugin1_def_list::test_definition_lists_005", "tests/test_plugins.py::TestPlugin1_def_list::test_definition_lists_006", "tests/test_plugins.py::TestPlugin1_def_list::test_definition_with_multiple_lines_001", "tests/test_plugins.py::TestPlugin1_def_list::test_definition_with_multiple_lines_002", "tests/test_plugins.py::TestPlugin1_def_list::test_definition_with_multiple_lines_003", "tests/test_plugins.py::TestPlugin1_def_list::test_definition_with_multiple_lines_004", "tests/test_plugins.py::TestPlugin1_def_list::test_definition_with_multiple_lines_005", "tests/test_plugins.py::TestPlugin2_def_list::test_definition_lists_001", "tests/test_plugins.py::TestPlugin2_def_list::test_definition_lists_002", "tests/test_plugins.py::TestPlugin2_def_list::test_definition_lists_003", "tests/test_plugins.py::TestPlugin2_def_list::test_definition_lists_004", "tests/test_plugins.py::TestPlugin2_def_list::test_definition_lists_005", "tests/test_plugins.py::TestPlugin2_def_list::test_definition_lists_006", "tests/test_plugins.py::TestPlugin2_def_list::test_definition_with_multiple_lines_001", "tests/test_plugins.py::TestPlugin2_def_list::test_definition_with_multiple_lines_002", "tests/test_plugins.py::TestPlugin2_def_list::test_definition_with_multiple_lines_003", "tests/test_plugins.py::TestPlugin2_def_list::test_definition_with_multiple_lines_004", "tests/test_plugins.py::TestPlugin2_def_list::test_definition_with_multiple_lines_005", "tests/test_plugins.py::TestPlugin1_footnotes::test_footnotes_001", "tests/test_plugins.py::TestPlugin1_footnotes::test_footnotes_002", "tests/test_plugins.py::TestPlugin1_footnotes::test_footnotes_003", "tests/test_plugins.py::TestPlugin2_footnotes::test_footnotes_001", "tests/test_plugins.py::TestPlugin2_footnotes::test_footnotes_002", "tests/test_plugins.py::TestPlugin2_footnotes::test_footnotes_003", "tests/test_plugins.py::TestPlugin1_abbr::test_abbreviation_001", "tests/test_plugins.py::TestPlugin1_abbr::test_abbreviation_002", "tests/test_plugins.py::TestPlugin1_abbr::test_abbreviation_003", "tests/test_plugins.py::TestPlugin1_abbr::test_abbreviation_004", "tests/test_plugins.py::TestPlugin1_abbr::test_abbreviation_005", "tests/test_plugins.py::TestPlugin1_abbr::test_abbreviation_006", "tests/test_plugins.py::TestPlugin1_abbr::test_abbreviation_007", "tests/test_plugins.py::TestPlugin1_abbr::test_abbreviation_008", "tests/test_plugins.py::TestPlugin1_abbr::test_abbreviation_009", "tests/test_plugins.py::TestPlugin1_abbr::test_abbreviation_010", "tests/test_plugins.py::TestPlugin2_abbr::test_abbreviation_001", "tests/test_plugins.py::TestPlugin2_abbr::test_abbreviation_002", "tests/test_plugins.py::TestPlugin2_abbr::test_abbreviation_003", "tests/test_plugins.py::TestPlugin2_abbr::test_abbreviation_004", "tests/test_plugins.py::TestPlugin2_abbr::test_abbreviation_005", "tests/test_plugins.py::TestPlugin2_abbr::test_abbreviation_006", "tests/test_plugins.py::TestPlugin2_abbr::test_abbreviation_007", "tests/test_plugins.py::TestPlugin2_abbr::test_abbreviation_008", "tests/test_plugins.py::TestPlugin2_abbr::test_abbreviation_009", "tests/test_plugins.py::TestPlugin2_abbr::test_abbreviation_010", "tests/test_plugins.py::TestPlugin1_math::test_block_math_001", "tests/test_plugins.py::TestPlugin1_math::test_block_math_002", "tests/test_plugins.py::TestPlugin1_math::test_block_math_003", "tests/test_plugins.py::TestPlugin1_math::test_block_math_004", "tests/test_plugins.py::TestPlugin1_math::test_inline_math_001", "tests/test_plugins.py::TestPlugin2_math::test_block_math_001", "tests/test_plugins.py::TestPlugin2_math::test_block_math_002", "tests/test_plugins.py::TestPlugin2_math::test_block_math_003", "tests/test_plugins.py::TestPlugin2_math::test_block_math_004", "tests/test_plugins.py::TestPlugin2_math::test_inline_math_001", "tests/test_plugins.py::TestPlugin1_ruby::test_ruby_splits_001", "tests/test_plugins.py::TestPlugin1_ruby::test_ruby_splits_002", "tests/test_plugins.py::TestPlugin1_ruby::test_ruby_with_link_001", "tests/test_plugins.py::TestPlugin1_ruby::test_ruby_with_link_002", "tests/test_plugins.py::TestPlugin1_ruby::test_ruby_with_link_003", "tests/test_plugins.py::TestPlugin1_ruby::test_ruby_without_link_001", "tests/test_plugins.py::TestPlugin1_ruby::test_ruby_without_link_002", "tests/test_plugins.py::TestPlugin1_ruby::test_ruby_without_link_003", "tests/test_plugins.py::TestPlugin1_ruby::test_ruby_without_link_004", "tests/test_plugins.py::TestPlugin2_ruby::test_ruby_splits_001", "tests/test_plugins.py::TestPlugin2_ruby::test_ruby_splits_002", "tests/test_plugins.py::TestPlugin2_ruby::test_ruby_with_link_001", "tests/test_plugins.py::TestPlugin2_ruby::test_ruby_with_link_002", "tests/test_plugins.py::TestPlugin2_ruby::test_ruby_with_link_003", "tests/test_plugins.py::TestPlugin2_ruby::test_ruby_without_link_001", "tests/test_plugins.py::TestPlugin2_ruby::test_ruby_without_link_002", "tests/test_plugins.py::TestPlugin2_ruby::test_ruby_without_link_003", "tests/test_plugins.py::TestPlugin2_ruby::test_ruby_without_link_004", "tests/test_plugins.py::TestPlugin1_spoiler::test_block_spoiler_001", "tests/test_plugins.py::TestPlugin1_spoiler::test_block_spoiler_002", "tests/test_plugins.py::TestPlugin1_spoiler::test_block_spoiler_003", "tests/test_plugins.py::TestPlugin1_spoiler::test_block_spoiler_004", "tests/test_plugins.py::TestPlugin1_spoiler::test_block_spoiler_005", "tests/test_plugins.py::TestPlugin1_spoiler::test_inline_spoiler_001", "tests/test_plugins.py::TestPlugin1_spoiler::test_inline_spoiler_002", "tests/test_plugins.py::TestPlugin1_spoiler::test_inline_spoiler_003", "tests/test_plugins.py::TestPlugin2_spoiler::test_block_spoiler_001", "tests/test_plugins.py::TestPlugin2_spoiler::test_block_spoiler_002", "tests/test_plugins.py::TestPlugin2_spoiler::test_block_spoiler_003", "tests/test_plugins.py::TestPlugin2_spoiler::test_block_spoiler_004", "tests/test_plugins.py::TestPlugin2_spoiler::test_block_spoiler_005", "tests/test_plugins.py::TestPlugin2_spoiler::test_inline_spoiler_001", "tests/test_plugins.py::TestPlugin2_spoiler::test_inline_spoiler_002", "tests/test_plugins.py::TestPlugin2_spoiler::test_inline_spoiler_003", "tests/test_plugins.py::TestExtraPlugins::test_math_in_list", "tests/test_plugins.py::TestExtraPlugins::test_math_in_quote", "tests/test_plugins.py::TestExtraPlugins::test_table_in_list", "tests/test_plugins.py::TestExtraPlugins::test_table_in_quote", "tests/test_renderers.py::TestRendererRst::test_images_001", "tests/test_renderers.py::TestRendererMarkdown::test_images_001", "tests/test_renderers.py::TestRendererMarkdown::test_links_001", "tests/test_renderers.py::TestRendererMarkdown::test_links_002", "tests/test_syntax.py::TestSyntax::test_emphasis_001", "tests/test_syntax.py::TestSyntax::test_image_001", "tests/test_syntax.py::TestSyntax::test_link_001", "tests/test_syntax.py::TestSyntax::test_link_002", "tests/test_syntax.py::TestSyntax::test_link_003", "tests/test_syntax.py::TestSyntax::test_links_001", "tests/test_syntax.py::TestSyntax::test_links_002", "tests/test_syntax.py::TestSyntax::test_max_depth_001", "tests/test_syntax.py::TestSyntax::test_max_depth_002", "tests/test_syntax.py::TestSyntax::test_non_aggressive_emphasis_001", "tests/test_syntax.py::TestSyntax::test_non_aggressive_emphasis_002", "tests/test_syntax.py::TestSyntax::test_non_aggressive_emphasis_003", "tests/test_syntax.py::TestSyntax::test_setext_headings_001", "tests/test_syntax.py::TestSyntax::test_setext_headings_002" ]}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128"""Trusted private pytest panel runner. Installed only in a fresh grader Job."""
import hashlibimport importlib.utilimport jsonimport osimport shutilimport statimport subprocessfrom pathlib import Path, PurePosixPath
def sha(raw): return hashlib.sha256(raw).hexdigest()
def safe(value): path = PurePosixPath(value) if ( path.is_absolute() or path.as_posix() != value or not path.parts or any(part in {".", "..", ".git"} for part in path.parts) ): raise ValueError("Unsafe trusted test path") return path
def restore(worktree, private, manifest): worktree, private = Path(worktree), Path(private) captured = {} for name, expected in manifest["files"].items(): path = private / safe(name) info = path.lstat() raw = path.read_bytes() if stat.S_ISREG(info.st_mode) else b"" if ( not stat.S_ISREG(info.st_mode) or len(raw) != expected["bytes"] or sha(raw) != expected["sha256"] or stat.S_IMODE(info.st_mode) != expected["mode"] ): raise ValueError("Trusted private test bytes or modes drifted") captured[name] = (raw, expected["mode"]) # Capture and verify every private byte before changing the submitted tree. for name in manifest["directory_roots"]: destination = worktree / safe(name) if destination.is_symlink(): raise ValueError("Submitted test directory is a symlink") for parent in destination.parents: if parent == worktree: break if parent.is_symlink(): raise ValueError("Submitted test parent is a symlink") if destination.exists(): if not destination.is_dir(): raise ValueError("Submitted test directory is not a directory") shutil.rmtree(destination) for name, (raw, mode) in captured.items(): destination = worktree / safe(name) for parent in destination.parents: if parent == worktree: break if parent.is_symlink(): raise ValueError("Submitted test parent is a symlink") if destination.is_symlink(): raise ValueError("Submitted trusted file is a symlink") destination.parent.mkdir(parents=True, exist_ok=True) destination.write_bytes(raw) destination.chmod(mode)
def run(worktree, private_root, output, invoke=None): private_root, output, worktree = Path(private_root), Path(output), Path(worktree) expected = json.loads((private_root / "expected-panels.json").read_bytes()) config = json.loads((private_root / "panel-config.json").read_bytes()) manifest = json.loads((private_root / "trusted-inventory.json").read_bytes()) restore(worktree, private_root / "trusted", manifest) output.mkdir(parents=True, exist_ok=True) for name in ( "reward.txt", "pass-to-pass.xml", "fail-to-pass.xml", "pytest-evidence.json", ): (output / name).unlink(missing_ok=True) environment = dict(os.environ) for key in ("PYTEST_ADDOPTS", "PYTEST_DISABLE_PLUGIN_AUTOLOAD", "PYTHONPATH"): environment.pop(key, None) commands, native_exit = [], 0 invoke = invoke or subprocess.run for group in ("pass-to-pass", "fail-to-pass"): if ( not isinstance(expected[group], list) or not expected[group] or any( not isinstance(target, str) or not target for target in expected[group] ) ): raise ValueError("Frozen native pytest selectors are incomplete") command = [ *config["official_pytest_argv"], "--override-ini=addopts=", "--junitxml=" + str(output / (group + ".xml")), *expected[group], ] result = invoke(command, cwd=worktree, env=environment, check=False) native_exit = result.returncode commands.append({"group": group, "argv": command, "exit_code": native_exit}) if native_exit != 0: break (output / "pytest-commands.json").write_text( json.dumps(commands, sort_keys=True) + "\n" ) spec = importlib.util.spec_from_file_location( "trusted_pytest_result", private_root / "check_pytest.py" ) checker = importlib.util.module_from_spec(spec) spec.loader.exec_module(checker) result = checker.assess(output, expected, native_exit) (output / "reward.txt").write_text(str(result["reward"]) + "\n") (output / "pytest-evidence.json").write_text( json.dumps(result, sort_keys=True) + "\n" ) return result
if __name__ == "__main__": run("/testbed/repo", "/tests", "/logs/verifier")123456789101112131415161718192021222324{ "dependency_installation_pinned": false, "official_install_cmds": [ "python -m pip install -e ." ], "official_pytest_argv": [ "pytest", "--disable-warnings", "--color=no", "--tb=no", "--verbose" ], "official_test_command": "source /opt/miniconda3/bin/activate; conda activate testbed; pytest --disable-warnings --color=no --tb=no --verbose", "operator_test_runner_prerequisites": [ "python -m pip install pytest==8.4.2" ], "operator_test_runner_reason": "The official profile invokes pytest, but the common tools runtime does not provide it; pinned separately from source-native project requirements.", "panel_normalization": "Override project addopts only to execute the exact frozen native panels; add JUnit output, preserve official pytest options and all selectors.", "python_version": "3.10", "source_bound_test_dependency_cmds": [], "test_dependency_source_sha256": { "pyproject.toml": "b2922e3ef89e2918935d38fb3a777bdbc741619942276a75fd21a8dd9faf6b42" }}123456#!/bin/bashset -Eeuo pipefailsource /opt/miniconda3/bin/activateconda activate testbedcd /testbed/repoexec python -I /tests/grade.py123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212{ "directory_roots": [ "tests" ], "files": { "pyproject.toml": { "bytes": 1781, "mode": 420, "sha256": "b2922e3ef89e2918935d38fb3a777bdbc741619942276a75fd21a8dd9faf6b42" }, "setup.py": { "bytes": 52, "mode": 420, "sha256": "504f5c8cbb3b966b1f3f838da0a0cdc77b312f0c5935951357d17328e5324e21" }, "tests/__init__.py": { "bytes": 1149, "mode": 420, "sha256": "229cc35ee9a5f5a9fb37e036683e2276f940b80df2dc6203102c0f36f960e467" }, "tests/fixtures/__init__.py": { "bytes": 1502, "mode": 420, "sha256": "960fa58f01c3a473a956cc2d5430314d10f070bff18b35c9707c52c1c42a57e2" }, "tests/fixtures/abbr.txt": { "bytes": 2703, "mode": 420, "sha256": "18c7e06359486daeaafa88c7404f4ca8248cd47bf38a7ed475ddd35353e68bea" }, "tests/fixtures/commonmark.json": { "bytes": 140423, "mode": 420, "sha256": "ae6129f3ce3caf4f99cf4f9a5ad3558a309652b5b887171013e2bf0797289b98" }, "tests/fixtures/def_list.txt": { "bytes": 2834, "mode": 420, "sha256": "909b7156a5ba1f005ea3d8a203946e7ab3576149ec5af73ecad657bb046f386d" }, "tests/fixtures/diff-commonmark.txt": { "bytes": 1176, "mode": 420, "sha256": "920df6e3c9c8e3d4627842d5a7aeb172bdd23229acfbbb9a9b728a9f6ce2c1f0" }, "tests/fixtures/fenced_admonition.txt": { "bytes": 2344, "mode": 420, "sha256": "0f231afd472bc2c742170798e619d1baa5dd34e9e4a6cb18906dabd1aa37a1d0" }, "tests/fixtures/fenced_figure.txt": { "bytes": 3481, "mode": 420, "sha256": "83c3d636e8d4f0dd5a767045cf38877fd3c6c03a20c351f06c50e30ae7f30cda" }, "tests/fixtures/fenced_image.txt": { "bytes": 2343, "mode": 420, "sha256": "fa7ede5a90b718aaeb46af7f5a4d98a0e17cec0411355f460a166356020e6780" }, "tests/fixtures/fenced_toc.txt": { "bytes": 3656, "mode": 420, "sha256": "019a12ca2e293699d88241460bdea48ee6a65981b36b6bae4c0bbf78f020a296" }, "tests/fixtures/fix-commonmark.txt": { "bytes": 1905, "mode": 420, "sha256": "1f2777b457f4da70e02983bbcb2104fa3b442dbb8a5bcac1621499b0b796292f" }, "tests/fixtures/footnotes.txt": { "bytes": 847, "mode": 420, "sha256": "55227ab43a3986fd07ecbf0742903a977f04cd9ed403086d7c76f23b1967aab1" }, "tests/fixtures/hook_toc.txt": { "bytes": 1896, "mode": 420, "sha256": "bdb1a5c90f08cb29c4eed3c892e9c694f92855507b6cd5809eac3b8eb4fc7dc5" }, "tests/fixtures/include/hello.md": { "bytes": 8, "mode": 420, "sha256": "389aaf8f17da55ef35fedf530bc70cd1287042f6410ec94c2b44c1b22c36e60a" }, "tests/fixtures/include/hello.txt": { "bytes": 6, "mode": 420, "sha256": "5891b5b522d5df086d0ff0b110fbd9d21bb4fc7163af34d08286a2e846f6be03" }, "tests/fixtures/include/text.html": { "bytes": 24, "mode": 420, "sha256": "bac2f8a2e3937f8923da8e560248d2a52867b502fbda531ba73f1d066b35d2ba" }, "tests/fixtures/include/text.md": { "bytes": 163, "mode": 420, "sha256": "3ffb497b2829ca6333bc6eb4e7d2959aa7baeaa44180225a4820e0051ae7ef75" }, "tests/fixtures/insert.txt": { "bytes": 1165, "mode": 420, "sha256": "de7b89a58c2cbd2d4948c10b8c599fd7500b3ae6734d271a35ff2cf2854b1572" }, "tests/fixtures/mark.txt": { "bytes": 1138, "mode": 420, "sha256": "6b5c232cf89f61097ae6d032865a99bdcd9f65e3ef99517d9423b2da0aa983d0" }, "tests/fixtures/math.txt": { "bytes": 1174, "mode": 420, "sha256": "eadc29b04cc85928e50003b2908b002a778447ef028c4b773ca1753b907fd898" }, "tests/fixtures/renderer_markdown.txt": { "bytes": 3569, "mode": 420, "sha256": "2ba5fc55634d7dbaabd91aedea9e04b34882e67abc3020034bd809a408cac2a7" }, "tests/fixtures/renderer_rst.txt": { "bytes": 2915, "mode": 420, "sha256": "47007bc353f230e9b73d8604548539bb16374a4b837bf7ba8d2f478444fff84e" }, "tests/fixtures/rst_admonition.txt": { "bytes": 848, "mode": 420, "sha256": "821676f07a4e595c51c84da87edc592e22e8bbed6241e070040d87a4de7c5d7e" }, "tests/fixtures/rst_toc.txt": { "bytes": 3643, "mode": 420, "sha256": "f9ae334cef85d776c37d7ad029e1e38d9e1b035423ab624dab8499aff28f7e98" }, "tests/fixtures/ruby.txt": { "bytes": 1773, "mode": 420, "sha256": "1302542447ac0befc2618d9c2da1657581fcc1d90c332896e6dc086b698e30ed" }, "tests/fixtures/spoiler.txt": { "bytes": 1154, "mode": 420, "sha256": "21446f2e88b70cc3c50e606c36fbcdf567993581ccf8397ace5948973c251985" }, "tests/fixtures/strikethrough.txt": { "bytes": 886, "mode": 420, "sha256": "fee85a2207da74bdcf437c2c58804b009b657b4dfd505989fdbee46f78feac07" }, "tests/fixtures/subscript.txt": { "bytes": 521, "mode": 420, "sha256": "61fd94b4718edbbfaa782533f659f4f193585fb09e61761a662cd313906932b8" }, "tests/fixtures/superscript.txt": { "bytes": 523, "mode": 420, "sha256": "658ac752d95d74e6e97e7daceba6f48ef279dc6f1389a878610bc608e82f34b3" }, "tests/fixtures/table.txt": { "bytes": 4134, "mode": 420, "sha256": "f92d66b63d00f95f7a9938cb6e0e42ea4968d6e9f1f62e902b63bc1be69f51b6" }, "tests/fixtures/task_lists.txt": { "bytes": 3104, "mode": 420, "sha256": "d17a07a9cb077dd25c3b4c4dd7301bc9f508ab75ec83c2293b0ebaca954be76c" }, "tests/fixtures/url.txt": { "bytes": 530, "mode": 420, "sha256": "441ea5e1e27f6edcd52b51f8c20ca1eee8b76d4adcc3b2fcdd419448c528ef21" }, "tests/test_commonmark.py": { "bytes": 2199, "mode": 420, "sha256": "77396377672a8419ecab283aebf55a5e206b1aa413626975dc8b2a006c796973" }, "tests/test_directives.py": { "bytes": 2954, "mode": 420, "sha256": "3d46db4f9e52d3067954ab7fcaba80ef855008a516a86ee3baf07b2a9c730817" }, "tests/test_hooks.py": { "bytes": 729, "mode": 420, "sha256": "9d6f177c6dd52223ac44e31508ed66bbc2b6fc7a4725ed7121fb39842b0a6a61" }, "tests/test_misc.py": { "bytes": 4830, "mode": 420, "sha256": "a1bba411b7b74f1b9d43bf88459db1d9fa2c13e7db32dfee707c93cd8ccb5575" }, "tests/test_plugins.py": { "bytes": 2280, "mode": 420, "sha256": "56a6731c5e5667870122edfb3d49925a34dc394ae00ce3282dc3e89cbe2fd6b8" }, "tests/test_renderers.py": { "bytes": 500, "mode": 420, "sha256": "efc0fa48c74f8ee1b84c961e4ca034eb5f0246b69b4663428c93cc77d471e7b8" }, "tests/test_syntax.py": { "bytes": 342, "mode": 420, "sha256": "88f99c6afc5f39f088c0cd1cdf4fab8a69b60b208a1b28924eeb8fbd0d7bef2e" } }}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869[project]name = "mistune"description = "A sane and fast Markdown parser with useful plugins and renderers"authors = [{name = "Hsiaoming Yang", email="me@lepture.com"}]dependencies = [ "typing-extensions; python_version<'3.11'",]license = {text = "BSD-3-Clause"}dynamic = ["version"]requires-python = ">=3.8"readme = "README.rst"classifiers = [ "Development Status :: 4 - Beta", "Environment :: Console", "Environment :: Web Environment", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", "Topic :: Text Processing :: Markup",]
[project.urls]Documentation = "https://mistune.lepture.com/"Source = "https://github.com/lepture/mistune"Donate = "https://github.com/sponsors/lepture"
[build-system]requires = ["setuptools"]build-backend = "setuptools.build_meta"
[tool.setuptools.dynamic]version = {attr = "mistune.__version__"}
[tool.setuptools.packages.find]where = ["src"]
[tool.setuptools.package-data]mistune = ["py.typed"]
[tool.ruff]line-length = 120
[tool.pytest.ini_options]pythonpath = ["src", "."]testpaths = ["tests"]filterwarnings = ["error"]
[tool.coverage.run]branch = truesource = ["mistune"]
[tool.coverage.paths]source = ["src"]
[tool.coverage.report]exclude_lines = [ "pragma: no cover", "def __repr__", "raise NotImplementedError", "@(abc\\.)?abstractmethod",]123from setuptools import setup
setup(name="mistune")12345678910111213141516171819202122232425262728293031323334353637383940import refrom abc import abstractmethodfrom unittest import TestCase
from tests import fixtures
class BaseTestCase(TestCase): @classmethod def load_fixtures(cls, case_file: str) -> None: def attach_case(n: str, text: str, html: str) -> None: def method(self: 'BaseTestCase') -> None: self.assert_case(n, text, html)
name = 'test_{}'.format(n) method.__name__ = name method.__doc__ = 'Run fixture {} - {}'.format(case_file, n) setattr(cls, name, method)
for n, text, html in fixtures.load_examples(case_file): if cls.ignore_case(n): continue attach_case(n, text, html)
@classmethod def ignore_case(cls, name: str) -> bool: return False @abstractmethod def parse(self, text: str) -> str: ...
def assert_case(self, name: str, text: str, html: str) -> None: result = self.parse(text) self.assertEqual(result, html)
def normalize_html(html: str) -> str: html = re.sub(r'>\n+', '>', html) html = re.sub(r'\n+<', '<', html) return html.strip()1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556import osimport reimport jsonfrom typing import Any, Iterable, Tuple
ROOT = os.path.join(os.path.dirname(__file__))
EXAMPLE_PATTERN = re.compile( r'^`{32} example\n([\s\S]*?)' r'^\.\n([\s\S]*?)' r'^`{32}$|^#{1,6} *(.*)$', flags=re.M)
def load_ast(filename: str) -> Any: with open(os.path.join(ROOT, 'ast', filename)) as f: return json.load(f)
def load_json(filename: str) -> Any: with open(os.path.join(ROOT, filename)) as f: return json.load(f)
def load_examples(filename: str) -> Iterable[Tuple[str, str, str]]: if filename.endswith('.json'): data = load_json(filename) for item in data: section = item['section'].lower().replace(' ', '_') n = '%s_%03d' % (section, item['example']) yield n, item['markdown'], item['html'] else: with open(os.path.join(ROOT, filename), 'rb') as f: content = f.read() s = content.decode('utf-8') yield from parse_examples(s)
def parse_examples(text: str) -> Iterable[Tuple[str, str, str]]: data = EXAMPLE_PATTERN.findall(text)
section = None count = 0 for md, html, title in data: if title: count = 0 section = title.lower().replace(' ', '_')
if md and html: count += 1 n = '%s_%03d' % (section, count) md = md.replace(u'\u2192', '\t') html = html.replace(u'\u2192', '\t') yield n, md, html12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879# Abbreviation
## abbreviation
```````````````````````````````` exampleHTML.<p>HTML</p>````````````````````````````````
```````````````````````````````` exampleHTML*[HTML]: Hyper Text Markup Language.<p><abbr title="Hyper Text Markup Language">HTML</abbr></p>````````````````````````````````
```````````````````````````````` exampleThe HTML specification is maintained by the W3C.*[HTML]: Hyper Text Markup Language*[W3C]: World Wide Web Consortium.<p>The <abbr title="Hyper Text Markup Language">HTML</abbr> specification is maintained by the <abbr title="World Wide Web Consortium">W3C</abbr>.</p>````````````````````````````````
```````````````````````````````` exampleThe HTML specification is maintained by the W3C.*[HTML]: Hyper Text Markup Language*[W3C]: World Wide Web Consortium.<p>The <abbr title="Hyper Text Markup Language">HTML</abbr> specification is maintained by the <abbr title="World Wide Web Consortium">W3C</abbr>.</p>````````````````````````````````
```````````````````````````````` exampleThe HTML specification is maintained by the W3C.*[HTML]: Hyper Text Markup Language*[W3C]: World Wide Web ConsortiumThere is more text below this one..<p>The <abbr title="Hyper Text Markup Language">HTML</abbr> specification is maintained by the <abbr title="World Wide Web Consortium">W3C</abbr>.</p><p>There is more text below this one.</p>````````````````````````````````
```````````````````````````````` exampleThe latest spec of HTML is HTML5.*[HTML]: Hyper Text Markup Language.<p>The latest spec of <abbr title="Hyper Text Markup Language">HTML</abbr> is <abbr title="Hyper Text Markup Language">HTML</abbr>5.</p>````````````````````````````````
```````````````````````````````` exampleHTML should always be spelt with capital letters and not spelt html.*[HTML]: Hyper Text Markup Language.<p><abbr title="Hyper Text Markup Language">HTML</abbr> should always be spelt with capital letters and not spelt html.</p>````````````````````````````````
```````````````````````````````` exampleHTML is an abbreviation but nobody knows what it stands for.*[HTML]:.<p><abbr>HTML</abbr> is an abbreviation but nobody knows what it stands for.</p>````````````````````````````````
```````````````````````````````` exampleFoo.* looks like a regular expression.*[Foo.*]: Just foo.<p><abbr title="Just foo">Foo.*</abbr> looks like a regular expression.</p>````````````````````````````````
```````````````````````````````` exampleUntrusted HTML should be escaped.*[HTML]: <p>This is some HTML</p>.<p>Untrusted <abbr title="<p>This is some HTML</p>">HTML</abbr> should be escaped.</p>````````````````````````````````123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172# Definition Lists
```````````````````````````````` exampleTerm: definition.<dl><dt>Term</dt><dd>definition</dd></dl>````````````````````````````````
```````````````````````````````` exampleTerm: definition1: definition2.<dl><dt>Term</dt><dd>definition1</dd><dd>definition2</dd></dl>````````````````````````````````
```````````````````````````````` exampleTerm: definition1: definition2
paragraph.<dl><dt>Term</dt><dd>definition1</dd><dd>definition2</dd></dl><p>paragraph</p>````````````````````````````````
```````````````````````````````` exampleFirst Term: This is the definition of the first term.
Second Term: This is one definition of the second term.: This is another definition of the second term..<dl><dt>First Term</dt><dd>This is the definition of the first term.</dd><dt>Second Term</dt><dd>This is one definition of the second term.</dd><dd>This is another definition of the second term.</dd></dl>````````````````````````````````
```````````````````````````````` exampleFirst Term: This is the definition of the first term.
Second Term: This is one definition of the second term.: This is another definition of the second term.
paragraph.<dl><dt>First Term</dt><dd>This is the definition of the first term.</dd><dt>Second Term</dt><dd>This is one definition of the second term.</dd><dd>This is another definition of the second term.</dd></dl><p>paragraph</p>````````````````````````````````
```````````````````````````````` exampleFirst Term: This is the definition of the first term.Not Second Term: This is one definition of the second term.: This is another definition of the second term.
paragraph.<dl><dt>First Term</dt><dd>This is the definition of the first term.Not Second Term</dd><dd>This is one definition of the second term.</dd><dd>This is another definition of the second term.</dd></dl><p>paragraph</p>````````````````````````````````
## Definition with Multiple Lines
```````````````````````````````` exampleTerm
: definition.<dl><dt>Term</dt><dd><p>definition</p></dd></dl>````````````````````````````````
```````````````````````````````` exampleTerm: foo
bar.<dl><dt>Term</dt><dd><p>foo</p><p>bar</p></dd></dl>````````````````````````````````
Leading 4 white spaces
```````````````````````````````` exampleTerm: foo
bar.<dl><dt>Term</dt><dd><p>foo</p><p>bar</p></dd></dl>````````````````````````````````
```````````````````````````````` exampleTerm: foo
bar.<dl><dt>Term</dt><dd><p>foo</p><pre><code>bar</code></pre></dd></dl>````````````````````````````````
```````````````````````````````` exampleTerm: foo
- bar - baz.<dl><dt>Term</dt><dd><p>foo</p><ul><li>bar</li><li>baz</li></ul></dd></dl>````````````````````````````````12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576# Differences
Results different than commonmark.
## Setext headings
Example: 93
```````````````````````````````` example> foobar===.<blockquote><h1>foobar</h1></blockquote>````````````````````````````````
If the dash is less than 3, it is not a `<hr>`, in this case, itcan be rendered into `<h2>`.
```````````````````````````````` example- # Foo- Bar -- baz.<ul><li><h1>Foo</h1></li><li><h2>Bar</h2>baz</li></ul>````````````````````````````````
## Image
Example 573
```````````````````````````````` example](/url2).<p><img src="/url2" alt="foo " /></p>````````````````````````````````
## Link
Example 517
```````````````````````````````` example[foo [bar](/uri)](/uri).<p><a href="/uri">foo [bar](/uri)</a></p>````````````````````````````````
Example 518
```````````````````````````````` example[foo *[bar [baz](/uri)](/uri)*](/uri).<p><a href="/uri">foo <em>[bar [baz](/uri)](/uri)</em></a></p>````````````````````````````````
Example 519
```````````````````````````````` example](uri2)](uri3).<p><img src="uri3" alt="[foo](uri1)" /></p>````````````````````````````````123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129# Admonition
```````````````````````````````` example```{unknown} Hi
this is **strong** world```.<div class="error"><pre>{unknown} Hi
this is **strong** world</pre></div>````````````````````````````````
```````````````````````````````` example```this is code```.<pre><code>this is code</code></pre>````````````````````````````````
```````````````````````````````` example~~~{note} Warning
message~~~.<section class="admonition note"><p class="admonition-title">Warning</p><p>message</p></section>````````````````````````````````
```````````````````````````````` example~~~{note} A **strong** title
_message_~~~.<section class="admonition note"><p class="admonition-title">A <strong>strong</strong> title</p><p><em>message</em></p></section>````````````````````````````````
Test with code block.
```````````````````````````````` example```{note}
print()```.<section class="admonition note"><p class="admonition-title">Note</p><pre><code>print()</code></pre></section>````````````````````````````````
Test with no message.
```````````````````````````````` example~~~{note} Warning~~~.<section class="admonition note"><p class="admonition-title">Warning</p></section>````````````````````````````````
Test with no ending fence
```````````````````````````````` example~~~{note} Warning.<section class="admonition note"><p class="admonition-title">Warning</p></section>````````````````````````````````
Test with nested admonition
```````````````````````````````` example~~~~~~~{note}~~~~~~{warning}~~~~~{tip}~~~~{caution}~~~{hint}``````{danger}`````{attention}````{important}```{error}``````````````````~~~~~~~~~~~~~~~~~~~~~~~~~.<section class="admonition note"><p class="admonition-title">Note</p><section class="admonition warning"><p class="admonition-title">Warning</p><section class="admonition tip"><p class="admonition-title">Tip</p><section class="admonition caution"><p class="admonition-title">Caution</p><section class="admonition hint"><p class="admonition-title">Hint</p><section class="admonition danger"><p class="admonition-title">Danger</p><pre><code class="language-{attention}">````{important}```{error}```````</code></pre></section></section></section></section></section></section>````````````````````````````````123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166# Figure
## No options
```````````````````````````````` example~~~{figure} picture.png~~~.<figure class="figure"><div class="block-image"><img src="picture.png" /></div></figure>````````````````````````````````
## Align options
```````````````````````````````` example~~~{figure} picture.png:align: left~~~.<figure class="figure align-left"><div class="block-image"><img src="picture.png" /></div></figure>````````````````````````````````
```````````````````````````````` example~~~{figure} picture.png:align: invalid~~~.<figure class="figure"><div class="block-image"><img src="picture.png" /></div></figure>````````````````````````````````
## width and height
```````````````````````````````` example~~~{figure} picture.png:width: 100:height: 50~~~.<figure class="figure"><div class="block-image"><img src="picture.png" width="100" height="50" /></div></figure>````````````````````````````````
```````````````````````````````` example~~~{figure} picture.png:width: 100px:height: 50px~~~.<figure class="figure"><div class="block-image"><img src="picture.png" style="width:100px;height:50px;" /></div></figure>````````````````````````````````
```````````````````````````````` example~~~{figure} picture.png:figwidth: 400px~~~.<figure class="figure" style="width:400px"><div class="block-image"><img src="picture.png" /></div></figure>````````````````````````````````
## alt option
```````````````````````````````` example~~~{figure} picture.png:alt: description text~~~.<figure class="figure"><div class="block-image"><img src="picture.png" alt="description text" /></div></figure>````````````````````````````````
## target option
```````````````````````````````` example~~~{figure} picture.png:target: https://lepture.com~~~.<figure class="figure"><a class="block-image" href="https://lepture.com"><img src="picture.png" /></a></figure>````````````````````````````````
## caption
```````````````````````````````` example~~~{figure} picture.pnga caption with **emphasis** text~~~.<figure class="figure"><div class="block-image"><img src="picture.png" /></div><figcaption>a caption with <strong>emphasis</strong> text</figcaption></figure>````````````````````````````````
## legend
```````````````````````````````` example~~~{figure} picture.pnga caption with **emphasis** text
> quote~~~.<figure class="figure"><div class="block-image"><img src="picture.png" /></div><figcaption>a caption with <strong>emphasis</strong> text</figcaption><div class="legend"><blockquote><p>quote</p></blockquote></div></figure>````````````````````````````````
```````````````````````````````` example~~~{figure} picture.png> quote~~~.<figure class="figure"><div class="block-image"><img src="picture.png" /></div></figure>````````````````````````````````
## all options
```````````````````````````````` example~~~{figure} picture.png:figwidth: 400px:figclass: all-options:target: https://lepture.com:alt: description:align: left:width: 100:height: 50
a caption with **emphasis** text
> quote~~~.<figure class="figure align-left all-options" style="width:400px"><a class="block-image" href="https://lepture.com"><img src="picture.png" alt="description" width="100" height="50" /></a><figcaption>a caption with <strong>emphasis</strong> text</figcaption><div class="legend"><blockquote><p>quote</p></blockquote></div></figure>````````````````````````````````123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102# Image
## No options
```````````````````````````````` example~~~{image} picture.png~~~.<div class="block-image"><img src="picture.png" /></div>````````````````````````````````
## Align options
```````````````````````````````` example~~~{image} picture.png:align: left~~~.<div class="block-image align-left"><img src="picture.png" /></div>````````````````````````````````
```````````````````````````````` example~~~{image} picture.png:align: invalid~~~.<div class="block-image"><img src="picture.png" /></div>````````````````````````````````
## width and height
```````````````````````````````` example~~~{image} picture.png:width: 100:height: 50~~~.<div class="block-image"><img src="picture.png" width="100" height="50" /></div>````````````````````````````````
```````````````````````````````` example~~~{image} picture.png:width: 100px:height: 50px~~~.<div class="block-image"><img src="picture.png" style="width:100px;height:50px;" /></div>````````````````````````````````
## alt option
```````````````````````````````` example~~~{image} picture.png:alt: description text~~~.<div class="block-image"><img src="picture.png" alt="description text" /></div>````````````````````````````````
## target option
```````````````````````````````` example~~~{image} picture.png:target: https://lepture.com~~~.<a class="block-image" href="https://lepture.com"><img src="picture.png" /></a>````````````````````````````````
## all options
```````````````````````````````` example~~~{image} picture.png:target: https://lepture.com:alt: description:align: left:width: 100:height: 50~~~.<a class="block-image align-left" href="https://lepture.com"><img src="picture.png" alt="description" width="100" height="50" /></a>````````````````````````````````
## ampersand in source
```````````````````````````````` example~~~{image} https://example.com/picture.png?foo=qux&test=me~~~.<div class="block-image"><img src="https://example.com/picture.png?foo=qux&test=me" /></div>````````````````````````````````
## ampersand in target
```````````````````````````````` example~~~{image} picture.png:target: https://example.com/rickroll?a=1&b=2~~~.<a class="block-image" href="https://example.com/rickroll?a=1&b=2"><img src="picture.png" /></a>````````````````````````````````123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237# Table of Contents
## No TOC
```````````````````````````````` examplenone.<p>none</p>````````````````````````````````
```````````````````````````````` example# H1## H2.<h1>H1</h1><h2>H2</h2>````````````````````````````````
## Simple TOC
```````````````````````````````` example~~~{toc}~~~
# H1## H2.<details class="toc" open><summary>Table of Contents</summary><ul><li><a href="#toc_1">H1</a><ul><li><a href="#toc_2">H2</a></li></ul></li></ul></details><h1 id="toc_1">H1</h1><h2 id="toc_2">H2</h2>````````````````````````````````
## Invalid Option
```````````````````````````````` example# H1## H2
~~~{toc}:max-level: s~~~.<h1>H1</h1><h2>H2</h2><div class="error"><pre>"max-level" option MUST be integer</pre></div>````````````````````````````````
```````````````````````````````` example# H1## H2
~~~{toc}:max-level: 9~~~.<h1>H1</h1><h2>H2</h2><div class="error"><pre>"max-level" option MUST be <= 3</pre></div>````````````````````````````````
```````````````````````````````` example# H1## H2
~~~{toc}:min-level: 2:max-level: 1~~~.<h1>H1</h1><h2>H2</h2><div class="error"><pre>"min-level" option MUST be less than "max-level" option</pre></div>````````````````````````````````
## Complex
```````````````````````````````` example# H1## H2### H3#### H4# H1 B# H1 `C`
```{toc} Contents```.<h1 id="toc_1">H1</h1><h2 id="toc_2">H2</h2><h3 id="toc_3">H3</h3><h4 id="toc_4">H4</h4><h1 id="toc_5">H1 B</h1><h1 id="toc_6">H1 <code>C</code></h1><details class="toc" open><summary>Contents</summary><ul><li><a href="#toc_1">H1</a><ul><li><a href="#toc_2">H2</a><ul><li><a href="#toc_3">H3</a></li></ul></li></ul></li><li><a href="#toc_5">H1 B</a></li><li><a href="#toc_6">H1 C</a></li></ul></details>````````````````````````````````
## Insane
```````````````````````````````` example# H1### H3## H2#### H4### H3 B# H1 B
```{toc}```.<h1 id="toc_1">H1</h1><h3 id="toc_2">H3</h3><h2 id="toc_3">H2</h2><h4 id="toc_4">H4</h4><h3 id="toc_5">H3 B</h3><h1 id="toc_6">H1 B</h1><details class="toc" open><summary>Table of Contents</summary><ul><li><a href="#toc_1">H1</a><ul><li><a href="#toc_2">H3</a></li><li><a href="#toc_3">H2</a><ul><li><a href="#toc_5">H3 B</a></li></ul></li></ul></li><li><a href="#toc_6">H1 B</a></li></ul></details>````````````````````````````````
```````````````````````````````` example### H3## H2# H1
```{toc}```.<h3 id="toc_1">H3</h3><h2 id="toc_2">H2</h2><h1 id="toc_3">H1</h1><details class="toc" open><summary>Table of Contents</summary><ul><li><a href="#toc_1">H3</a></li><li><a href="#toc_2">H2</a></li><li><a href="#toc_3">H1</a></li></ul></details>````````````````````````````````
## Link in Heading
```````````````````````````````` example# [foo](/bar)
```{toc}```.<h1 id="toc_1"><a href="/bar">foo</a></h1><details class="toc" open><summary>Table of Contents</summary><ul><li><a href="#toc_1">foo</a></li></ul></details>````````````````````````````````
## HTML in Heading
```````````````````````````````` example# <em>H1</em>```{toc}```.<h1 id="toc_1"><em>H1</em></h1><details class="toc" open><summary>Table of Contents</summary><ul><li><a href="#toc_1">H1</a></li></ul></details>````````````````````````````````
## Collapse TOC
```````````````````````````````` example
```{toc}:collapse:```
# H1## H2.<details class="toc"><summary>Table of Contents</summary><ul><li><a href="#toc_1">H1</a><ul><li><a href="#toc_2">H2</a></li></ul></li></ul></details><h1 id="toc_1">H1</h1><h2 id="toc_2">H2</h2>````````````````````````````````123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123Fix problems that commonmark has.
## Links
Links can't contain links.
```````````````````````````````` example[<https://example.com>](/foo).<p><a href="/foo"><https://example.com></a></p>````````````````````````````````
```````````````````````````````` example[<name@example.com>](/foo).<p><a href="/foo"><name@example.com></a></p>````````````````````````````````
## Emphasis
`<em>` doesn't contain `<em>`, `<strong>` doesn't contain `<strong>`.
```````````````````````````````` example*_em_* __**strong**__ ______m______.<p><em>_em_</em> <strong>**strong**</strong> ______m______</p>````````````````````````````````
### Non aggressive emphasis
```````````````````````````````` example*a **b c* d**.<p><em>a **b c</em> d**</p>````````````````````````````````
While CommonMark would render it into:
```<p><em>a <em><em>b c</em> d</em></em></p>```
```````````````````````````````` example*a **b c* d**.<p><em>a **b c</em> d**</p>````````````````````````````````
While CommonMark would render it into:
```<p><em>a <em><em>b c</em> d</em></em></p>```
What if the string is:
```````````````````````````````` example*a **b c* d.<p><em>a **b c</em> d</p>````````````````````````````````
CommonMark would still be a mess:
```<p>*a *<em>b c</em> d</p>```
## Max depth
```````````````````````````````` example> > > > > > > > b.<blockquote><blockquote><blockquote><blockquote><blockquote><blockquote><p>> > b</p></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote>````````````````````````````````
```````````````````````````````` example- a - b - c - d - e - f - g - h.<ul><li>a<ul><li>b<ul><li>c<ul><li>d<ul><li>e<ul><li>f- g- h</li></ul></li></ul></li></ul></li></ul></li></ul></li></ul>````````````````````````````````123456789101112131415161718192021222324252627282930313233343536373839404142434445# Footnotes
```````````````````````````````` examplenone [^1].<p>none [^1]</p>````````````````````````````````
```````````````````````````````` exampleoneline [^1]
[^1]: foo.<p>oneline <sup class="footnote-ref" id="fnref-1"><a href="#fn-1">1</a></sup></p><section class="footnotes"><ol><li id="fn-1"><p>foo<a href="#fnref-1" class="footnote">↩</a></p></li></ol></section>````````````````````````````````
```````````````````````````````` examplemultiple lines [^1]
[^1]: foo
one
two
three
four.<p>multiple lines <sup class="footnote-ref" id="fnref-1"><a href="#fn-1">1</a></sup></p><pre><code>four</code></pre><section class="footnotes"><ol><li id="fn-1"><p>foo</p><p>one</p><p>two</p><p>three<a href="#fnref-1" class="footnote">↩</a></p></li></ol></section>````````````````````````````````123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122# Table of Contents
## Simple TOC
```````````````````````````````` example# H1
content
## H2.<h1 id="toc_1">H1</h1><p>content</p><h2 id="toc_2">H2</h2><ul><li><a href="#toc_1">H1</a><ul><li><a href="#toc_2">H2</a></li></ul></li></ul>````````````````````````````````
## Complex TOC
```````````````````````````````` example# H1## H2### H3#### H4# H1 B# H1 `C`.<h1 id="toc_1">H1</h1><h2 id="toc_2">H2</h2><h3 id="toc_3">H3</h3><h4>H4</h4><h1 id="toc_4">H1 B</h1><h1 id="toc_5">H1 <code>C</code></h1><ul><li><a href="#toc_1">H1</a><ul><li><a href="#toc_2">H2</a><ul><li><a href="#toc_3">H3</a></li></ul></li></ul></li><li><a href="#toc_4">H1 B</a></li><li><a href="#toc_5">H1 C</a></li></ul>````````````````````````````````
## Insane TOC
```````````````````````````````` example# H1### H3## H2#### H4### H3 B# H1 B.<h1 id="toc_1">H1</h1><h3 id="toc_2">H3</h3><h2 id="toc_3">H2</h2><h4>H4</h4><h3 id="toc_4">H3 B</h3><h1 id="toc_5">H1 B</h1><ul><li><a href="#toc_1">H1</a><ul><li><a href="#toc_2">H3</a></li><li><a href="#toc_3">H2</a><ul><li><a href="#toc_4">H3 B</a></li></ul></li></ul></li><li><a href="#toc_5">H1 B</a></li></ul>````````````````````````````````
```````````````````````````````` example### H3## H2# H1.<h3 id="toc_1">H3</h3><h2 id="toc_2">H2</h2><h1 id="toc_3">H1</h1><ul><li><a href="#toc_1">H3</a></li><li><a href="#toc_2">H2</a></li><li><a href="#toc_3">H1</a></li></ul>````````````````````````````````
## Link in Heading
```````````````````````````````` example# [foo](/bar).<h1 id="toc_1"><a href="/bar">foo</a></h1><ul><li><a href="#toc_1">foo</a></li></ul>````````````````````````````````
## HTML in Heading
```````````````````````````````` example# <em>H1</em>.<h1 id="toc_1"><em>H1</em></h1><ul><li><a href="#toc_1">H1</a></li></ul>````````````````````````````````1> hello1hello1<div>include html</div>123456789101112# Include
.. include:: ./text.md
.. include:: ./not-exist.md
.. include:: ./text.html :encoding: utf-8
.. include:: ./hello.md
.. include:: ../rst_toc.txt1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162# Insert
```````````````````````````````` example^^insert me.<p>^^insert me</p>````````````````````````````````
## normal insert
```````````````````````````````` example^^insert me^^.<p><ins>insert me</ins></p>````````````````````````````````
```````````````````````````````` examplefoo ^^insert me^^.<p>foo <ins>insert me</ins></p>````````````````````````````````
```````````````````````````````` example^^insert me^^foo.<p><ins>insert me</ins>foo</p>````````````````````````````````
```````````````````````````````` example^^insert me^^^.<p>^^insert me^^^</p>````````````````````````````````
## escape insert
```````````````````````````````` example^^insert me\^^^.<p><ins>insert me^</ins></p>````````````````````````````````
```````````````````````````````` example^^insert \^\^ me^^.<p><ins>insert ^^ me</ins></p>````````````````````````````````
## insert link
```````````````````````````````` example^^insert [me^^](/).<p><ins>insert [me</ins>](/)</p>````````````````````````````````
```````````````````````````````` example^^[hello](/)^^.<p><ins><a href="/">hello</a></ins></p>````````````````````````````````12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061# Mark
```````````````````````````````` example==mark me.<p>==mark me</p>````````````````````````````````
## normal mark
```````````````````````````````` example==mark me==.<p><mark>mark me</mark></p>````````````````````````````````
```````````````````````````````` examplefoo ==mark me==.<p>foo <mark>mark me</mark></p>````````````````````````````````
```````````````````````````````` example==mark me==foo.<p><mark>mark me</mark>foo</p>````````````````````````````````
```````````````````````````````` example==mark me===.<p>==mark me===</p>````````````````````````````````
## escape mark
```````````````````````````````` example==mark me\===.<p><mark>mark me=</mark></p>````````````````````````````````
```````````````````````````````` example==mark \=\= me==.<p><mark>mark == me</mark></p>````````````````````````````````
## mark link
```````````````````````````````` example==mark [me==](/).<p><mark>mark [me</mark>](/)</p>````````````````````````````````
```````````````````````````````` example==[hello](/)==.<p><mark><a href="/">hello</a></mark></p>````````````````````````````````123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657# Math
## Block Math
```````````````````````````````` example$$.<p>$$</p>````````````````````````````````
```````````````````````````````` example$$\operatorname{ker} f=\{g\in G:f(g)=e_{H}\}{\mbox{.}}$$.<div class="math">$$\operatorname{ker} f=\{g\in G:f(g)=e_{H}\}{\mbox{.}}$$</div>````````````````````````````````
```````````````````````````````` example$$foo$$bar.<div class="math">$$foo$$</div><p>bar</p>````````````````````````````````
```````````````````````````````` example$$foobar$$.<div class="math">$$foobar$$</div>````````````````````````````````
## Inline Math
```````````````````````````````` exampleThe homomorphism $f$ is injective if and only if its kernel is only thesingleton set $e_G$, because otherwise $\exists a,b\in G$with $a\neq b$ such that $f(a)=f(b)$..<p>The homomorphism <span class="math">\(f\)</span> is injective if and only if its kernel is only thesingleton set <span class="math">\(e_G\)</span>, because otherwise <span class="math">\(\exists a,b\in G\)</span>with <span class="math">\(a\neq b\)</span> such that <span class="math">\(f(a)=f(b)\)</span>.</p>````````````````````````````````123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299# MarkdownRenderer
## inline
```````````````````````````````` examplethis is _em_, **strong**, and `code`.this is *em*, **strong**, and `code`````````````````````````````````
## links
```````````````````````````````` example[link], [link][], [text][link], [link](/foo), [link](/foo "title")
[link]: /url.[link][link], [link][link], [text][link], [link](/foo), [link](/foo "title")
[link]: /url````````````````````````````````
```````````````````````````````` example[link], [link](https://foo(bar "title")
[link]: /url "title".[link][link], [link](<https://foo(bar> "title")
[link]: /url "title"````````````````````````````````
```````````````````````````````` example[https://lepture.com](https://lepture.com)
<https://lepture.com>
<demo@example.com> [demo@example.com](mailto:demo@example.com).<https://lepture.com>
<https://lepture.com>
<demo@example.com> <demo@example.com>````````````````````````````````
## images
```````````````````````````````` example[link]: /url
![link], ![link][], ![alt][link].![link][link], ![link][link], ![alt][link]
[link]: /url````````````````````````````````
## linebreak
```````````````````````````````` examplefoo\bar.foo bar````````````````````````````````
## html
```````````````````````````````` exampleinline html <a>text</a>
and block html
<div>hi</div>.inline html <a>text</a>
and block html
<div>hi</div>````````````````````````````````
## heading
```````````````````````````````` example# h1## h2### h3#### h4##### h5###### h6
h1==.# h1
## h2
### h3
#### h4
##### h5
###### h6
# h1````````````````````````````````
## thematic break
```````````````````````````````` examplehi***.hi
***````````````````````````````````
## code
```````````````````````````````` examplestart
def foo(): pass
end.start
```def foo(): pass```
end````````````````````````````````
```````````````````````````````` examplestart```pydef foo(): pass```end.start
```pydef foo(): pass```
end````````````````````````````````
```````````````````````````````` exampleindent code
markdown ``` fenced.indent code
~~~markdown```fenced~~~````````````````````````````````
```````````````````````````````` exampleindent code
markdown ~~~ fenced.indent code
```markdown~~~fenced```````````````````````````````````
```````````````````````````````` exampleindent code
markdown ``` fenced ~~~.indent code
````markdown```fenced~~~````````````````````````````````````
## quote
```````````````````````````````` example> quote.> quote````````````````````````````````
```````````````````````````````` examplehello> quote.hello
> quote````````````````````````````````
> quote
> quote> > continuation.> quote
> quote> > continuation
## list
```````````````````````````````` example- list+ list.- list
+ list````````````````````````````````
```````````````````````````````` example- item 1 item 2.- item 1 item 2````````````````````````````````
```````````````````````````````` example- item 1
item 2- item 3.- item 1
item 2
- item 3````````````````````````````````
```````````````````````````````` example- item 1 1. item 2.- item 1 1. item 2````````````````````````````````
```````````````````````````````` example- item 1
2. item 2.- item 1
2. item 2````````````````````````````````
```````````````````````````````` example- list- .- list- ````````````````````````````````123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250# RSTRenderer
## inline
```````````````````````````````` examplethis is _em_, **strong**, and `code`.this is *em*, **strong**, and ``code``````````````````````````````````
```````````````````````````````` example| escape |.\| escape \|````````````````````````````````
## links
```````````````````````````````` examplethis is [link][] and [link](/foo)
[link]: /url.this is `link </url>`__ and `link </foo>`__````````````````````````````````
## images
```````````````````````````````` examplethis is inline .this is inline |img-0|
.. |img-0| image:: /foo :alt: alt *text*````````````````````````````````
```````````````````````````````` examplethis is figure
.this is figure
.. figure:: /foo
alt *text*````````````````````````````````
```````````````````````````````` examplethis is figure
.this is figure
.. figure:: /foo :alt: title
alt *text*````````````````````````````````
## html
```````````````````````````````` exampleignore inline html <a>text</a>
but show block html
<div>hi</div>.ignore inline html text
but show block html
.. raw:: html
<div>hi</div>````````````````````````````````
## line break
```````````````````````````````` examplehello world.| hello| world````````````````````````````````
## heading
```````````````````````````````` example# h1## h2### h3#### h4##### h5###### h6.h1==
h2--
h3~~
h4^^
h5""
h6''````````````````````````````````
## thematic break
```````````````````````````````` examplehi***.hi
--------------````````````````````````````````
## code
```````````````````````````````` examplestart
def foo(): pass
end.start
::
def foo(): pass
end````````````````````````````````
```````````````````````````````` examplestart
```pydef foo(): pass```
end.start
.. code:: py
def foo(): pass
end````````````````````````````````
## quote
```````````````````````````````` example> quote. quote````````````````````````````````
```````````````````````````````` examplehello
> quote.hello
quote````````````````````````````````
```````````````````````````````` example> hello
> quote. hello
..
quote````````````````````````````````
## list
```````````````````````````````` example- list+ list.- list
+ list````````````````````````````````
```````````````````````````````` example- item 1 item 2.- item 1 item 2````````````````````````````````
```````````````````````````````` example- item 1
item 2- item 3.- item 1
item 2
- item 3````````````````````````````````
```````````````````````````````` example- item 1 1. item 2.- item 1 1. item 2````````````````````````````````
```````````````````````````````` example- item 1
1. item 2.- item 1
1. item 2````````````````````````````````12345678910111213141516171819202122232425262728293031323334353637383940414243444546# Admonition
```````````````````````````````` example.. hello:: Warning
message.<div class="error"><pre>.. hello:: Warning
message</pre></div>````````````````````````````````
```````````````````````````````` example.. note:: Warning
message.<section class="admonition note"><p class="admonition-title">Warning</p><p>message</p></section>````````````````````````````````
Test with code block.
```````````````````````````````` example.. note::
print().<section class="admonition note"><p class="admonition-title">Note</p><pre><code>print()</code></pre></section>````````````````````````````````
Test with no message.
```````````````````````````````` example.. note:: Warning.<section class="admonition note"><p class="admonition-title">Warning</p></section>````````````````````````````````123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223# Table of Contents
## No TOC
```````````````````````````````` examplenone.<p>none</p>````````````````````````````````
```````````````````````````````` example# H1## H2.<h1>H1</h1><h2>H2</h2>````````````````````````````````
## Simple TOC
```````````````````````````````` example.. toc::
# H1## H2.<details class="toc" open><summary>Table of Contents</summary><ul><li><a href="#toc_1">H1</a><ul><li><a href="#toc_2">H2</a></li></ul></li></ul></details><h1 id="toc_1">H1</h1><h2 id="toc_2">H2</h2>````````````````````````````````
## Invalid Option
```````````````````````````````` example# H1## H2
.. toc:: :max-level: s.<h1>H1</h1><h2>H2</h2><div class="error"><pre>"max-level" option MUST be integer</pre></div>````````````````````````````````
```````````````````````````````` example# H1## H2.. toc:: :max-level: 9.<h1>H1</h1><h2>H2</h2><div class="error"><pre>"max-level" option MUST be <= 3</pre></div>````````````````````````````````
```````````````````````````````` example# H1## H2.. toc:: :min-level: 2 :max-level: 1.<h1>H1</h1><h2>H2</h2><div class="error"><pre>"min-level" option MUST be less than "max-level" option</pre></div>````````````````````````````````
## Complex
```````````````````````````````` example# H1## H2### H3#### H4# H1 B# H1 `C`
.. toc:: Contents :max-level: 3.<h1 id="toc_1">H1</h1><h2 id="toc_2">H2</h2><h3 id="toc_3">H3</h3><h4 id="toc_4">H4</h4><h1 id="toc_5">H1 B</h1><h1 id="toc_6">H1 <code>C</code></h1><details class="toc" open><summary>Contents</summary><ul><li><a href="#toc_1">H1</a><ul><li><a href="#toc_2">H2</a><ul><li><a href="#toc_3">H3</a></li></ul></li></ul></li><li><a href="#toc_5">H1 B</a></li><li><a href="#toc_6">H1 C</a></li></ul></details>````````````````````````````````
## Insane
```````````````````````````````` example# H1### H3## H2#### H4### H3 B# H1 B.. toc::.<h1 id="toc_1">H1</h1><h3 id="toc_2">H3</h3><h2 id="toc_3">H2</h2><h4 id="toc_4">H4</h4><h3 id="toc_5">H3 B</h3><h1 id="toc_6">H1 B</h1><details class="toc" open><summary>Table of Contents</summary><ul><li><a href="#toc_1">H1</a><ul><li><a href="#toc_2">H3</a></li><li><a href="#toc_3">H2</a><ul><li><a href="#toc_5">H3 B</a></li></ul></li></ul></li><li><a href="#toc_6">H1 B</a></li></ul></details>````````````````````````````````
```````````````````````````````` example### H3## H2# H1.. toc::.<h3 id="toc_1">H3</h3><h2 id="toc_2">H2</h2><h1 id="toc_3">H1</h1><details class="toc" open><summary>Table of Contents</summary><ul><li><a href="#toc_1">H3</a></li><li><a href="#toc_2">H2</a></li><li><a href="#toc_3">H1</a></li></ul></details>````````````````````````````````
## Link in Heading
```````````````````````````````` example# [foo](/bar).. toc::.<h1 id="toc_1"><a href="/bar">foo</a></h1><details class="toc" open><summary>Table of Contents</summary><ul><li><a href="#toc_1">foo</a></li></ul></details>````````````````````````````````
## HTML in Heading
```````````````````````````````` example# <em>H1</em>.. toc::.<h1 id="toc_1"><em>H1</em></h1><details class="toc" open><summary>Table of Contents</summary><ul><li><a href="#toc_1">H1</a></li></ul></details>````````````````````````````````
## Collapse TOC
```````````````````````````````` example.. toc:: :collapse:
# H1## H2.<details class="toc"><summary>Table of Contents</summary><ul><li><a href="#toc_1">H1</a><ul><li><a href="#toc_2">H2</a></li></ul></li></ul></details><h1 id="toc_1">H1</h1><h2 id="toc_2">H2</h2>````````````````````````````````12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364# Ruby
## ruby without link
```````````````````````````````` example[漢字(ㄏㄢˋㄗˋ)].<p><ruby><rb>漢字</rb><rt>ㄏㄢˋㄗˋ</rt></ruby></p>````````````````````````````````
```````````````````````````````` example[漢(ㄏㄢˋ)字(ㄗˋ)].<p><ruby><rb>漢</rb><rt>ㄏㄢˋ</rt></ruby><ruby><rb>字</rb><rt>ㄗˋ</rt></ruby></p>````````````````````````````````
```````````````````````````````` example[漢字(ㄏㄢˋㄗˋ)][].<p><ruby><rb>漢字</rb><rt>ㄏㄢˋㄗˋ</rt></ruby>[]</p>````````````````````````````````
```````````````````````````````` example[漢字(ㄏㄢˋㄗˋ)][link].<p><ruby><rb>漢字</rb><rt>ㄏㄢˋㄗˋ</rt></ruby>[link]</p>````````````````````````````````
## ruby with link
```````````````````````````````` example[link]: /url
[漢字(ㄏㄢˋㄗˋ)][link].<p><a href="/url"><ruby><rb>漢字</rb><rt>ㄏㄢˋㄗˋ</rt></ruby></a></p>````````````````````````````````
```````````````````````````````` example[漢字(ㄏㄢˋㄗˋ)]().<p><a href=""><ruby><rb>漢字</rb><rt>ㄏㄢˋㄗˋ</rt></ruby></a></p>````````````````````````````````
```````````````````````````````` example[漢字(ㄏㄢˋㄗˋ)](/url).<p><a href="/url"><ruby><rb>漢字</rb><rt>ㄏㄢˋㄗˋ</rt></ruby></a></p>````````````````````````````````
## ruby splits
```````````````````````````````` example[漢(かん)][字(じ)].<p><ruby><rb>漢</rb><rt>かん</rt></ruby><ruby><rb>字</rb><rt>じ</rt></ruby></p>````````````````````````````````
```````````````````````````````` example[[漢(かん)][字(じ)]](https://jisho.org/search/漢字).<p><a href="https://jisho.org/search/%E6%BC%A2%E5%AD%97"><ruby><rb>漢</rb><rt>かん</rt></ruby><ruby><rb>字</rb><rt>じ</rt></ruby></a></p>````````````````````````````````1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374# Spoiler
## Block spoiler
```````````````````````````````` example>! hi.<div class="spoiler"><p>hi</p></div>````````````````````````````````
```````````````````````````````` example>! not> spoiler.<blockquote><p>! notspoiler</p></blockquote>````````````````````````````````
```````````````````````````````` example>! multiple>! lines.<div class="spoiler"><p>multiplelines</p></div>````````````````````````````````
```````````````````````````````` example>! foo>!>! bar.<div class="spoiler"><p>foo</p><p>bar</p></div>````````````````````````````````
```````````````````````````````` example>! foo>>! bar.<blockquote><p>! foo</p><p>! bar</p></blockquote>````````````````````````````````
## Inline spoiler
```````````````````````````````` examplehi >! hide !<.<p>hi <span class="spoiler">hide</span></p>````````````````````````````````
```````````````````````````````` examplehi >!hide !<.<p>hi <span class="spoiler">hide</span></p>````````````````````````````````
```````````````````````````````` examplehi >!hide!<.<p>hi <span class="spoiler">hide</span></p>````````````````````````````````12345678910111213141516171819202122232425262728293031323334353637383940414243444546# Strikethrough
## strikethrough
```````````````````````````````` example~~delete me.<p>~~delete me</p>````````````````````````````````
```````````````````````````````` example~~delete me~~.<p><del>delete me</del></p>````````````````````````````````
```````````````````````````````` example~~delete me~~~.<p>~~delete me~~~</p>````````````````````````````````
```````````````````````````````` example~~delete me\~~~.<p><del>delete me~</del></p>````````````````````````````````
```````````````````````````````` example~~delete \~\~ me~~.<p><del>delete ~~ me</del></p>````````````````````````````````
```````````````````````````````` example~~delete [me~~](/).<p><del>delete [me</del>](/)</p>````````````````````````````````
```````````````````````````````` example~~[hello](/)~~.<p><del><a href="/">hello</a></del></p>````````````````````````````````1234567891011121314151617181920212223242526# Subscript
```````````````````````````````` exampleCH~3~CH~2~OH.<p>CH<sub>3</sub>CH<sub>2</sub>OH</p>````````````````````````````````
```````````````````````````````` exampletext~a\ subscript~.<p>text<sub>a subscript</sub></p>````````````````````````````````
```````````````````````````````` exampletext~a subscript~.<p>text~a subscript~</p>````````````````````````````````
```````````````````````````````` exampletext~a\~subscript~.<p>text<sub>a~subscript</sub></p>````````````````````````````````1234567891011121314151617181920212223242526# Superscript
```````````````````````````````` exampleCH^3^CH^2^OH.<p>CH<sup>3</sup>CH<sup>2</sup>OH</p>````````````````````````````````
```````````````````````````````` exampletext^a\ supscript^.<p>text<sup>a supscript</sup></p>````````````````````````````````
```````````````````````````````` exampletext^a supscript^.<p>text^a supscript^</p>````````````````````````````````
```````````````````````````````` exampletext^a\^supscript^.<p>text<sup>a^supscript</sup></p>````````````````````````````````123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258# Table in Markdown
https://michelf.ca/projects/php-markdown/extra/#table
## nptable
```````````````````````````````` exampleFirst Header | Second Header------------- | -------------Content Cell | Content CellContent Cell | Content Cell.<table><thead><tr> <th>First Header</th> <th>Second Header</th></tr></thead><tbody><tr> <td>Content Cell</td> <td>Content Cell</td></tr><tr> <td>Content Cell</td> <td>Content Cell</td></tr></tbody></table>````````````````````````````````
## table
```````````````````````````````` example| First Header | Second Header || ------------- | ------------- || Content Cell | || Content Cell | Content Cell |.<table><thead><tr> <th>First Header</th> <th>Second Header</th></tr></thead><tbody><tr> <td>Content Cell</td> <td></td></tr><tr> <td>Content Cell</td> <td>Content Cell</td></tr></tbody></table>````````````````````````````````
```````````````````````````````` example| Command | Description || --- | --- || git status | List all new or modified files || git diff | Show file differences that haven't been staged |.<table><thead><tr> <th>Command</th> <th>Description</th></tr></thead><tbody><tr> <td>git status</td> <td>List all new or modified files</td></tr><tr> <td>git diff</td> <td>Show file differences that haven't been staged</td></tr></tbody></table>````````````````````````````````
## align table
```````````````````````````````` example Left | Center | Right:---- | :--------: | ------: a | b | c.<table><thead><tr> <th style="text-align:left">Left</th> <th style="text-align:center">Center</th> <th style="text-align:right">Right</th></tr></thead><tbody><tr> <td style="text-align:left">a</td> <td style="text-align:center">b</td> <td style="text-align:right">c</td></tr></tbody></table>````````````````````````````````
```````````````````````````````` example| Left | Center | Right || :--- | :----: | ----: || a | b | c |.<table><thead><tr> <th style="text-align:left">Left</th> <th style="text-align:center">Center</th> <th style="text-align:right">Right</th></tr></thead><tbody><tr> <td style="text-align:left">a</td> <td style="text-align:center">b</td> <td style="text-align:right">c</td></tr></tbody></table>````````````````````````````````
## Misc Table
```````````````````````````````` example| A | || - | || a | b |.<table><thead><tr> <th>A</th> <th></th></tr></thead><tbody><tr> <td>a</td> <td>b</td></tr></tbody></table>````````````````````````````````
```````````````````````````````` exampleA |- |a | b.<table><thead><tr> <th>A</th> <th></th></tr></thead><tbody><tr> <td>a</td> <td>b</td></tr></tbody></table>````````````````````````````````
```````````````````````````````` example| Foo | Bar ||-----|-----|| boo | baz || faz | |.<table><thead><tr> <th>Foo</th> <th>Bar</th></tr></thead><tbody><tr> <td>boo</td> <td>baz</td></tr><tr> <td>faz</td> <td></td></tr></tbody></table>````````````````````````````````
## Mismatch length
```````````````````````````````` example| First Header || ------------- | ------------- || Content Cell | || Content Cell | Content Cell |.<p>| First Header || ------------- | ------------- || Content Cell | || Content Cell | Content Cell |</p>````````````````````````````````
```````````````````````````````` example| First Header | Second Header || ------------- | ------------- || Content Cell || Content Cell | Content Cell |.<p>| First Header | Second Header || ------------- | ------------- || Content Cell || Content Cell | Content Cell |</p>````````````````````````````````
```````````````````````````````` exampleA |- | - |a | b | c.<p>A |</p><ul><li>| - |a | b | c</li></ul>````````````````````````````````
```````````````````````````````` exampleA | B | C- | - | -a | b.<p>A | B | C</p><ul><li>| - | -a | b</li></ul>````````````````````````````````123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108# Task Lists
```````````````````````````````` example- [ ] foo- [x] bar- [X] baz.<ul><li class="task-list-item"><input class="task-list-item-checkbox" type="checkbox" disabled/>foo</li><li class="task-list-item"><input class="task-list-item-checkbox" type="checkbox" disabled checked/>bar</li><li class="task-list-item"><input class="task-list-item-checkbox" type="checkbox" disabled checked/>baz</li></ul>````````````````````````````````
```````````````````````````````` example- foo- [ ] bar.<ul><li>foo</li><li class="task-list-item"><input class="task-list-item-checkbox" type="checkbox" disabled/>bar</li></ul>````````````````````````````````
```````````````````````````````` example- foo
- [ ] bar- [x] baz
text.<ul><li><p>foo</p></li><li class="task-list-item"><p><input class="task-list-item-checkbox" type="checkbox" disabled/>bar</p></li><li class="task-list-item"><p><input class="task-list-item-checkbox" type="checkbox" disabled checked/>baz</p><p>text</p></li></ul>````````````````````````````````
```````````````````````````````` example1. [ ] foo2. [x] bar3. [X] baz.<ol><li class="task-list-item"><input class="task-list-item-checkbox" type="checkbox" disabled/>foo</li><li class="task-list-item"><input class="task-list-item-checkbox" type="checkbox" disabled checked/>bar</li><li class="task-list-item"><input class="task-list-item-checkbox" type="checkbox" disabled checked/>baz</li></ol>````````````````````````````````
```````````````````````````````` example- [ ] Task list item over two lines.<ul><li class="task-list-item"><input class="task-list-item-checkbox" type="checkbox" disabled/>Task list itemover two lines</li></ul>````````````````````````````````
```````````````````````````````` example- [ ] foo - [x] bar - [ ] baz.<ul><li class="task-list-item"><input class="task-list-item-checkbox" type="checkbox" disabled/>foo<ul><li class="task-list-item"><input class="task-list-item-checkbox" type="checkbox" disabled checked/>bar</li><li class="task-list-item"><input class="task-list-item-checkbox" type="checkbox" disabled/>baz</li></ul></li></ul>````````````````````````````````
```````````````````````````````` example1. [ ] foo 1. [ ] bar 2. [ ] baz.<ol><li class="task-list-item"><input class="task-list-item-checkbox" type="checkbox" disabled/>foo<ol><li class="task-list-item"><input class="task-list-item-checkbox" type="checkbox" disabled/>bar</li><li class="task-list-item"><input class="task-list-item-checkbox" type="checkbox" disabled/>baz</li></ol></li></ol>````````````````````````````````
```````````````````````````````` example> - [ ] foo> - [x] bar> - [ ] baz.<blockquote><ul><li class="task-list-item"><input class="task-list-item-checkbox" type="checkbox" disabled/>foo<ul><li class="task-list-item"><input class="task-list-item-checkbox" type="checkbox" disabled checked/>bar</li><li class="task-list-item"><input class="task-list-item-checkbox" type="checkbox" disabled/>baz</li></ul></li></ul></blockquote>````````````````````````````````12345678910111213141516171819202122# url plugin
```````````````````````````````` examplevisit https://lepture.com/.<p>visit <a href="https://lepture.com/">https://lepture.com/</a></p>````````````````````````````````
```````````````````````````````` examplevisit [https://lepture.com/](/foo).<p>visit <a href="/foo">https://lepture.com/</a></p>````````````````````````````````
```````````````````````````````` examplevisit <a href="/foo">https://lepture.com/</a>.<p>visit <a href="/foo">https://lepture.com/</a></p>````````````````````````````````12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576import mistunefrom tests import BaseTestCase, normalize_html
DIFF_CASES = { 'setext_headings_093', 'html_blocks_191', # mistune keeps \n
'images_573', # image can not be in image
'links_495', 'links_517', # aggressive link group 'links_518', 'links_519', 'links_531', 'links_532',}
IGNORE_CASES = { # we don't support link title in (title) 'links_496', 'links_504',
# we don't support flanking delimiter run 'emphasis_and_strong_emphasis_352', 'emphasis_and_strong_emphasis_367', 'emphasis_and_strong_emphasis_368', 'emphasis_and_strong_emphasis_372', 'emphasis_and_strong_emphasis_379', 'emphasis_and_strong_emphasis_388', 'emphasis_and_strong_emphasis_391',
'emphasis_and_strong_emphasis_406', 'emphasis_and_strong_emphasis_407', 'emphasis_and_strong_emphasis_408',
'emphasis_and_strong_emphasis_412', 'emphasis_and_strong_emphasis_413', 'emphasis_and_strong_emphasis_414', 'emphasis_and_strong_emphasis_416', 'emphasis_and_strong_emphasis_417', 'emphasis_and_strong_emphasis_418',
'emphasis_and_strong_emphasis_424', 'emphasis_and_strong_emphasis_425', 'emphasis_and_strong_emphasis_426', 'emphasis_and_strong_emphasis_429', 'emphasis_and_strong_emphasis_430', 'emphasis_and_strong_emphasis_431', 'emphasis_and_strong_emphasis_460', 'emphasis_and_strong_emphasis_467', 'emphasis_and_strong_emphasis_470', 'emphasis_and_strong_emphasis_471', 'emphasis_and_strong_emphasis_477', 'emphasis_and_strong_emphasis_478',}
for i in range(441, 447): IGNORE_CASES.add('emphasis_and_strong_emphasis_' + str(i))for i in range(453, 459): IGNORE_CASES.add('emphasis_and_strong_emphasis_' + str(i))for i in range(462, 466): IGNORE_CASES.add('emphasis_and_strong_emphasis_' + str(i))
class TestCommonMark(BaseTestCase): @classmethod def ignore_case(cls, n): return n in IGNORE_CASES or n in DIFF_CASES
def assert_case(self, n, text, html): result = mistune.html(text) self.assertEqual(normalize_html(result), normalize_html(html))
TestCommonMark.load_fixtures('commonmark.json')123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293import osfrom mistune import create_markdownfrom mistune.directives import ( RSTDirective, FencedDirective, Admonition, TableOfContents, Include, Image, Figure,)from tests import BaseTestCasefrom tests.fixtures import ROOT
def load_directive_test(filename, directive, cls): class TestDirective(BaseTestCase): @staticmethod def parse(text): md = create_markdown( escape=False, plugins=[cls([directive])], ) html = md(text) return html
TestDirective.load_fixtures(filename + '.txt') globals()["TestDirective_" + filename] = TestDirective
load_directive_test('rst_admonition', Admonition(), RSTDirective)load_directive_test('rst_toc', TableOfContents(), RSTDirective)load_directive_test('fenced_admonition', Admonition(), FencedDirective)load_directive_test('fenced_toc', TableOfContents(), FencedDirective)load_directive_test('fenced_image', Image(), FencedDirective)load_directive_test('fenced_figure', Figure(), FencedDirective)
class CustomizeTableOfContents(TableOfContents): def generate_heading_id(self, token, i): return 't-' + str(i + 1)
class TestCustomizeToc(BaseTestCase): def test_rst_toc(self): md = create_markdown( escape=False, plugins=[ RSTDirective([CustomizeTableOfContents()]), ], ) html = md('# h1\n\n.. toc::\n') self.assertIn('<h1 id="t-1">h1</h1>', html) self.assertIn('<a href="#t-1">h1</a>', html)
def test_fenced_toc(self): md = create_markdown( escape=False, plugins=[ FencedDirective([CustomizeTableOfContents()]), ], ) html = md('# h1\n\n```{toc}\n```\n') self.assertIn('<h1 id="t-1">h1</h1>', html) self.assertIn('<a href="#t-1">h1</a>', html)
def test_colon_fenced_toc(self): md = create_markdown( escape=False, plugins=[ FencedDirective([CustomizeTableOfContents()], ':'), ], ) html = md('# h1\n\n:::{toc}\n:::\n') self.assertIn('<h1 id="t-1">h1</h1>', html) self.assertIn('<a href="#t-1">h1</a>', html)
class TestDirectiveInclude(BaseTestCase): md = create_markdown(escape=False, plugins=[RSTDirective([Include()])]) # type: ignore[list-item]
def test_html_include(self): html = self.md.read(os.path.join(ROOT, 'include/text.md'))[0] self.assertIn('Could not include self', html) self.assertIn('Could not find file', html) self.assertIn('<div>include html</div>', html) self.assertIn('<blockquote>', html) self.assertIn('# Table of Contents', html)
def test_include_missing_source(self): s = '.. include:: foo.txt' html = self.md(s) self.assertIn('Missing source file', html)1234567891011121314151617181920212223242526import osfrom mistune import create_markdownfrom mistune.toc import add_toc_hook, render_toc_ulfrom tests import BaseTestCase
class TestTocHook(BaseTestCase): @staticmethod def parse(text): md = create_markdown(escape=False) add_toc_hook(md) html, state = md.parse(text) result = html + render_toc_ul(state.env['toc_items']) return result
def test_customize_heading_id_func(self): def heading_id(token, i): return 't-' + str(i + 1)
md = create_markdown(escape=False) add_toc_hook(md, heading_id=heading_id) html = md('# h1') self.assertEqual(html, '<h1 id="t-1">h1</h1>\n')
TestTocHook.load_fixtures('hook_toc.txt')123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137import mistunefrom unittest import TestCase
class TestMiscCases(TestCase): def test_none(self): self.assertEqual(mistune.html(None), '')
def test_before_parse_hooks(self): def _add_name(md, state): state.env['name'] = 'test'
md = mistune.create_markdown() md.before_parse_hooks.append(_add_name) state = md.block.state_cls() md.parse('', state) self.assertEqual(state.env['name'], 'test')
def test_hard_wrap(self): md = mistune.create_markdown(escape=False, hard_wrap=True) result = md('foo\nbar') expected = '<p>foo<br />\nbar</p>' self.assertEqual(result.strip(), expected)
md = mistune.create_markdown( escape=False, hard_wrap=True, plugins=['speedup']) result = md('foo\nbar') self.assertEqual(result.strip(), expected)
def test_escape_html(self): md = mistune.create_markdown(escape=True) result = md('<div>1</div>') expected = '<p><div>1</div></p>' self.assertEqual(result.strip(), expected)
result = md('<em>1</em>') expected = '<p><em>1</em></p>' self.assertEqual(result.strip(), expected)
def test_harmful_links(self): result = mistune.html('[h](javAscript:alert)') expected = '<p><a href="#harmful-link">h</a></p>' self.assertEqual(result.strip(), expected)
def test_ref_link(self): result = mistune.html('[link][h]\n\n[h]: /foo') expected = '<p><a href="/foo">link</a></p>' self.assertEqual(result.strip(), expected)
def test_allow_harmful_protocols(self): renderer = mistune.HTMLRenderer(allow_harmful_protocols=True) md = mistune.Markdown(renderer) result = md('[h](javascript:alert)') expected = '<p><a href="javascript:alert">h</a></p>' self.assertEqual(result.strip(), expected)
def test_allow_data_protocols(self): renderer = mistune.HTMLRenderer(allow_harmful_protocols=['data:']) md = mistune.Markdown(renderer) result = md('[h](data:alert)') expected = '<p><a href="data:alert">h</a></p>' self.assertEqual(result.strip(), expected)
def test_use_plugin(self): from mistune.plugins.url import url md = mistune.Markdown(mistune.HTMLRenderer()) md.use(url)
def test_markdown_func(self): result = mistune.markdown('**b**') expected = '<p><strong>b</strong></p>\n' self.assertEqual(result, expected)
# trigger to use cached parser result = mistune.markdown('**b**') self.assertEqual(result, expected)
def test_ast_output(self): md = mistune.create_markdown(escape=False, renderer=None) text = '# h1\n\nfoo **bar**\n\n`&<>"`' result = md(text) expected = [ { 'type': 'heading', 'children': [{'type': 'text', 'raw': 'h1'}], 'attrs': {'level': 1}, 'style': 'atx', }, {'type': 'blank_line'}, { 'type': 'paragraph', 'children': [ {'type': 'text', 'raw': 'foo '}, {'type': 'strong', 'children': [{'type': 'text', 'raw': 'bar'}]} ] }, {'type': 'blank_line'}, { 'type': 'paragraph', 'children': [ {'type': 'codespan', 'raw': '&<>"'}, ] }, ] self.assertEqual(result, expected)
def test_ast_url(self): md = mistune.create_markdown(escape=False, renderer=None) label = 'hi &<>"' url = 'https://example.com/foo?a=1&b=2' text = '[{}]({})'.format(label, url) result = md(text) expected = [ { 'type': 'paragraph', 'children': [ { 'type': 'link', 'children': [{'type': 'text', 'raw': label}], 'attrs': {'url': url}, }, ], }, ] self.assertEqual(result, expected)
def test_emsp(self): md = mistune.create_markdown(escape=False, hard_wrap=True) result = md('\u2003\u2003foo\nbar\n\n\u2003\u2003foobar') expected = '<p>\u2003\u2003foo<br />\nbar</p>\n<p>\u2003\u2003foobar</p>' self.assertEqual(result.strip(), expected)
def test_html_tag_text_following_list(self): md = mistune.create_markdown(escape=False, hard_wrap=True) result = md('foo\n- bar\n\ntable') expected = '<p>foo</p>\n<ul>\n<li>bar</li>\n</ul>\n<p>table</p>' self.assertEqual(result.strip(), expected)123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566from mistune import create_markdownfrom mistune.plugins.table import table_in_list, table_in_quotefrom mistune.plugins.math import math_in_list, math_in_quotefrom tests import BaseTestCase
def load_plugin(plugin_name): md1 = create_markdown(escape=False, plugins=[plugin_name]) md2 = create_markdown(escape=False, plugins=[plugin_name, 'speedup'])
class TestPlugin1(BaseTestCase): parse = md1
class TestPlugin2(BaseTestCase): parse = md2
TestPlugin1.load_fixtures(plugin_name + ".txt") TestPlugin2.load_fixtures(plugin_name + ".txt") globals()["TestPlugin1_" + plugin_name] = TestPlugin1 globals()["TestPlugin2_" + plugin_name] = TestPlugin2
load_plugin("url")load_plugin("strikethrough")load_plugin("mark")load_plugin("insert")load_plugin("superscript")load_plugin("subscript")load_plugin("task_lists")load_plugin("table")load_plugin("def_list")load_plugin("footnotes")load_plugin("abbr")load_plugin("math")load_plugin("ruby")load_plugin("spoiler")
class TestExtraPlugins(BaseTestCase): def test_table_in_list(self): text = '''- Cell | Cell\n ---- | ----\n 1 | 2\n''' md1 = create_markdown(escape=False) md2 = create_markdown(escape=False, plugins=['table', table_in_list]) self.assertNotIn('<table>', md1(text)) self.assertIn('<table>', md2(text))
def test_table_in_quote(self): text = '''> Cell | Cell\n> ---- | ----\n> 1 | 2\n''' md1 = create_markdown(escape=False) md2 = create_markdown(escape=False, plugins=['table', table_in_quote]) self.assertNotIn('<table>', md1(text)) self.assertIn('<table>', md2(text))
def test_math_in_list(self): text = '''- $$\n foo\n $$\n''' md1 = create_markdown(escape=False) md2 = create_markdown(escape=False, plugins=['math', math_in_list]) self.assertNotIn('class="math"', md1(text)) self.assertIn('class="math"', md2(text))
def test_math_in_quote(self): text = '''> $$\n> foo\n> $$\n''' md1 = create_markdown(escape=False) md2 = create_markdown(escape=False, plugins=['math', math_in_quote]) self.assertNotIn('class="math"', md1(text)) self.assertIn('class="math"', md2(text))1234567891011121314151617from mistune import create_markdownfrom mistune.renderers.rst import RSTRendererfrom mistune.renderers.markdown import MarkdownRendererfrom tests import BaseTestCase
def load_renderer(renderer): class TestRenderer(BaseTestCase): parse = create_markdown(renderer=renderer)
name = renderer.NAME TestRenderer.load_fixtures('renderer_' + name + '.txt') globals()["TestRenderer" + name.title()] = TestRenderer
load_renderer(RSTRenderer())load_renderer(MarkdownRenderer())123456789101112import mistunefrom tests import BaseTestCase, normalize_html
class TestSyntax(BaseTestCase): def assert_case(self, n, text, html): result = mistune.html(text) self.assertEqual(normalize_html(result), normalize_html(html))
TestSyntax.load_fixtures('fix-commonmark.txt')TestSyntax.load_fixtures('diff-commonmark.txt')123456789101112131415161718192021#!/bin/bashset -Eeuo pipefailcd /testbed/repocat > /tmp/openenv-reference.diff <<'OPENENV_PARTIAL'diff --git a/src/mistune/util.py b/src/mistune/util.pyindex 7f4e9428fda7a7ba05ce1fd6fdc33eff7d75d80b..884ed55215b3abd44d4513e26d95c26bad6b4ca2 100644--- a/src/mistune/util.py+++ b/src/mistune/util.py@@ -8,8 +8,8 @@ def expand_leading_tab(text: str, width: int = 4) -> str: def repl(m: Match[str]) -> str:- s = m.group(0)- return s + ' ' * (len(s) - width)+ s = m.group(1)+ return s + ' ' * (width - len(s)) return _expand_tab_re.sub(repl, text) OPENENV_PARTIAL/usr/bin/git -c core.hooksPath=/dev/null -c core.fsmonitor=false apply --whitespace=nowarn /tmp/openenv-reference.diff123#!/bin/bashset -Eeuo pipefail:123456789101112131415161718192021222324252627{ "canaries": "validation/canaries", "profile": "harbor-semantic-v1", "requires_credentials": false, "resources": { "cpu": 2, "disk_mb": 16384, "episode_timeout_s": 1800, "memory_mb": 8192 }, "reward": { "floor_margin": 0.1, "oracle_tolerance": 0, "range": [ 0, 1 ] }, "reward_key": "reward", "types": { "tags": [ "swe", "python", "mutation-repair" ] }}1234567891011121314Copyright (c) 2014, Hsiaoming Yang
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
* Neither the name of the creator nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/expected-panels.jsonAdded+951
tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/grade.pyAdded+128
tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/panel-config.jsonAdded+24
tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/test.shAdded+6
tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted-inventory.jsonAdded+212
tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/pyproject.tomlAdded+69
tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/setup.pyAdded+3
tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/__init__.pyAdded+40
tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/fixtures/__init__.pyAdded+56
tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/fixtures/abbr.txtAdded+79
tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/fixtures/commonmark.jsonAdded
tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/fixtures/def_list.txtAdded+172
tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/fixtures/diff-commonmark.txtAdded+76
tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/fixtures/fenced_admonition.txtAdded+129
tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/fixtures/fenced_figure.txtAdded+166
tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/fixtures/fenced_image.txtAdded+102
tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/fixtures/fenced_toc.txtAdded+237
tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/fixtures/fix-commonmark.txtAdded+123
tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/fixtures/footnotes.txtAdded+45
tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/fixtures/hook_toc.txtAdded+122
tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/fixtures/include/hello.mdAdded+1
tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/fixtures/include/hello.txtAdded+1
tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/fixtures/include/text.htmlAdded+1
tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/fixtures/include/text.mdAdded+12
tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/fixtures/insert.txtAdded+62
tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/fixtures/mark.txtAdded+61
tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/fixtures/math.txtAdded+57
tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/fixtures/renderer_markdown.txtAdded+299
tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/fixtures/renderer_rst.txtAdded+250
tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/fixtures/rst_admonition.txtAdded+46
tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/fixtures/rst_toc.txtAdded+223
tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/fixtures/ruby.txtAdded+64
tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/fixtures/spoiler.txtAdded+74
tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/fixtures/strikethrough.txtAdded+46
tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/fixtures/subscript.txtAdded+26
tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/fixtures/superscript.txtAdded+26
tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/fixtures/table.txtAdded+258
tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/fixtures/task_lists.txtAdded+108
tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/fixtures/url.txtAdded+22
tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/test_commonmark.pyAdded+76
tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/test_directives.pyAdded+93
tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/test_hooks.pyAdded+26
tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/test_misc.pyAdded+137
tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/test_plugins.pyAdded+66
tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/test_renderers.pyAdded+17
tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/test_syntax.pyAdded+12
tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/validation/canaries/first-hunk-only.shAdded+21
tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/validation/canaries/original-bug.shAdded+3
tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/validation/openenv.jsonAdded+27
tasks/lepture__mistune.bf54ef67.combine_file__d7rfqbr0/LICENSE.sourceAdded+14