export const spec = [ { markdown: "\tfoo\tbaz\t\tbim\n", html: "
foo\tbaz\t\tbim\n\n",
example: 1,
start_line: 352,
end_line: 357,
section: "Tabs",
},
{
markdown: " \tfoo\tbaz\t\tbim\n",
html: "foo\tbaz\t\tbim\n\n",
example: 2,
start_line: 359,
end_line: 364,
section: "Tabs",
},
{
markdown: " a\ta\n ὐ\ta\n",
html: "a\ta\nὐ\ta\n\n",
example: 3,
start_line: 366,
end_line: 373,
section: "Tabs",
},
{
markdown: " - foo\n\n\tbar\n",
html: "foo
\nbar
\nfoo
\n bar\n\n\n\n", example: 6, start_line: 415, end_line: 422, section: "Tabs", }, { markdown: "-\t\tfoo\n", html: "\nfoo\n
foo\n\nfoo\nbar\n\n",
example: 8,
start_line: 436,
end_line: 443,
section: "Tabs",
},
{
markdown: " - foo\n - bar\n\t - baz\n",
html: "+++
\n", example: 14, start_line: 548, end_line: 552, section: "Thematic breaks", }, { markdown: "===\n", html: "===
\n", example: 15, start_line: 555, end_line: 559, section: "Thematic breaks", }, { markdown: "--\n**\n__\n", html: "--\n**\n__
\n", example: 16, start_line: 564, end_line: 572, section: "Thematic breaks", }, { markdown: " ***\n ***\n ***\n", html: "***\n\n",
example: 18,
start_line: 590,
end_line: 595,
section: "Thematic breaks",
},
{
markdown: "Foo\n ***\n",
html: "Foo\n***
\n", example: 19, start_line: 598, end_line: 604, section: "Thematic breaks", }, { markdown: "_____________________________________\n", html: "_ _ _ _ a
\na------
\n---a---
\n", example: 25, start_line: 650, end_line: 660, section: "Thematic breaks", }, { markdown: " *-*\n", html: "-
\n", example: 26, start_line: 666, end_line: 670, section: "Thematic breaks", }, { markdown: "- foo\n***\n- bar\n", html: "Foo
\nbar
\n", example: 28, start_line: 692, end_line: 700, section: "Thematic breaks", }, { markdown: "Foo\n---\nbar\n", html: "bar
\n", example: 29, start_line: 709, end_line: 716, section: "Thematic breaks", }, { markdown: "* Foo\n* * *\n* Bar\n", html: "####### foo
\n", example: 33, start_line: 787, end_line: 791, section: "ATX headings", }, { markdown: "#5 bolt\n\n#hashtag\n", html: "#5 bolt
\n#hashtag
\n", example: 34, start_line: 802, end_line: 809, section: "ATX headings", }, { markdown: "\\## foo\n", html: "## foo
\n", example: 35, start_line: 814, end_line: 818, section: "ATX headings", }, { markdown: "# foo *bar* \\*baz\\*\n", html: "# foo\n\n",
example: 39,
start_line: 854,
end_line: 859,
section: "ATX headings",
},
{
markdown: "foo\n # bar\n",
html: "foo\n# bar
\n", example: 40, start_line: 862, end_line: 868, section: "ATX headings", }, { markdown: "## foo ##\n ### bar ###\n", html: "Foo bar
\nBar foo
\n", example: 48, start_line: 950, end_line: 958, section: "ATX headings", }, { markdown: "## \n#\n### ###\n", html: "\n\n\n", example: 49, start_line: 963, end_line: 971, section: "ATX headings", }, { markdown: "Foo *bar*\n=========\n\nFoo *bar*\n---------\n", html: "Foo\n---\n\nFoo\n\nFoo\n---
\n", example: 57, start_line: 1108, end_line: 1114, section: "Setext headings", }, { markdown: "Foo\n= =\n\nFoo\n--- -\n", html: "Foo\n= =
\nFoo
\n`
\nof dashes"/>
\n", example: 61, start_line: 1156, end_line: 1169, section: "Setext headings", }, { markdown: "> Foo\n---\n", html: "\n\nFoo
\n
\n\n", example: 63, start_line: 1186, end_line: 1196, section: "Setext headings", }, { markdown: "- Foo\n---\n", html: "foo\nbar\n===
\n
Baz
\n", example: 66, start_line: 1227, end_line: 1239, section: "Setext headings", }, { markdown: "\n====\n", html: "====
\n", example: 67, start_line: 1244, end_line: 1249, section: "Setext headings", }, { markdown: "---\n---\n", html: "foo\n\n\n\nfoo
\n
Foo
\nbaz
\n", example: 73, start_line: 1331, end_line: 1341, section: "Setext headings", }, { markdown: "Foo\nbar\n\n---\n\nbaz\n", html: "Foo\nbar
\nbaz
\n", example: 74, start_line: 1347, end_line: 1359, section: "Setext headings", }, { markdown: "Foo\nbar\n* * *\nbaz\n", html: "Foo\nbar
\nbaz
\n", example: 75, start_line: 1365, end_line: 1375, section: "Setext headings", }, { markdown: "Foo\nbar\n\\---\nbaz\n", html: "Foo\nbar\n---\nbaz
\n", example: 76, start_line: 1380, end_line: 1390, section: "Setext headings", }, { markdown: " a simple\n indented code block\n", html: "a simple\n indented code block\n\n",
example: 77,
start_line: 1408,
end_line: 1415,
section: "Indented code blocks",
},
{
markdown: " - foo\n\n bar\n",
html: "foo
\nbar
\nfoo
\n<a/>\n*hi*\n\n- one\n\n",
example: 80,
start_line: 1456,
end_line: 1467,
section: "Indented code blocks",
},
{
markdown: " chunk1\n\n chunk2\n \n \n \n chunk3\n",
html: "chunk1\n\nchunk2\n\n\n\nchunk3\n\n",
example: 81,
start_line: 1472,
end_line: 1489,
section: "Indented code blocks",
},
{
markdown: " chunk1\n \n chunk2\n",
html: "chunk1\n \n chunk2\n\n",
example: 82,
start_line: 1495,
end_line: 1504,
section: "Indented code blocks",
},
{
markdown: "Foo\n bar\n\n",
html: "Foo\nbar
\n", example: 83, start_line: 1510, end_line: 1517, section: "Indented code blocks", }, { markdown: " foo\nbar\n", html: "foo\n\nbar
\n", example: 84, start_line: 1524, end_line: 1531, section: "Indented code blocks", }, { markdown: "# Heading\n foo\nHeading\n------\n foo\n----\n", html: "foo\n\nfoo\n\n foo\nbar\n\n",
example: 86,
start_line: 1557,
end_line: 1564,
section: "Indented code blocks",
},
{
markdown: "\n \n foo\n \n\n",
html: "foo\n\n",
example: 87,
start_line: 1570,
end_line: 1579,
section: "Indented code blocks",
},
{
markdown: " foo \n",
html: "foo \n\n",
example: 88,
start_line: 1584,
end_line: 1589,
section: "Indented code blocks",
},
{
markdown: "```\n<\n >\n```\n",
html: "<\n >\n\n",
example: 89,
start_line: 1639,
end_line: 1648,
section: "Fenced code blocks",
},
{
markdown: "~~~\n<\n >\n~~~\n",
html: "<\n >\n\n",
example: 90,
start_line: 1653,
end_line: 1662,
section: "Fenced code blocks",
},
{
markdown: "``\nfoo\n``\n",
html: "foo
aaa\n~~~\n\n",
example: 92,
start_line: 1677,
end_line: 1686,
section: "Fenced code blocks",
},
{
markdown: "~~~\naaa\n```\n~~~\n",
html: "aaa\n```\n\n",
example: 93,
start_line: 1689,
end_line: 1698,
section: "Fenced code blocks",
},
{
markdown: "````\naaa\n```\n``````\n",
html: "aaa\n```\n\n",
example: 94,
start_line: 1703,
end_line: 1712,
section: "Fenced code blocks",
},
{
markdown: "~~~~\naaa\n~~~\n~~~~\n",
html: "aaa\n~~~\n\n",
example: 95,
start_line: 1715,
end_line: 1724,
section: "Fenced code blocks",
},
{
markdown: "```\n",
html: "\n",
example: 96,
start_line: 1730,
end_line: 1734,
section: "Fenced code blocks",
},
{
markdown: "`````\n\n```\naaa\n",
html: "\n```\naaa\n\n",
example: 97,
start_line: 1737,
end_line: 1747,
section: "Fenced code blocks",
},
{
markdown: "> ```\n> aaa\n\nbbb\n",
html: "\n\n\naaa\n
bbb
\n", example: 98, start_line: 1750, end_line: 1761, section: "Fenced code blocks", }, { markdown: "```\n\n \n```\n", html: "\n \n\n",
example: 99,
start_line: 1766,
end_line: 1775,
section: "Fenced code blocks",
},
{
markdown: "```\n```\n",
html: "\n",
example: 100,
start_line: 1780,
end_line: 1785,
section: "Fenced code blocks",
},
{
markdown: " ```\n aaa\naaa\n```\n",
html: "aaa\naaa\n\n",
example: 101,
start_line: 1792,
end_line: 1801,
section: "Fenced code blocks",
},
{
markdown: " ```\naaa\n aaa\naaa\n ```\n",
html: "aaa\naaa\naaa\n\n",
example: 102,
start_line: 1804,
end_line: 1815,
section: "Fenced code blocks",
},
{
markdown: " ```\n aaa\n aaa\n aaa\n ```\n",
html: "aaa\n aaa\naaa\n\n",
example: 103,
start_line: 1818,
end_line: 1829,
section: "Fenced code blocks",
},
{
markdown: " ```\n aaa\n ```\n",
html: "```\naaa\n```\n\n",
example: 104,
start_line: 1834,
end_line: 1843,
section: "Fenced code blocks",
},
{
markdown: "```\naaa\n ```\n",
html: "aaa\n\n",
example: 105,
start_line: 1849,
end_line: 1856,
section: "Fenced code blocks",
},
{
markdown: " ```\naaa\n ```\n",
html: "aaa\n\n",
example: 106,
start_line: 1859,
end_line: 1866,
section: "Fenced code blocks",
},
{
markdown: "```\naaa\n ```\n",
html: "aaa\n ```\n\n",
example: 107,
start_line: 1871,
end_line: 1879,
section: "Fenced code blocks",
},
{
markdown: "``` ```\naaa\n",
html: " \naaa
aaa\n~~~ ~~\n\n",
example: 109,
start_line: 1894,
end_line: 1902,
section: "Fenced code blocks",
},
{
markdown: "foo\n```\nbar\n```\nbaz\n",
html: "foo
\nbar\n\nbaz
\n", example: 110, start_line: 1908, end_line: 1919, section: "Fenced code blocks", }, { markdown: "foo\n---\n~~~\nbar\n~~~\n# baz\n", html: "bar\n\ndef foo(x)\n return 3\nend\n\n",
example: 112,
start_line: 1947,
end_line: 1958,
section: "Fenced code blocks",
},
{
markdown: "~~~~ ruby startline=3 $%@#$\ndef foo(x)\n return 3\nend\n~~~~~~~\n",
html: "def foo(x)\n return 3\nend\n\n",
example: 113,
start_line: 1961,
end_line: 1972,
section: "Fenced code blocks",
},
{
markdown: "````;\n````\n",
html: "\n",
example: 114,
start_line: 1975,
end_line: 1980,
section: "Fenced code blocks",
},
{
markdown: "``` aa ```\nfoo\n",
html: "aa\nfoo
foo\n\n",
example: 116,
start_line: 1996,
end_line: 2003,
section: "Fenced code blocks",
},
{
markdown: "```\n``` aaa\n```\n",
html: "``` aaa\n\n",
example: 117,
start_line: 2008,
end_line: 2015,
section: "Fenced code blocks",
},
{
markdown: "\n\n**Hello**,\n\n_world_.\n\n |
\n\n**Hello**,\n\n |
| \n hi\n | \n
| \n hi\n | \n
okay.
\n", example: 119, start_line: 2116, end_line: 2135, section: "HTML blocks", }, { markdown: "Markdown
\nbar
\n", example: 125, start_line: 2201, end_line: 2210, section: "HTML blocks", }, { markdown: "\n", html: "\n", example: 129, start_line: 2250, end_line: 2254, section: "HTML blocks", }, { markdown: "| \nfoo\n |
| \nfoo\n |
foo
\nfoo
\nimport Text.HTML.TagSoup\n\nmain :: IO ()\nmain = print $ parseTags tags\n\nokay\n",
html: "\nimport Text.HTML.TagSoup\n\nmain :: IO ()\nmain = print $ parseTags tags\n\nokay
\n", example: 139, start_line: 2390, end_line: 2406, section: "HTML blocks", }, { markdown: "\nokay\n", html: "\nokay
\n", example: 140, start_line: 2411, end_line: 2425, section: "HTML blocks", }, { markdown: "\nokay\n", html: "\nokay
\n", example: 141, start_line: 2430, end_line: 2446, section: "HTML blocks", }, { markdown: "\n*foo*\n", html: "\nfoo
\n", example: 145, start_line: 2495, end_line: 2501, section: "HTML blocks", }, { markdown: "*bar*\n*baz*\n", html: "*bar*\nbaz
\n", example: 146, start_line: 2504, end_line: 2510, section: "HTML blocks", }, { markdown: "1. *bar*\n", html: "1. *bar*\n", example: 147, start_line: 2516, end_line: 2524, section: "HTML blocks", }, { markdown: "\nokay\n", html: "\nokay
\n", example: 148, start_line: 2529, end_line: 2541, section: "HTML blocks", }, { markdown: "';\n\n?>\nokay\n", html: "';\n\n?>\nokay
\n", example: 149, start_line: 2547, end_line: 2561, section: "HTML blocks", }, { markdown: "\n", html: "\n", example: 150, start_line: 2566, end_line: 2570, section: "HTML blocks", }, { markdown: "\nokay\n", html: "\nokay
\n", example: 151, start_line: 2575, end_line: 2603, section: "HTML blocks", }, { markdown: " \n\n \n", html: " \n<!-- foo -->\n\n",
example: 152,
start_line: 2608,
end_line: 2616,
section: "HTML blocks",
},
{
markdown: " <div>\n\n",
example: 153,
start_line: 2619,
end_line: 2627,
section: "HTML blocks",
},
{
markdown: "Foo\nFoo
\nFoo\n\nbaz
\n", example: 156, start_line: 2665, end_line: 2673, section: "HTML blocks", }, { markdown: "Emphasized text.
\n| \nHi\n | \n\n
| \nHi\n | \n
| \n Hi\n | \n\n
[foo]: /url 'title
\nwith blank line'
\n[foo]
\n", example: 166, start_line: 2877, end_line: 2887, section: "Link reference definitions", }, { markdown: "[foo]:\n/url\n\n[foo]\n", html: "\n", example: 167, start_line: 2892, end_line: 2899, section: "Link reference definitions", }, { markdown: "[foo]:\n\n[foo]\n", html: "[foo]:
\n[foo]
\n", example: 168, start_line: 2904, end_line: 2911, section: "Link reference definitions", }, { markdown: "[foo]: <>\n\n[foo]\n", html: "\n", example: 169, start_line: 2916, end_line: 2922, section: "Link reference definitions", }, { markdown: "[foo]:[foo]:
[foo]
\n", example: 170, start_line: 2927, end_line: 2934, section: "Link reference definitions", }, { markdown: "[foo]: /url\\bar\\*baz \"foo\\\"bar\\baz\"\n\n[foo]\n", html: "\n", example: 171, start_line: 2940, end_line: 2946, section: "Link reference definitions", }, { markdown: "[foo]\n\n[foo]: url\n", html: "\n", example: 172, start_line: 2951, end_line: 2957, section: "Link reference definitions", }, { markdown: "[foo]\n\n[foo]: first\n[foo]: second\n", html: "\n", example: 173, start_line: 2963, end_line: 2970, section: "Link reference definitions", }, { markdown: "[FOO]: /url\n\n[Foo]\n", html: "\n", example: 174, start_line: 2976, end_line: 2982, section: "Link reference definitions", }, { markdown: "[ΑΓΩ]: /φου\n\n[αγω]\n", html: "\n", example: 175, start_line: 2985, end_line: 2991, section: "Link reference definitions", }, { markdown: "[foo]: /url\n", html: "", example: 176, start_line: 2997, end_line: 3000, section: "Link reference definitions", }, { markdown: "[\nfoo\n]: /url\nbar\n", html: "bar
\n", example: 177, start_line: 3005, end_line: 3012, section: "Link reference definitions", }, { markdown: "[foo]: /url \"title\" ok\n", html: "[foo]: /url "title" ok
\n", example: 178, start_line: 3018, end_line: 3022, section: "Link reference definitions", }, { markdown: "[foo]: /url\n\"title\" ok\n", html: ""title" ok
\n", example: 179, start_line: 3027, end_line: 3032, section: "Link reference definitions", }, { markdown: " [foo]: /url \"title\"\n\n[foo]\n", html: "[foo]: /url "title"\n\n[foo]
\n", example: 180, start_line: 3038, end_line: 3046, section: "Link reference definitions", }, { markdown: "```\n[foo]: /url\n```\n\n[foo]\n", html: "[foo]: /url\n\n[foo]
\n", example: 181, start_line: 3052, end_line: 3062, section: "Link reference definitions", }, { markdown: "Foo\n[bar]: /baz\n\n[bar]\n", html: "Foo\n[bar]: /baz
\n[bar]
\n", example: 182, start_line: 3067, end_line: 3076, section: "Link reference definitions", }, { markdown: "# [Foo]\n[foo]: /url\n> bar\n", html: "\n\n", example: 183, start_line: 3082, end_line: 3091, section: "Link reference definitions", }, { markdown: "[foo]: /url\nbar\n===\n[foo]\n", html: "bar
\n
===\nfoo
\n", example: 185, start_line: 3103, end_line: 3110, section: "Link reference definitions", }, { markdown: "[foo]: /foo-url \"foo\"\n[bar]: /bar-url\n \"bar\"\n[baz]: /baz-url\n\n[foo],\n[bar],\n[baz]\n", html: "\n", example: 186, start_line: 3116, end_line: 3129, section: "Link reference definitions", }, { markdown: "[foo]\n\n> [foo]: /url\n", html: "\n\n\n", example: 187, start_line: 3137, end_line: 3145, section: "Link reference definitions", }, { markdown: "[foo]: /url\n", html: "", example: 188, start_line: 3154, end_line: 3157, section: "Link reference definitions", }, { markdown: "aaa\n\nbbb\n", html: "
aaa
\nbbb
\n", example: 189, start_line: 3171, end_line: 3178, section: "Paragraphs", }, { markdown: "aaa\nbbb\n\nccc\nddd\n", html: "aaa\nbbb
\nccc\nddd
\n", example: 190, start_line: 3183, end_line: 3194, section: "Paragraphs", }, { markdown: "aaa\n\n\nbbb\n", html: "aaa
\nbbb
\n", example: 191, start_line: 3199, end_line: 3207, section: "Paragraphs", }, { markdown: " aaa\n bbb\n", html: "aaa\nbbb
\n", example: 192, start_line: 3212, end_line: 3218, section: "Paragraphs", }, { markdown: "aaa\n bbb\n ccc\n", html: "aaa\nbbb\nccc
\n", example: 193, start_line: 3224, end_line: 3232, section: "Paragraphs", }, { markdown: " aaa\nbbb\n", html: "aaa\nbbb
\n", example: 194, start_line: 3238, end_line: 3244, section: "Paragraphs", }, { markdown: " aaa\nbbb\n", html: "aaa\n\nbbb
\n", example: 195, start_line: 3247, end_line: 3254, section: "Paragraphs", }, { markdown: "aaa \nbbb \n", html: "aaa
\nbbb
aaa
\n\n\n", example: 198, start_line: 3344, end_line: 3354, section: "Block quotes", }, { markdown: "># Foo\n>bar\n> baz\n", html: "Foo
\nbar\nbaz
\n
\n\n", example: 199, start_line: 3359, end_line: 3369, section: "Block quotes", }, { markdown: " > # Foo\n > bar\n > baz\n", html: "Foo
\nbar\nbaz
\n
\n\n", example: 200, start_line: 3374, end_line: 3384, section: "Block quotes", }, { markdown: " > # Foo\n > bar\n > baz\n", html: "Foo
\nbar\nbaz
\n
> # Foo\n> bar\n> baz\n\n",
example: 201,
start_line: 3389,
end_line: 3398,
section: "Block quotes",
},
{
markdown: "> # Foo\n> bar\nbaz\n",
html: "\n\n", example: 202, start_line: 3404, end_line: 3414, section: "Block quotes", }, { markdown: "> bar\nbaz\n> foo\n", html: "Foo
\nbar\nbaz
\n
\n\n", example: 203, start_line: 3420, end_line: 3430, section: "Block quotes", }, { markdown: "> foo\n---\n", html: "bar\nbaz\nfoo
\n
\n\nfoo
\n
\n\n\n
\n- foo
\n
\n\n\nfoo\n
bar\n\n",
example: 206,
start_line: 3482,
end_line: 3492,
section: "Block quotes",
},
{
markdown: "> ```\nfoo\n```\n",
html: "\n\n\n
foo
\n\n",
example: 207,
start_line: 3495,
end_line: 3505,
section: "Block quotes",
},
{
markdown: "> foo\n - bar\n",
html: "\n\n", example: 208, start_line: 3511, end_line: 3519, section: "Block quotes", }, { markdown: ">\n", html: "foo\n- bar
\n
\n\n", example: 209, start_line: 3535, end_line: 3540, section: "Block quotes", }, { markdown: ">\n> \n> \n", html: "
\n\n", example: 210, start_line: 3543, end_line: 3550, section: "Block quotes", }, { markdown: ">\n> foo\n> \n", html: "
\n\n", example: 211, start_line: 3555, end_line: 3563, section: "Block quotes", }, { markdown: "> foo\n\n> bar\n", html: "foo
\n
\n\nfoo
\n
\n\n", example: 212, start_line: 3568, end_line: 3579, section: "Block quotes", }, { markdown: "> foo\n> bar\n", html: "bar
\n
\n\n", example: 213, start_line: 3590, end_line: 3598, section: "Block quotes", }, { markdown: "> foo\n>\n> bar\n", html: "foo\nbar
\n
\n\n", example: 214, start_line: 3603, end_line: 3612, section: "Block quotes", }, { markdown: "foo\n> bar\n", html: "foo
\nbar
\n
foo
\n\n\n", example: 215, start_line: 3617, end_line: 3625, section: "Block quotes", }, { markdown: "> aaa\n***\n> bbb\n", html: "bar
\n
\n\naaa
\n
\n\n", example: 216, start_line: 3631, end_line: 3643, section: "Block quotes", }, { markdown: "> bar\nbaz\n", html: "bbb
\n
\n\n", example: 217, start_line: 3649, end_line: 3657, section: "Block quotes", }, { markdown: "> bar\n\nbaz\n", html: "bar\nbaz
\n
\n\nbar
\n
baz
\n", example: 218, start_line: 3660, end_line: 3669, section: "Block quotes", }, { markdown: "> bar\n>\nbaz\n", html: "\n\nbar
\n
baz
\n", example: 219, start_line: 3672, end_line: 3681, section: "Block quotes", }, { markdown: "> > > foo\nbar\n", html: "\n\n", example: 220, start_line: 3688, end_line: 3700, section: "Block quotes", }, { markdown: ">>> foo\n> bar\n>>baz\n", html: "\n\n\n\nfoo\nbar
\n
\n\n", example: 221, start_line: 3703, end_line: 3717, section: "Block quotes", }, { markdown: "> code\n\n> not code\n", html: "\n\n\n\nfoo\nbar\nbaz
\n
\n\n\ncode\n
\n\n", example: 222, start_line: 3725, end_line: 3737, section: "Block quotes", }, { markdown: "A paragraph\nwith two lines.\n\n indented code\n\n> A block quote.\n", html: "not code
\n
A paragraph\nwith two lines.
\nindented code\n\n\n\n", example: 223, start_line: 3779, end_line: 3794, section: "List items", }, { markdown: "1. A paragraph\n with two lines.\n\n indented code\n\n > A block quote.\n", html: "A block quote.
\n
A paragraph\nwith two lines.
\nindented code\n\n\n\nA block quote.
\n
two
\n", example: 225, start_line: 3834, end_line: 3843, section: "List items", }, { markdown: "- one\n\n two\n", html: "one
\ntwo
\n two\n\n",
example: 227,
start_line: 3860,
end_line: 3870,
section: "List items",
},
{
markdown: " - one\n\n two\n",
html: "one
\ntwo
\n\n\n", example: 229, start_line: 3895, end_line: 3910, section: "List items", }, { markdown: ">>- one\n>>\n > > two\n", html: "\n\n\n
\n- \n
\none
\ntwo
\n
\n\n", example: 230, start_line: 3922, end_line: 3935, section: "List items", }, { markdown: "-one\n\n2.two\n", html: "\n\n\n
\n- one
\ntwo
\n
-one
\n2.two
\n", example: 231, start_line: 3941, end_line: 3948, section: "List items", }, { markdown: "- foo\n\n\n bar\n", html: "foo
\nbar
\nfoo
\nbar\n\nbaz
\n\n\nbam
\n
Foo
\nbar\n\n\nbaz\n\n1234567890. not ok
\n", example: 236, start_line: 4030, end_line: 4034, section: "List items", }, { markdown: "0. ok\n", html: "-1. not ok
\n", example: 239, start_line: 4059, end_line: 4063, section: "List items", }, { markdown: "- foo\n\n bar\n", html: "foo
\nbar\n\nfoo
\nbar\n\nindented code\n\nparagraph
\nmore code\n\n",
example: 242,
start_line: 4118,
end_line: 4130,
section: "List items",
},
{
markdown: "1. indented code\n\n paragraph\n\n more code\n",
html: "indented code\n\nparagraph
\nmore code\n\n indented code\n\nparagraph
\nmore code\n\nfoo
\nbar
\n", example: 245, start_line: 4182, end_line: 4189, section: "List items", }, { markdown: "- foo\n\n bar\n", html: "bar
\n", example: 246, start_line: 4192, end_line: 4201, section: "List items", }, { markdown: "- foo\n\n bar\n", html: "foo
\nbar
\nbar\n\nbaz\n\nfoo
\n", example: 250, start_line: 4277, end_line: 4286, section: "List items", }, { markdown: "- foo\n-\n- bar\n", html: "foo\n*
\nfoo\n1.
\n", example: 255, start_line: 4346, end_line: 4357, section: "List items", }, { markdown: " 1. A paragraph\n with two lines.\n\n indented code\n\n > A block quote.\n", html: "A paragraph\nwith two lines.
\nindented code\n\n\n\nA block quote.
\n
A paragraph\nwith two lines.
\nindented code\n\n\n\nA block quote.
\n
A paragraph\nwith two lines.
\nindented code\n\n\n\nA block quote.
\n
1. A paragraph\n with two lines.\n\n indented code\n\n > A block quote.\n\n",
example: 259,
start_line: 4440,
end_line: 4455,
section: "List items",
},
{
markdown: " 1. A paragraph\nwith two lines.\n\n indented code\n\n > A block quote.\n",
html: "A paragraph\nwith two lines.
\nindented code\n\n\n\nA block quote.
\n
\n\n", example: 262, start_line: 4507, end_line: 4521, section: "List items", }, { markdown: "> 1. > Blockquote\n> continued here.\n", html: "\n
\n- \n
\n\n\nBlockquote\ncontinued here.
\n
\n\n", example: 263, start_line: 4524, end_line: 4538, section: "List items", }, { markdown: "- foo\n - bar\n - baz\n - boo\n", html: "\n
\n- \n
\n\n\nBlockquote\ncontinued here.
\n
Foo
\nThe number of windows in my house is\n14. The number of doors is 6.
\n", example: 274, start_line: 5005, end_line: 5011, section: "Lists", }, { markdown: "The number of windows in my house is\n1. The number of doors is 6.\n", html: "The number of windows in my house is
\nfoo
\nbar
\nbaz
\nbaz
\nbim
\nfoo
\nnotcode
\nfoo
\ncode\n\n",
example: 279,
start_line: 5101,
end_line: 5124,
section: "Lists",
},
{
markdown: "- a\n - b\n - c\n - d\n - e\n - f\n- g\n",
html: "a
\nb
\nc
\na
\nb
\n3. c\n\n",
example: 283,
start_line: 5197,
end_line: 5214,
section: "Lists",
},
{
markdown: "- a\n- b\n\n- c\n",
html: "a
\nb
\nc
\na
\nc
\na
\nb
\nc
\nd
\na
\nb
\nd
\nb\n\n\n\nb
\nc
\n\n\nb
\n
\n\nb
\n
c\n\nfoo\n\nbar
\nfoo
\nbaz
\na
\nd
\nhilo`
!"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~
\n", example: 298, start_line: 5513, end_line: 5517, section: "Backslash escapes", }, { markdown: "\\\t\\A\\a\\ \\3\\φ\\«\n", html: "\\\t\\A\\a\\ \\3\\φ\\«
\n", example: 299, start_line: 5523, end_line: 5527, section: "Backslash escapes", }, { markdown: "\\*not emphasized*\n\\*not emphasized*\n<br/> not a tag\n[not a link](/foo)\n`not code`\n1. not a list\n* not a list\n# not a heading\n[foo]: /url "not a reference"\nö not a character entity
\n", example: 300, start_line: 5533, end_line: 5553, section: "Backslash escapes", }, { markdown: "\\\\*emphasis*\n", html: "\\emphasis
\n", example: 301, start_line: 5558, end_line: 5562, section: "Backslash escapes", }, { markdown: "foo\\\nbar\n", html: "foo
\nbar
\\[\\`
\\[\\]\n\n",
example: 304,
start_line: 5586,
end_line: 5591,
section: "Backslash escapes",
},
{
markdown: "~~~\n\\[\\]\n~~~\n",
html: "\\[\\]\n\n",
example: 305,
start_line: 5594,
end_line: 5601,
section: "Backslash escapes",
},
{
markdown: "foo\n\n",
example: 310,
start_line: 5637,
end_line: 5644,
section: "Backslash escapes",
},
{
markdown: " & © Æ Ď\n¾ ℋ ⅆ\n∲ ≧̸\n",
html: "& © Æ Ď\n¾ ℋ ⅆ\n∲ ≧̸
\n", example: 311, start_line: 5674, end_line: 5682, section: "Entity and numeric character references", }, { markdown: "# Ӓ Ϡ \n", html: "# Ӓ Ϡ �
\n", example: 312, start_line: 5693, end_line: 5697, section: "Entity and numeric character references", }, { markdown: "" ആ ಫ\n", html: "" ആ ಫ
\n", example: 313, start_line: 5706, end_line: 5710, section: "Entity and numeric character references", }, { markdown: "  &x; \n\nabcdef0;\n&ThisIsNotDefined; &hi?;\n", html: "  &x; &#; &#x;\n�\n&#abcdef0;\n&ThisIsNotDefined; &hi?;
\n", example: 314, start_line: 5715, end_line: 5725, section: "Entity and numeric character references", }, { markdown: "©\n", html: "©
\n", example: 315, start_line: 5732, end_line: 5736, section: "Entity and numeric character references", }, { markdown: "&MadeUpEntity;\n", html: "&MadeUpEntity;
\n", example: 316, start_line: 5742, end_line: 5746, section: "Entity and numeric character references", }, { markdown: "\n", html: "\n", example: 317, start_line: 5753, end_line: 5757, section: "Entity and numeric character references", }, { markdown: "[foo](/föö \"föö\")\n", html: "\n", example: 318, start_line: 5760, end_line: 5764, section: "Entity and numeric character references", }, { markdown: "[foo]\n\n[foo]: /föö \"föö\"\n", html: "\n", example: 319, start_line: 5767, end_line: 5773, section: "Entity and numeric character references", }, { markdown: "``` föö\nfoo\n```\n", html: "foo\n\n",
example: 320,
start_line: 5776,
end_line: 5783,
section: "Entity and numeric character references",
},
{
markdown: "`föö`\n",
html: "föö
föfö\n\n",
example: 322,
start_line: 5796,
end_line: 5801,
section: "Entity and numeric character references",
},
{
markdown: "*foo*\n*foo*\n",
html: "*foo*\nfoo
\n", example: 323, start_line: 5808, end_line: 5814, section: "Entity and numeric character references", }, { markdown: "* foo\n\n* foo\n", html: "* foo
\nfoo\n\nbar
\n", example: 325, start_line: 5827, end_line: 5833, section: "Entity and numeric character references", }, { markdown: " foo\n", html: "\tfoo
\n", example: 326, start_line: 5835, end_line: 5839, section: "Entity and numeric character references", }, { markdown: "[a](url "tit")\n", html: "[a](url "tit")
\n", example: 327, start_line: 5842, end_line: 5846, section: "Entity and numeric character references", }, { markdown: "`foo`\n", html: "foo
foo ` bar
``
``
a
b
\n
foo bar baz
foo
foo bar baz
foo\\bar`
foo`bar
foo `` bar
*foo*
[not a link](/foo)
<a href="">`
<http://foo.bar.baz>`
```foo``
\n", example: 347, start_line: 6059, end_line: 6063, section: "Code spans", }, { markdown: "`foo\n", html: "`foo
\n", example: 348, start_line: 6066, end_line: 6070, section: "Code spans", }, { markdown: "`foo``bar``\n", html: "`foobar
foo bar
\n", example: 350, start_line: 6292, end_line: 6296, section: "Emphasis and strong emphasis", }, { markdown: "a * foo bar*\n", html: "a * foo bar*
\n", example: 351, start_line: 6302, end_line: 6306, section: "Emphasis and strong emphasis", }, { markdown: "a*\"foo\"*\n", html: "a*"foo"*
\n", example: 352, start_line: 6313, end_line: 6317, section: "Emphasis and strong emphasis", }, { markdown: "* a *\n", html: "* a *
\n", example: 353, start_line: 6322, end_line: 6326, section: "Emphasis and strong emphasis", }, { markdown: "foo*bar*\n", html: "foobar
\n", example: 354, start_line: 6331, end_line: 6335, section: "Emphasis and strong emphasis", }, { markdown: "5*6*78\n", html: "5678
\n", example: 355, start_line: 6338, end_line: 6342, section: "Emphasis and strong emphasis", }, { markdown: "_foo bar_\n", html: "foo bar
\n", example: 356, start_line: 6347, end_line: 6351, section: "Emphasis and strong emphasis", }, { markdown: "_ foo bar_\n", html: "_ foo bar_
\n", example: 357, start_line: 6357, end_line: 6361, section: "Emphasis and strong emphasis", }, { markdown: "a_\"foo\"_\n", html: "a_"foo"_
\n", example: 358, start_line: 6367, end_line: 6371, section: "Emphasis and strong emphasis", }, { markdown: "foo_bar_\n", html: "foo_bar_
\n", example: 359, start_line: 6376, end_line: 6380, section: "Emphasis and strong emphasis", }, { markdown: "5_6_78\n", html: "5_6_78
\n", example: 360, start_line: 6383, end_line: 6387, section: "Emphasis and strong emphasis", }, { markdown: "пристаням_стремятся_\n", html: "пристаням_стремятся_
\n", example: 361, start_line: 6390, end_line: 6394, section: "Emphasis and strong emphasis", }, { markdown: "aa_\"bb\"_cc\n", html: "aa_"bb"_cc
\n", example: 362, start_line: 6400, end_line: 6404, section: "Emphasis and strong emphasis", }, { markdown: "foo-_(bar)_\n", html: "foo-(bar)
\n", example: 363, start_line: 6411, end_line: 6415, section: "Emphasis and strong emphasis", }, { markdown: "_foo*\n", html: "_foo*
\n", example: 364, start_line: 6423, end_line: 6427, section: "Emphasis and strong emphasis", }, { markdown: "*foo bar *\n", html: "*foo bar *
\n", example: 365, start_line: 6433, end_line: 6437, section: "Emphasis and strong emphasis", }, { markdown: "*foo bar\n*\n", html: "*foo bar\n*
\n", example: 366, start_line: 6442, end_line: 6448, section: "Emphasis and strong emphasis", }, { markdown: "*(*foo)\n", html: "*(*foo)
\n", example: 367, start_line: 6455, end_line: 6459, section: "Emphasis and strong emphasis", }, { markdown: "*(*foo*)*\n", html: "(foo)
\n", example: 368, start_line: 6465, end_line: 6469, section: "Emphasis and strong emphasis", }, { markdown: "*foo*bar\n", html: "foobar
\n", example: 369, start_line: 6474, end_line: 6478, section: "Emphasis and strong emphasis", }, { markdown: "_foo bar _\n", html: "_foo bar _
\n", example: 370, start_line: 6487, end_line: 6491, section: "Emphasis and strong emphasis", }, { markdown: "_(_foo)\n", html: "_(_foo)
\n", example: 371, start_line: 6497, end_line: 6501, section: "Emphasis and strong emphasis", }, { markdown: "_(_foo_)_\n", html: "(foo)
\n", example: 372, start_line: 6506, end_line: 6510, section: "Emphasis and strong emphasis", }, { markdown: "_foo_bar\n", html: "_foo_bar
\n", example: 373, start_line: 6515, end_line: 6519, section: "Emphasis and strong emphasis", }, { markdown: "_пристаням_стремятся\n", html: "_пристаням_стремятся
\n", example: 374, start_line: 6522, end_line: 6526, section: "Emphasis and strong emphasis", }, { markdown: "_foo_bar_baz_\n", html: "foo_bar_baz
\n", example: 375, start_line: 6529, end_line: 6533, section: "Emphasis and strong emphasis", }, { markdown: "_(bar)_.\n", html: "(bar).
\n", example: 376, start_line: 6540, end_line: 6544, section: "Emphasis and strong emphasis", }, { markdown: "**foo bar**\n", html: "foo bar
\n", example: 377, start_line: 6549, end_line: 6553, section: "Emphasis and strong emphasis", }, { markdown: "** foo bar**\n", html: "** foo bar**
\n", example: 378, start_line: 6559, end_line: 6563, section: "Emphasis and strong emphasis", }, { markdown: "a**\"foo\"**\n", html: "a**"foo"**
\n", example: 379, start_line: 6570, end_line: 6574, section: "Emphasis and strong emphasis", }, { markdown: "foo**bar**\n", html: "foobar
\n", example: 380, start_line: 6579, end_line: 6583, section: "Emphasis and strong emphasis", }, { markdown: "__foo bar__\n", html: "foo bar
\n", example: 381, start_line: 6588, end_line: 6592, section: "Emphasis and strong emphasis", }, { markdown: "__ foo bar__\n", html: "__ foo bar__
\n", example: 382, start_line: 6598, end_line: 6602, section: "Emphasis and strong emphasis", }, { markdown: "__\nfoo bar__\n", html: "__\nfoo bar__
\n", example: 383, start_line: 6606, end_line: 6612, section: "Emphasis and strong emphasis", }, { markdown: "a__\"foo\"__\n", html: "a__"foo"__
\n", example: 384, start_line: 6618, end_line: 6622, section: "Emphasis and strong emphasis", }, { markdown: "foo__bar__\n", html: "foo__bar__
\n", example: 385, start_line: 6627, end_line: 6631, section: "Emphasis and strong emphasis", }, { markdown: "5__6__78\n", html: "5__6__78
\n", example: 386, start_line: 6634, end_line: 6638, section: "Emphasis and strong emphasis", }, { markdown: "пристаням__стремятся__\n", html: "пристаням__стремятся__
\n", example: 387, start_line: 6641, end_line: 6645, section: "Emphasis and strong emphasis", }, { markdown: "__foo, __bar__, baz__\n", html: "foo, bar, baz
\n", example: 388, start_line: 6648, end_line: 6652, section: "Emphasis and strong emphasis", }, { markdown: "foo-__(bar)__\n", html: "foo-(bar)
\n", example: 389, start_line: 6659, end_line: 6663, section: "Emphasis and strong emphasis", }, { markdown: "**foo bar **\n", html: "**foo bar **
\n", example: 390, start_line: 6672, end_line: 6676, section: "Emphasis and strong emphasis", }, { markdown: "**(**foo)\n", html: "**(**foo)
\n", example: 391, start_line: 6685, end_line: 6689, section: "Emphasis and strong emphasis", }, { markdown: "*(**foo**)*\n", html: "(foo)
\n", example: 392, start_line: 6695, end_line: 6699, section: "Emphasis and strong emphasis", }, { markdown: "**Gomphocarpus (*Gomphocarpus physocarpus*, syn.\n*Asclepias physocarpa*)**\n", html: "Gomphocarpus (Gomphocarpus physocarpus, syn.\nAsclepias physocarpa)
\n", example: 393, start_line: 6702, end_line: 6708, section: "Emphasis and strong emphasis", }, { markdown: "**foo \"*bar*\" foo**\n", html: "foo "bar" foo
\n", example: 394, start_line: 6711, end_line: 6715, section: "Emphasis and strong emphasis", }, { markdown: "**foo**bar\n", html: "foobar
\n", example: 395, start_line: 6720, end_line: 6724, section: "Emphasis and strong emphasis", }, { markdown: "__foo bar __\n", html: "__foo bar __
\n", example: 396, start_line: 6732, end_line: 6736, section: "Emphasis and strong emphasis", }, { markdown: "__(__foo)\n", html: "__(__foo)
\n", example: 397, start_line: 6742, end_line: 6746, section: "Emphasis and strong emphasis", }, { markdown: "_(__foo__)_\n", html: "(foo)
\n", example: 398, start_line: 6752, end_line: 6756, section: "Emphasis and strong emphasis", }, { markdown: "__foo__bar\n", html: "__foo__bar
\n", example: 399, start_line: 6761, end_line: 6765, section: "Emphasis and strong emphasis", }, { markdown: "__пристаням__стремятся\n", html: "__пристаням__стремятся
\n", example: 400, start_line: 6768, end_line: 6772, section: "Emphasis and strong emphasis", }, { markdown: "__foo__bar__baz__\n", html: "foo__bar__baz
\n", example: 401, start_line: 6775, end_line: 6779, section: "Emphasis and strong emphasis", }, { markdown: "__(bar)__.\n", html: "(bar).
\n", example: 402, start_line: 6786, end_line: 6790, section: "Emphasis and strong emphasis", }, { markdown: "*foo [bar](/url)*\n", html: "foo bar
\n", example: 403, start_line: 6798, end_line: 6802, section: "Emphasis and strong emphasis", }, { markdown: "*foo\nbar*\n", html: "foo\nbar
\n", example: 404, start_line: 6805, end_line: 6811, section: "Emphasis and strong emphasis", }, { markdown: "_foo __bar__ baz_\n", html: "foo bar baz
\n", example: 405, start_line: 6817, end_line: 6821, section: "Emphasis and strong emphasis", }, { markdown: "_foo _bar_ baz_\n", html: "foo bar baz
\n", example: 406, start_line: 6824, end_line: 6828, section: "Emphasis and strong emphasis", }, { markdown: "__foo_ bar_\n", html: "foo bar
\n", example: 407, start_line: 6831, end_line: 6835, section: "Emphasis and strong emphasis", }, { markdown: "*foo *bar**\n", html: "foo bar
\n", example: 408, start_line: 6838, end_line: 6842, section: "Emphasis and strong emphasis", }, { markdown: "*foo **bar** baz*\n", html: "foo bar baz
\n", example: 409, start_line: 6845, end_line: 6849, section: "Emphasis and strong emphasis", }, { markdown: "*foo**bar**baz*\n", html: "foobarbaz
\n", example: 410, start_line: 6851, end_line: 6855, section: "Emphasis and strong emphasis", }, { markdown: "*foo**bar*\n", html: "foo**bar
\n", example: 411, start_line: 6875, end_line: 6879, section: "Emphasis and strong emphasis", }, { markdown: "***foo** bar*\n", html: "foo bar
\n", example: 412, start_line: 6888, end_line: 6892, section: "Emphasis and strong emphasis", }, { markdown: "*foo **bar***\n", html: "foo bar
\n", example: 413, start_line: 6895, end_line: 6899, section: "Emphasis and strong emphasis", }, { markdown: "*foo**bar***\n", html: "foobar
\n", example: 414, start_line: 6902, end_line: 6906, section: "Emphasis and strong emphasis", }, { markdown: "foo***bar***baz\n", html: "foobarbaz
\n", example: 415, start_line: 6913, end_line: 6917, section: "Emphasis and strong emphasis", }, { markdown: "foo******bar*********baz\n", html: "foobar***baz
\n", example: 416, start_line: 6919, end_line: 6923, section: "Emphasis and strong emphasis", }, { markdown: "*foo **bar *baz* bim** bop*\n", html: "foo bar baz bim bop
\n", example: 417, start_line: 6928, end_line: 6932, section: "Emphasis and strong emphasis", }, { markdown: "*foo [*bar*](/url)*\n", html: "foo bar
\n", example: 418, start_line: 6935, end_line: 6939, section: "Emphasis and strong emphasis", }, { markdown: "** is not an empty emphasis\n", html: "** is not an empty emphasis
\n", example: 419, start_line: 6944, end_line: 6948, section: "Emphasis and strong emphasis", }, { markdown: "**** is not an empty strong emphasis\n", html: "**** is not an empty strong emphasis
\n", example: 420, start_line: 6951, end_line: 6955, section: "Emphasis and strong emphasis", }, { markdown: "**foo [bar](/url)**\n", html: "foo bar
\n", example: 421, start_line: 6964, end_line: 6968, section: "Emphasis and strong emphasis", }, { markdown: "**foo\nbar**\n", html: "foo\nbar
\n", example: 422, start_line: 6971, end_line: 6977, section: "Emphasis and strong emphasis", }, { markdown: "__foo _bar_ baz__\n", html: "foo bar baz
\n", example: 423, start_line: 6983, end_line: 6987, section: "Emphasis and strong emphasis", }, { markdown: "__foo __bar__ baz__\n", html: "foo bar baz
\n", example: 424, start_line: 6990, end_line: 6994, section: "Emphasis and strong emphasis", }, { markdown: "____foo__ bar__\n", html: "foo bar
\n", example: 425, start_line: 6997, end_line: 7001, section: "Emphasis and strong emphasis", }, { markdown: "**foo **bar****\n", html: "foo bar
\n", example: 426, start_line: 7004, end_line: 7008, section: "Emphasis and strong emphasis", }, { markdown: "**foo *bar* baz**\n", html: "foo bar baz
\n", example: 427, start_line: 7011, end_line: 7015, section: "Emphasis and strong emphasis", }, { markdown: "**foo*bar*baz**\n", html: "foobarbaz
\n", example: 428, start_line: 7018, end_line: 7022, section: "Emphasis and strong emphasis", }, { markdown: "***foo* bar**\n", html: "foo bar
\n", example: 429, start_line: 7025, end_line: 7029, section: "Emphasis and strong emphasis", }, { markdown: "**foo *bar***\n", html: "foo bar
\n", example: 430, start_line: 7032, end_line: 7036, section: "Emphasis and strong emphasis", }, { markdown: "**foo *bar **baz**\nbim* bop**\n", html: "foo bar baz\nbim bop
\n", example: 431, start_line: 7041, end_line: 7047, section: "Emphasis and strong emphasis", }, { markdown: "**foo [*bar*](/url)**\n", html: "foo bar
\n", example: 432, start_line: 7050, end_line: 7054, section: "Emphasis and strong emphasis", }, { markdown: "__ is not an empty emphasis\n", html: "__ is not an empty emphasis
\n", example: 433, start_line: 7059, end_line: 7063, section: "Emphasis and strong emphasis", }, { markdown: "____ is not an empty strong emphasis\n", html: "____ is not an empty strong emphasis
\n", example: 434, start_line: 7066, end_line: 7070, section: "Emphasis and strong emphasis", }, { markdown: "foo ***\n", html: "foo ***
\n", example: 435, start_line: 7076, end_line: 7080, section: "Emphasis and strong emphasis", }, { markdown: "foo *\\**\n", html: "foo *
\n", example: 436, start_line: 7083, end_line: 7087, section: "Emphasis and strong emphasis", }, { markdown: "foo *_*\n", html: "foo _
\n", example: 437, start_line: 7090, end_line: 7094, section: "Emphasis and strong emphasis", }, { markdown: "foo *****\n", html: "foo *****
\n", example: 438, start_line: 7097, end_line: 7101, section: "Emphasis and strong emphasis", }, { markdown: "foo **\\***\n", html: "foo *
\n", example: 439, start_line: 7104, end_line: 7108, section: "Emphasis and strong emphasis", }, { markdown: "foo **_**\n", html: "foo _
\n", example: 440, start_line: 7111, end_line: 7115, section: "Emphasis and strong emphasis", }, { markdown: "**foo*\n", html: "*foo
\n", example: 441, start_line: 7122, end_line: 7126, section: "Emphasis and strong emphasis", }, { markdown: "*foo**\n", html: "foo*
\n", example: 442, start_line: 7129, end_line: 7133, section: "Emphasis and strong emphasis", }, { markdown: "***foo**\n", html: "*foo
\n", example: 443, start_line: 7136, end_line: 7140, section: "Emphasis and strong emphasis", }, { markdown: "****foo*\n", html: "***foo
\n", example: 444, start_line: 7143, end_line: 7147, section: "Emphasis and strong emphasis", }, { markdown: "**foo***\n", html: "foo*
\n", example: 445, start_line: 7150, end_line: 7154, section: "Emphasis and strong emphasis", }, { markdown: "*foo****\n", html: "foo***
\n", example: 446, start_line: 7157, end_line: 7161, section: "Emphasis and strong emphasis", }, { markdown: "foo ___\n", html: "foo ___
\n", example: 447, start_line: 7167, end_line: 7171, section: "Emphasis and strong emphasis", }, { markdown: "foo _\\__\n", html: "foo _
\n", example: 448, start_line: 7174, end_line: 7178, section: "Emphasis and strong emphasis", }, { markdown: "foo _*_\n", html: "foo *
\n", example: 449, start_line: 7181, end_line: 7185, section: "Emphasis and strong emphasis", }, { markdown: "foo _____\n", html: "foo _____
\n", example: 450, start_line: 7188, end_line: 7192, section: "Emphasis and strong emphasis", }, { markdown: "foo __\\___\n", html: "foo _
\n", example: 451, start_line: 7195, end_line: 7199, section: "Emphasis and strong emphasis", }, { markdown: "foo __*__\n", html: "foo *
\n", example: 452, start_line: 7202, end_line: 7206, section: "Emphasis and strong emphasis", }, { markdown: "__foo_\n", html: "_foo
\n", example: 453, start_line: 7209, end_line: 7213, section: "Emphasis and strong emphasis", }, { markdown: "_foo__\n", html: "foo_
\n", example: 454, start_line: 7220, end_line: 7224, section: "Emphasis and strong emphasis", }, { markdown: "___foo__\n", html: "_foo
\n", example: 455, start_line: 7227, end_line: 7231, section: "Emphasis and strong emphasis", }, { markdown: "____foo_\n", html: "___foo
\n", example: 456, start_line: 7234, end_line: 7238, section: "Emphasis and strong emphasis", }, { markdown: "__foo___\n", html: "foo_
\n", example: 457, start_line: 7241, end_line: 7245, section: "Emphasis and strong emphasis", }, { markdown: "_foo____\n", html: "foo___
\n", example: 458, start_line: 7248, end_line: 7252, section: "Emphasis and strong emphasis", }, { markdown: "**foo**\n", html: "foo
\n", example: 459, start_line: 7258, end_line: 7262, section: "Emphasis and strong emphasis", }, { markdown: "*_foo_*\n", html: "foo
\n", example: 460, start_line: 7265, end_line: 7269, section: "Emphasis and strong emphasis", }, { markdown: "__foo__\n", html: "foo
\n", example: 461, start_line: 7272, end_line: 7276, section: "Emphasis and strong emphasis", }, { markdown: "_*foo*_\n", html: "foo
\n", example: 462, start_line: 7279, end_line: 7283, section: "Emphasis and strong emphasis", }, { markdown: "****foo****\n", html: "foo
\n", example: 463, start_line: 7289, end_line: 7293, section: "Emphasis and strong emphasis", }, { markdown: "____foo____\n", html: "foo
\n", example: 464, start_line: 7296, end_line: 7300, section: "Emphasis and strong emphasis", }, { markdown: "******foo******\n", html: "foo
\n", example: 465, start_line: 7307, end_line: 7311, section: "Emphasis and strong emphasis", }, { markdown: "***foo***\n", html: "foo
\n", example: 466, start_line: 7316, end_line: 7320, section: "Emphasis and strong emphasis", }, { markdown: "_____foo_____\n", html: "foo
\n", example: 467, start_line: 7323, end_line: 7327, section: "Emphasis and strong emphasis", }, { markdown: "*foo _bar* baz_\n", html: "foo _bar baz_
\n", example: 468, start_line: 7332, end_line: 7336, section: "Emphasis and strong emphasis", }, { markdown: "*foo __bar *baz bim__ bam*\n", html: "foo bar *baz bim bam
\n", example: 469, start_line: 7339, end_line: 7343, section: "Emphasis and strong emphasis", }, { markdown: "**foo **bar baz**\n", html: "**foo bar baz
\n", example: 470, start_line: 7348, end_line: 7352, section: "Emphasis and strong emphasis", }, { markdown: "*foo *bar baz*\n", html: "*foo bar baz
\n", example: 471, start_line: 7355, end_line: 7359, section: "Emphasis and strong emphasis", }, { markdown: "*[bar*](/url)\n", html: "*bar*
\n", example: 472, start_line: 7364, end_line: 7368, section: "Emphasis and strong emphasis", }, { markdown: "_foo [bar_](/url)\n", html: "_foo bar_
\n", example: 473, start_line: 7371, end_line: 7375, section: "Emphasis and strong emphasis", }, { markdown: "**
a *
a _
[link](/my uri)
\n", example: 485, start_line: 7537, end_line: 7541, section: "Links", }, { markdown: "[link]([link](foo\nbar)
\n", example: 487, start_line: 7552, end_line: 7558, section: "Links", }, { markdown: "[link]([link](
[link](<foo>)
\n", example: 490, start_line: 7579, end_line: 7583, section: "Links", }, { markdown: "[a](\n[a](c)\n", html: "[a](<b)c\n[a](<b)c>\n[a](c)
\n", example: 491, start_line: 7588, end_line: 7596, section: "Links", }, { markdown: "[link](\\(foo\\))\n", html: "\n", example: 492, start_line: 7600, end_line: 7604, section: "Links", }, { markdown: "[link](foo(and(bar)))\n", html: "\n", example: 493, start_line: 7609, end_line: 7613, section: "Links", }, { markdown: "[link](foo\\(and\\(bar\\))\n", html: "\n", example: 494, start_line: 7618, end_line: 7622, section: "Links", }, { markdown: "[link]([link](/url "title "and" title")
\n", example: 504, start_line: 7729, end_line: 7733, section: "Links", }, { markdown: "[link](/url 'title \"and\" title')\n", html: "\n", example: 505, start_line: 7738, end_line: 7742, section: "Links", }, { markdown: "[link]( /uri\n \"title\" )\n", html: "\n", example: 506, start_line: 7762, end_line: 7767, section: "Links", }, { markdown: "[link] (/uri)\n", html: "[link] (/uri)
\n", example: 507, start_line: 7773, end_line: 7777, section: "Links", }, { markdown: "[link [foo [bar]]](/uri)\n", html: "\n", example: 508, start_line: 7783, end_line: 7787, section: "Links", }, { markdown: "[link] bar](/uri)\n", html: "[link] bar](/uri)
\n", example: 509, start_line: 7790, end_line: 7794, section: "Links", }, { markdown: "[link [bar](/uri)\n", html: "[link bar
\n", example: 510, start_line: 7797, end_line: 7801, section: "Links", }, { markdown: "[link \\[bar](/uri)\n", html: "\n", example: 511, start_line: 7804, end_line: 7808, section: "Links", }, { markdown: "[link *foo **bar** `#`*](/uri)\n", html: "\n", example: 512, start_line: 7813, end_line: 7817, section: "Links", }, { markdown: "[](/uri)\n", html: "\n", example: 513, start_line: 7820, end_line: 7824, section: "Links", }, { markdown: "[foo [bar](/uri)](/uri)\n", html: "[foo bar](/uri)
\n", example: 514, start_line: 7829, end_line: 7833, section: "Links", }, { markdown: "[foo *[bar [baz](/uri)](/uri)*](/uri)\n", html: "[foo [bar baz](/uri)](/uri)
\n", example: 515, start_line: 7836, end_line: 7840, section: "Links", }, { markdown: "](uri2)](uri3)\n", html: "*foo*
\n", example: 517, start_line: 7853, end_line: 7857, section: "Links", }, { markdown: "[foo *bar](baz*)\n", html: "\n", example: 518, start_line: 7860, end_line: 7864, section: "Links", }, { markdown: "*foo [bar* baz]\n", html: "foo [bar baz]
\n", example: 519, start_line: 7870, end_line: 7874, section: "Links", }, { markdown: "[foo[foo
[foo](/uri)
[foohttp://example.com/?search=](uri)
\n", example: 522, start_line: 7894, end_line: 7898, section: "Links", }, { markdown: "[foo][bar]\n\n[bar]: /url \"title\"\n", html: "\n", example: 523, start_line: 7932, end_line: 7938, section: "Links", }, { markdown: "[link [foo [bar]]][ref]\n\n[ref]: /uri\n", html: "\n", example: 524, start_line: 7947, end_line: 7953, section: "Links", }, { markdown: "[link \\[bar][ref]\n\n[ref]: /uri\n", html: "\n", example: 525, start_line: 7956, end_line: 7962, section: "Links", }, { markdown: "[link *foo **bar** `#`*][ref]\n\n[ref]: /uri\n", html: "\n", example: 526, start_line: 7967, end_line: 7973, section: "Links", }, { markdown: "[][ref]\n\n[ref]: /uri\n", html: "\n", example: 527, start_line: 7976, end_line: 7982, section: "Links", }, { markdown: "[foo [bar](/uri)][ref]\n\n[ref]: /uri\n", html: "\n", example: 528, start_line: 7987, end_line: 7993, section: "Links", }, { markdown: "[foo *bar [baz][ref]*][ref]\n\n[ref]: /uri\n", html: "\n", example: 529, start_line: 7996, end_line: 8002, section: "Links", }, { markdown: "*[foo*][ref]\n\n[ref]: /uri\n", html: "*foo*
\n", example: 530, start_line: 8011, end_line: 8017, section: "Links", }, { markdown: "[foo *bar][ref]\n\n[ref]: /uri\n", html: "\n", example: 531, start_line: 8020, end_line: 8026, section: "Links", }, { markdown: "[foo[foo
[foo][ref]
[foohttp://example.com/?search=][ref]
\n", example: 534, start_line: 8050, end_line: 8056, section: "Links", }, { markdown: "[foo][BaR]\n\n[bar]: /url \"title\"\n", html: "\n", example: 535, start_line: 8061, end_line: 8067, section: "Links", }, { markdown: "[Толпой][Толпой] is a Russian word.\n\n[ТОЛПОЙ]: /url\n", html: "Толпой is a Russian word.
\n", example: 536, start_line: 8072, end_line: 8078, section: "Links", }, { markdown: "[Foo\n bar]: /url\n\n[Baz][Foo bar]\n", html: "\n", example: 537, start_line: 8084, end_line: 8091, section: "Links", }, { markdown: "[foo] [bar]\n\n[bar]: /url \"title\"\n", html: "[foo] bar
\n", example: 538, start_line: 8097, end_line: 8103, section: "Links", }, { markdown: "[foo]\n[bar]\n\n[bar]: /url \"title\"\n", html: "[foo]\nbar
\n", example: 539, start_line: 8106, end_line: 8114, section: "Links", }, { markdown: "[foo]: /url1\n\n[foo]: /url2\n\n[bar][foo]\n", html: "\n", example: 540, start_line: 8147, end_line: 8155, section: "Links", }, { markdown: "[bar][foo\\!]\n\n[foo!]: /url\n", html: "[bar][foo!]
\n", example: 541, start_line: 8162, end_line: 8168, section: "Links", }, { markdown: "[foo][ref[]\n\n[ref[]: /uri\n", html: "[foo][ref[]
\n[ref[]: /uri
\n", example: 542, start_line: 8174, end_line: 8181, section: "Links", }, { markdown: "[foo][ref[bar]]\n\n[ref[bar]]: /uri\n", html: "[foo][ref[bar]]
\n[ref[bar]]: /uri
\n", example: 543, start_line: 8184, end_line: 8191, section: "Links", }, { markdown: "[[[foo]]]\n\n[[[foo]]]: /url\n", html: "[[[foo]]]
\n[[[foo]]]: /url
\n", example: 544, start_line: 8194, end_line: 8201, section: "Links", }, { markdown: "[foo][ref\\[]\n\n[ref\\[]: /uri\n", html: "\n", example: 545, start_line: 8204, end_line: 8210, section: "Links", }, { markdown: "[bar\\\\]: /uri\n\n[bar\\\\]\n", html: "\n", example: 546, start_line: 8215, end_line: 8221, section: "Links", }, { markdown: "[]\n\n[]: /uri\n", html: "[]
\n[]: /uri
\n", example: 547, start_line: 8226, end_line: 8233, section: "Links", }, { markdown: "[\n ]\n\n[\n ]: /uri\n", html: "[\n]
\n[\n]: /uri
\n", example: 548, start_line: 8236, end_line: 8247, section: "Links", }, { markdown: "[foo][]\n\n[foo]: /url \"title\"\n", html: "\n", example: 549, start_line: 8259, end_line: 8265, section: "Links", }, { markdown: "[*foo* bar][]\n\n[*foo* bar]: /url \"title\"\n", html: "\n", example: 550, start_line: 8268, end_line: 8274, section: "Links", }, { markdown: "[Foo][]\n\n[foo]: /url \"title\"\n", html: "\n", example: 551, start_line: 8279, end_line: 8285, section: "Links", }, { markdown: "[foo] \n[]\n\n[foo]: /url \"title\"\n", html: "foo\n[]
\n", example: 552, start_line: 8292, end_line: 8300, section: "Links", }, { markdown: "[foo]\n\n[foo]: /url \"title\"\n", html: "\n", example: 553, start_line: 8312, end_line: 8318, section: "Links", }, { markdown: "[*foo* bar]\n\n[*foo* bar]: /url \"title\"\n", html: "\n", example: 554, start_line: 8321, end_line: 8327, section: "Links", }, { markdown: "[[*foo* bar]]\n\n[*foo* bar]: /url \"title\"\n", html: "[foo bar]
\n", example: 555, start_line: 8330, end_line: 8336, section: "Links", }, { markdown: "[[bar [foo]\n\n[foo]: /url\n", html: "[[bar foo
\n", example: 556, start_line: 8339, end_line: 8345, section: "Links", }, { markdown: "[Foo]\n\n[foo]: /url \"title\"\n", html: "\n", example: 557, start_line: 8350, end_line: 8356, section: "Links", }, { markdown: "[foo] bar\n\n[foo]: /url\n", html: "foo bar
\n", example: 558, start_line: 8361, end_line: 8367, section: "Links", }, { markdown: "\\[foo]\n\n[foo]: /url \"title\"\n", html: "[foo]
\n", example: 559, start_line: 8373, end_line: 8379, section: "Links", }, { markdown: "[foo*]: /url\n\n*[foo*]\n", html: "*foo*
\n", example: 560, start_line: 8385, end_line: 8391, section: "Links", }, { markdown: "[foo][bar]\n\n[foo]: /url1\n[bar]: /url2\n", html: "\n", example: 561, start_line: 8397, end_line: 8404, section: "Links", }, { markdown: "[foo][]\n\n[foo]: /url1\n", html: "\n", example: 562, start_line: 8406, end_line: 8412, section: "Links", }, { markdown: "[foo]()\n\n[foo]: /url1\n", html: "\n", example: 563, start_line: 8416, end_line: 8422, section: "Links", }, { markdown: "[foo](not a link)\n\n[foo]: /url1\n", html: "foo(not a link)
\n", example: 564, start_line: 8424, end_line: 8430, section: "Links", }, { markdown: "[foo][bar][baz]\n\n[baz]: /url\n", html: "[foo]bar
\n", example: 565, start_line: 8435, end_line: 8441, section: "Links", }, { markdown: "[foo][bar][baz]\n\n[baz]: /url1\n[bar]: /url2\n", html: "\n", example: 566, start_line: 8447, end_line: 8454, section: "Links", }, { markdown: "[foo][bar][baz]\n\n[baz]: /url1\n[foo]: /url2\n", html: "[foo]bar
\n", example: 567, start_line: 8460, end_line: 8467, section: "Links", }, { markdown: "\n", html: "



My 
\n[]
![[foo]]
\n[[foo]]: /url "title"
\n", example: 586, start_line: 8653, end_line: 8660, section: "Images", }, { markdown: "![Foo]\n\n[foo]: /url \"title\"\n", html: "![foo]
\n", example: 588, start_line: 8677, end_line: 8683, section: "Images", }, { markdown: "\\![foo]\n\n[foo]: /url \"title\"\n", html: "!foo
\n", example: 589, start_line: 8689, end_line: 8695, section: "Images", }, { markdown: "http://foo.bar.baz/test?q=hello&id=22&boolean
\n", example: 591, start_line: 8729, end_line: 8733, section: "Autolinks", }, { markdown: "<http://foo.bar/baz bim>
\n", example: 598, start_line: 8787, end_line: 8791, section: "Autolinks", }, { markdown: "<foo+@bar.example.com>
\n", example: 602, start_line: 8834, end_line: 8838, section: "Autolinks", }, { markdown: "<>\n", html: "<>
\n", example: 603, start_line: 8843, end_line: 8847, section: "Autolinks", }, { markdown: "< http://foo.bar >\n", html: "< http://foo.bar >
\n", example: 604, start_line: 8850, end_line: 8854, section: "Autolinks", }, { markdown: "<m:abc>
\n", example: 605, start_line: 8857, end_line: 8861, section: "Autolinks", }, { markdown: "<foo.bar.baz>
\n", example: 606, start_line: 8864, end_line: 8868, section: "Autolinks", }, { markdown: "http://example.com\n", html: "http://example.com
\n", example: 607, start_line: 8871, end_line: 8875, section: "Autolinks", }, { markdown: "foo@bar.example.com\n", html: "foo@bar.example.com
\n", example: 608, start_line: 8878, end_line: 8882, section: "Autolinks", }, { markdown: "Foo
<33> <__>
\n", example: 614, start_line: 9009, end_line: 9013, section: "Raw HTML", }, { markdown: "\n", html: "<a h*#ref="hi">
\n", example: 615, start_line: 9018, end_line: 9022, section: "Raw HTML", }, { markdown: " \n", html: "<a href="hi'> <a href=hi'>
\n", example: 616, start_line: 9027, end_line: 9031, section: "Raw HTML", }, { markdown: "< a><\nfoo>< a><\nfoo><bar/ >\n<foo bar=baz\nbim!bop />
\n", example: 617, start_line: 9036, end_line: 9046, section: "Raw HTML", }, { markdown: "\n", html: "<a href='bar'title=title>
\n", example: 618, start_line: 9051, end_line: 9055, section: "Raw HTML", }, { markdown: "</a href="foo">
\n", example: 620, start_line: 9069, end_line: 9073, section: "Raw HTML", }, { markdown: "foo \n", html: "foo
\n", example: 621, start_line: 9078, end_line: 9084, section: "Raw HTML", }, { markdown: "foo \n", html: "foo <!-- not a comment -- two hyphens -->
\n", example: 622, start_line: 9087, end_line: 9091, section: "Raw HTML", }, { markdown: "foo foo -->\n\nfoo \n", html: "foo <!--> foo -->
\nfoo <!-- foo--->
\n", example: 623, start_line: 9096, end_line: 9103, section: "Raw HTML", }, { markdown: "foo \n", html: "foo
\n", example: 624, start_line: 9108, end_line: 9112, section: "Raw HTML", }, { markdown: "foo \n", html: "foo
\n", example: 625, start_line: 9117, end_line: 9121, section: "Raw HTML", }, { markdown: "foo &<]]>\n", html: "foo &<]]>
\n", example: 626, start_line: 9126, end_line: 9130, section: "Raw HTML", }, { markdown: "foo \n", html: "\n", example: 627, start_line: 9136, end_line: 9140, section: "Raw HTML", }, { markdown: "foo \n", html: "\n", example: 628, start_line: 9145, end_line: 9149, section: "Raw HTML", }, { markdown: "\n", html: "<a href=""">
\n", example: 629, start_line: 9152, end_line: 9156, section: "Raw HTML", }, { markdown: "foo \nbaz\n", html: "foo
\nbaz
foo
\nbaz
foo
\nbaz
foo
\nbar
foo
\nbar
foo
\nbar
foo
\nbar
code span
code\\ span
foo\\
\n", example: 641, start_line: 9281, end_line: 9285, section: "Hard line breaks", }, { markdown: "foo \n", html: "foo
\n", example: 642, start_line: 9288, end_line: 9292, section: "Hard line breaks", }, { markdown: "### foo\\\n", html: "foo\nbaz
\n", example: 645, start_line: 9317, end_line: 9323, section: "Soft line breaks", }, { markdown: "foo \n baz\n", html: "foo\nbaz
\n", example: 646, start_line: 9329, end_line: 9335, section: "Soft line breaks", }, { markdown: "hello $.;'there\n", html: "hello $.;'there
\n", example: 647, start_line: 9349, end_line: 9353, section: "Textual content", }, { markdown: "Foo χρῆν\n", html: "Foo χρῆν
\n", example: 648, start_line: 9356, end_line: 9360, section: "Textual content", }, { markdown: "Multiple spaces\n", html: "Multiple spaces
\n", example: 649, start_line: 9365, end_line: 9369, section: "Textual content", }, ];