diff --git a/commonmark/README.md b/commonmark/README.md new file mode 100644 index 0000000..470a691 --- /dev/null +++ b/commonmark/README.md @@ -0,0 +1,25 @@ + +This is a test suite for Blackfriday's CommonMark compatibility. Currently it is +placed in a subpackage to avoid breaking the main test suite. When full +compatibility is reached, it should get moved to the main test suite. + +The `testdata/commonmark-tests-dump.json` was generated by running the following +commands: + +``` +$ git clone git@github.com:commonmark/CommonMark.git +$ cd CommonMark +$ python3 test/spec_tests.py --dump-tests > commonmark-tests-dump.json +``` + +Run the tests with `go run commonmark_testsuite.go`. Notice that Blackfriday is +imported as `"github.com/russross/blackfriday.v2"` here. This means that you have +to have Blackfriday v2 branch checked out as `blackfriday.v2` in you `$GOPATH`: + +``` +$ go get -u "github.com/russross/blackfriday" +$ cd $GOPATH/src/github.com/russross/blackfriday +$ git checkout v2 +$ cd .. +$ mv blackfriday blackfriday.v2 +``` diff --git a/commonmark/commonmark_testsuite.go b/commonmark/commonmark_testsuite.go new file mode 100644 index 0000000..34ca0c3 --- /dev/null +++ b/commonmark/commonmark_testsuite.go @@ -0,0 +1,106 @@ +package main + +import ( + "encoding/json" + "fmt" + "io/ioutil" + "log" + "sort" + + blackfriday "github.com/russross/blackfriday.v2" +) + +const testsDump = "testdata/commonmark-tests-dump.json" + +type commonMarkTestCase struct { + Section string `json:"section"` + Markdown string `json:"markdown"` + HTML string `json:"html"` + StartLine int `json:"start_line"` + EndLine int `json:"end_line"` + Example int `json:"example"` +} + +type sectionStats struct { + numTests int + numPass int +} + +type stats struct { + perSection map[string]*sectionStats + numTests int + numPass int +} + +func load(testsuite string) []commonMarkTestCase { + by, err := ioutil.ReadFile(testsDump) + if err != nil { + log.Fatal(err) + } + var tests []commonMarkTestCase + err = json.Unmarshal(by, &tests) + if err != nil { + log.Fatal(err) + } + return tests +} + +func prepStats(tests []commonMarkTestCase) *stats { + statsPerSection := map[string]*sectionStats{} + for _, test := range tests { + s, ok := statsPerSection[test.Section] + if !ok { + s = §ionStats{} + } + s.numTests++ + statsPerSection[test.Section] = s + } + return &stats{ + perSection: statsPerSection, + numTests: len(tests), + } +} + +func reportStats(s *stats) { + coveredSections := &stats{ + perSection: map[string]*sectionStats{}, + } + var coveredNames []string + var uncoveredNames []string + for section, stats := range s.perSection { + if stats.numTests == stats.numPass { + coveredSections.perSection[section] = stats + coveredNames = append(coveredNames, section) + delete(s.perSection, section) + } else { + uncoveredNames = append(uncoveredNames, section) + } + } + sort.Strings(coveredNames) + fmt.Println("Completely covered sections:") + for _, section := range coveredNames { + s := coveredSections.perSection[section] + fmt.Printf("%q: %d/%d tests passed\n", section, s.numTests, s.numPass) + } + sort.Strings(uncoveredNames) + fmt.Println("\nRemaining sections:") + for _, section := range uncoveredNames { + stats := s.perSection[section] + fmt.Printf("%q: %d/%d tests passed\n", section, stats.numPass, stats.numTests) + } + fmt.Printf("\nTotal %d/%d tests passed\n", s.numPass, s.numTests) +} + +func main() { + tests := load(testsDump) + stats := prepStats(tests) + for _, test := range tests { + s := stats.perSection[test.Section] + html := string(blackfriday.Run([]byte(test.Markdown))) + if html == test.HTML { + stats.numPass++ + s.numPass++ + } + } + reportStats(stats) +} diff --git a/commonmark/testdata/commonmark-tests-dump.json b/commonmark/testdata/commonmark-tests-dump.json new file mode 100644 index 0000000..30b6a84 --- /dev/null +++ b/commonmark/testdata/commonmark-tests-dump.json @@ -0,0 +1,4994 @@ +[ + { + "section": "Tabs", + "end_line": 355, + "markdown": "\tfoo\tbaz\t\tbim\n", + "html": "
foo\tbaz\t\tbim\n\n",
+ "example": 1,
+ "start_line": 350
+ },
+ {
+ "section": "Tabs",
+ "end_line": 362,
+ "markdown": " \tfoo\tbaz\t\tbim\n",
+ "html": "foo\tbaz\t\tbim\n\n",
+ "example": 2,
+ "start_line": 357
+ },
+ {
+ "section": "Tabs",
+ "end_line": 371,
+ "markdown": " a\ta\n ὐ\ta\n",
+ "html": "a\ta\nὐ\ta\n\n",
+ "example": 3,
+ "start_line": 364
+ },
+ {
+ "section": "Tabs",
+ "end_line": 388,
+ "markdown": " - foo\n\n\tbar\n",
+ "html": "foo
\nbar
\nfoo
\n bar\n\n\n\n", + "example": 6, + "start_line": 413 + }, + { + "section": "Tabs", + "end_line": 431, + "markdown": "-\t\tfoo\n", + "html": "\nfoo\n
foo\n\nfoo\nbar\n\n",
+ "example": 8,
+ "start_line": 434
+ },
+ {
+ "section": "Tabs",
+ "end_line": 459,
+ "markdown": " - foo\n - bar\n\t - baz\n",
+ "html": "+++
\n", + "example": 14, + "start_line": 546 + }, + { + "section": "Thematic breaks", + "end_line": 557, + "markdown": "===\n", + "html": "===
\n", + "example": 15, + "start_line": 553 + }, + { + "section": "Thematic breaks", + "end_line": 570, + "markdown": "--\n**\n__\n", + "html": "--\n**\n__
\n", + "example": 16, + "start_line": 562 + }, + { + "section": "Thematic breaks", + "end_line": 583, + "markdown": " ***\n ***\n ***\n", + "html": "***\n\n",
+ "example": 18,
+ "start_line": 588
+ },
+ {
+ "section": "Thematic breaks",
+ "end_line": 602,
+ "markdown": "Foo\n ***\n",
+ "html": "Foo\n***
\n", + "example": 19, + "start_line": 596 + }, + { + "section": "Thematic breaks", + "end_line": 611, + "markdown": "_____________________________________\n", + "html": "_ _ _ _ a
\na------
\n---a---
\n", + "example": 25, + "start_line": 648 + }, + { + "section": "Thematic breaks", + "end_line": 668, + "markdown": " *-*\n", + "html": "-
\n", + "example": 26, + "start_line": 664 + }, + { + "section": "Thematic breaks", + "end_line": 685, + "markdown": "- foo\n***\n- bar\n", + "html": "Foo
\nbar
\n", + "example": 28, + "start_line": 690 + }, + { + "section": "Thematic breaks", + "end_line": 714, + "markdown": "Foo\n---\nbar\n", + "html": "bar
\n", + "example": 29, + "start_line": 707 + }, + { + "section": "Thematic breaks", + "end_line": 732, + "markdown": "* Foo\n* * *\n* Bar\n", + "html": "####### foo
\n", + "example": 33, + "start_line": 785 + }, + { + "section": "ATX headings", + "end_line": 807, + "markdown": "#5 bolt\n\n#hashtag\n", + "html": "#5 bolt
\n#hashtag
\n", + "example": 34, + "start_line": 800 + }, + { + "section": "ATX headings", + "end_line": 816, + "markdown": "\\## foo\n", + "html": "## foo
\n", + "example": 35, + "start_line": 812 + }, + { + "section": "ATX headings", + "end_line": 825, + "markdown": "# foo *bar* \\*baz\\*\n", + "html": "# foo\n\n",
+ "example": 39,
+ "start_line": 852
+ },
+ {
+ "section": "ATX headings",
+ "end_line": 866,
+ "markdown": "foo\n # bar\n",
+ "html": "foo\n# bar
\n", + "example": 40, + "start_line": 860 + }, + { + "section": "ATX headings", + "end_line": 877, + "markdown": "## foo ##\n ### bar ###\n", + "html": "Foo bar
\nBar foo
\n", + "example": 48, + "start_line": 948 + }, + { + "section": "ATX headings", + "end_line": 969, + "markdown": "## \n#\n### ###\n", + "html": "\n\n\n", + "example": 49, + "start_line": 961 + }, + { + "section": "Setext headings", + "end_line": 1013, + "markdown": "Foo *bar*\n=========\n\nFoo *bar*\n---------\n", + "html": "Foo\n---\n\nFoo\n\nFoo\n---
\n", + "example": 56, + "start_line": 1092 + }, + { + "section": "Setext headings", + "end_line": 1114, + "markdown": "Foo\n= =\n\nFoo\n--- -\n", + "html": "Foo\n= =
\nFoo
\n`
\nof dashes"/>
\n", + "example": 60, + "start_line": 1140 + }, + { + "section": "Setext headings", + "end_line": 1167, + "markdown": "> Foo\n---\n", + "html": "\n\nFoo
\n
\n\n", + "example": 62, + "start_line": 1170 + }, + { + "section": "Setext headings", + "end_line": 1191, + "markdown": "- Foo\n---\n", + "html": "foo\nbar\n===
\n
Baz
\n", + "example": 65, + "start_line": 1211 + }, + { + "section": "Setext headings", + "end_line": 1233, + "markdown": "\n====\n", + "html": "====
\n", + "example": 66, + "start_line": 1228 + }, + { + "section": "Setext headings", + "end_line": 1246, + "markdown": "---\n---\n", + "html": "foo\n\n\n\nfoo
\n
Foo
\nbaz
\n", + "example": 72, + "start_line": 1315 + }, + { + "section": "Setext headings", + "end_line": 1343, + "markdown": "Foo\nbar\n\n---\n\nbaz\n", + "html": "Foo\nbar
\nbaz
\n", + "example": 73, + "start_line": 1331 + }, + { + "section": "Setext headings", + "end_line": 1359, + "markdown": "Foo\nbar\n* * *\nbaz\n", + "html": "Foo\nbar
\nbaz
\n", + "example": 74, + "start_line": 1349 + }, + { + "section": "Setext headings", + "end_line": 1374, + "markdown": "Foo\nbar\n\\---\nbaz\n", + "html": "Foo\nbar\n---\nbaz
\n", + "example": 75, + "start_line": 1364 + }, + { + "section": "Indented code blocks", + "end_line": 1399, + "markdown": " a simple\n indented code block\n", + "html": "a simple\n indented code block\n\n",
+ "example": 76,
+ "start_line": 1392
+ },
+ {
+ "section": "Indented code blocks",
+ "end_line": 1417,
+ "markdown": " - foo\n\n bar\n",
+ "html": "foo
\nbar
\nfoo
\n<a/>\n*hi*\n\n- one\n\n",
+ "example": 79,
+ "start_line": 1440
+ },
+ {
+ "section": "Indented code blocks",
+ "end_line": 1473,
+ "markdown": " chunk1\n\n chunk2\n \n \n \n chunk3\n",
+ "html": "chunk1\n\nchunk2\n\n\n\nchunk3\n\n",
+ "example": 80,
+ "start_line": 1456
+ },
+ {
+ "section": "Indented code blocks",
+ "end_line": 1488,
+ "markdown": " chunk1\n \n chunk2\n",
+ "html": "chunk1\n \n chunk2\n\n",
+ "example": 81,
+ "start_line": 1479
+ },
+ {
+ "section": "Indented code blocks",
+ "end_line": 1501,
+ "markdown": "Foo\n bar\n\n",
+ "html": "Foo\nbar
\n", + "example": 82, + "start_line": 1494 + }, + { + "section": "Indented code blocks", + "end_line": 1515, + "markdown": " foo\nbar\n", + "html": "foo\n\nbar
\n", + "example": 83, + "start_line": 1508 + }, + { + "section": "Indented code blocks", + "end_line": 1536, + "markdown": "# Heading\n foo\nHeading\n------\n foo\n----\n", + "html": "foo\n\nfoo\n\n foo\nbar\n\n",
+ "example": 85,
+ "start_line": 1541
+ },
+ {
+ "section": "Indented code blocks",
+ "end_line": 1563,
+ "markdown": "\n \n foo\n \n\n",
+ "html": "foo\n\n",
+ "example": 86,
+ "start_line": 1554
+ },
+ {
+ "section": "Indented code blocks",
+ "end_line": 1573,
+ "markdown": " foo \n",
+ "html": "foo \n\n",
+ "example": 87,
+ "start_line": 1568
+ },
+ {
+ "section": "Fenced code blocks",
+ "end_line": 1632,
+ "markdown": "```\n<\n >\n```\n",
+ "html": "<\n >\n\n",
+ "example": 88,
+ "start_line": 1623
+ },
+ {
+ "section": "Fenced code blocks",
+ "end_line": 1646,
+ "markdown": "~~~\n<\n >\n~~~\n",
+ "html": "<\n >\n\n",
+ "example": 89,
+ "start_line": 1637
+ },
+ {
+ "section": "Fenced code blocks",
+ "end_line": 1656,
+ "markdown": "``\nfoo\n``\n",
+ "html": "foo
aaa\n~~~\n\n",
+ "example": 91,
+ "start_line": 1661
+ },
+ {
+ "section": "Fenced code blocks",
+ "end_line": 1682,
+ "markdown": "~~~\naaa\n```\n~~~\n",
+ "html": "aaa\n```\n\n",
+ "example": 92,
+ "start_line": 1673
+ },
+ {
+ "section": "Fenced code blocks",
+ "end_line": 1696,
+ "markdown": "````\naaa\n```\n``````\n",
+ "html": "aaa\n```\n\n",
+ "example": 93,
+ "start_line": 1687
+ },
+ {
+ "section": "Fenced code blocks",
+ "end_line": 1708,
+ "markdown": "~~~~\naaa\n~~~\n~~~~\n",
+ "html": "aaa\n~~~\n\n",
+ "example": 94,
+ "start_line": 1699
+ },
+ {
+ "section": "Fenced code blocks",
+ "end_line": 1718,
+ "markdown": "```\n",
+ "html": "\n",
+ "example": 95,
+ "start_line": 1714
+ },
+ {
+ "section": "Fenced code blocks",
+ "end_line": 1731,
+ "markdown": "`````\n\n```\naaa\n",
+ "html": "\n```\naaa\n\n",
+ "example": 96,
+ "start_line": 1721
+ },
+ {
+ "section": "Fenced code blocks",
+ "end_line": 1745,
+ "markdown": "> ```\n> aaa\n\nbbb\n",
+ "html": "\n\n\naaa\n
bbb
\n", + "example": 97, + "start_line": 1734 + }, + { + "section": "Fenced code blocks", + "end_line": 1759, + "markdown": "```\n\n \n```\n", + "html": "\n \n\n",
+ "example": 98,
+ "start_line": 1750
+ },
+ {
+ "section": "Fenced code blocks",
+ "end_line": 1769,
+ "markdown": "```\n```\n",
+ "html": "\n",
+ "example": 99,
+ "start_line": 1764
+ },
+ {
+ "section": "Fenced code blocks",
+ "end_line": 1785,
+ "markdown": " ```\n aaa\naaa\n```\n",
+ "html": "aaa\naaa\n\n",
+ "example": 100,
+ "start_line": 1776
+ },
+ {
+ "section": "Fenced code blocks",
+ "end_line": 1799,
+ "markdown": " ```\naaa\n aaa\naaa\n ```\n",
+ "html": "aaa\naaa\naaa\n\n",
+ "example": 101,
+ "start_line": 1788
+ },
+ {
+ "section": "Fenced code blocks",
+ "end_line": 1813,
+ "markdown": " ```\n aaa\n aaa\n aaa\n ```\n",
+ "html": "aaa\n aaa\naaa\n\n",
+ "example": 102,
+ "start_line": 1802
+ },
+ {
+ "section": "Fenced code blocks",
+ "end_line": 1827,
+ "markdown": " ```\n aaa\n ```\n",
+ "html": "```\naaa\n```\n\n",
+ "example": 103,
+ "start_line": 1818
+ },
+ {
+ "section": "Fenced code blocks",
+ "end_line": 1840,
+ "markdown": "```\naaa\n ```\n",
+ "html": "aaa\n\n",
+ "example": 104,
+ "start_line": 1833
+ },
+ {
+ "section": "Fenced code blocks",
+ "end_line": 1850,
+ "markdown": " ```\naaa\n ```\n",
+ "html": "aaa\n\n",
+ "example": 105,
+ "start_line": 1843
+ },
+ {
+ "section": "Fenced code blocks",
+ "end_line": 1863,
+ "markdown": "```\naaa\n ```\n",
+ "html": "aaa\n ```\n\n",
+ "example": 106,
+ "start_line": 1855
+ },
+ {
+ "section": "Fenced code blocks",
+ "end_line": 1875,
+ "markdown": "``` ```\naaa\n",
+ "html": "\naaa
aaa\n~~~ ~~\n\n",
+ "example": 108,
+ "start_line": 1878
+ },
+ {
+ "section": "Fenced code blocks",
+ "end_line": 1903,
+ "markdown": "foo\n```\nbar\n```\nbaz\n",
+ "html": "foo
\nbar\n\nbaz
\n", + "example": 109, + "start_line": 1892 + }, + { + "section": "Fenced code blocks", + "end_line": 1921, + "markdown": "foo\n---\n~~~\nbar\n~~~\n# baz\n", + "html": "bar\n\ndef foo(x)\n return 3\nend\n\n",
+ "example": 111,
+ "start_line": 1929
+ },
+ {
+ "section": "Fenced code blocks",
+ "end_line": 1954,
+ "markdown": "~~~~ ruby startline=3 $%@#$\ndef foo(x)\n return 3\nend\n~~~~~~~\n",
+ "html": "def foo(x)\n return 3\nend\n\n",
+ "example": 112,
+ "start_line": 1943
+ },
+ {
+ "section": "Fenced code blocks",
+ "end_line": 1962,
+ "markdown": "````;\n````\n",
+ "html": "\n",
+ "example": 113,
+ "start_line": 1957
+ },
+ {
+ "section": "Fenced code blocks",
+ "end_line": 1973,
+ "markdown": "``` aa ```\nfoo\n",
+ "html": "aa\nfoo
``` aaa\n\n",
+ "example": 115,
+ "start_line": 1978
+ },
+ {
+ "section": "HTML blocks",
+ "end_line": 2070,
+ "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": 117, + "start_line": 2084 + }, + { + "section": "HTML blocks", + "end_line": 2114, + "markdown": "Markdown
\nbar
\n", + "example": 123, + "start_line": 2169 + }, + { + "section": "HTML blocks", + "end_line": 2191, + "markdown": "\n", + "html": "\n", + "example": 127, + "start_line": 2218 + }, + { + "section": "HTML blocks", + "end_line": 2233, + "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": 137, + "start_line": 2358 + }, + { + "section": "HTML blocks", + "end_line": 2393, + "markdown": "\nokay\n", + "html": "\nokay
\n", + "example": 138, + "start_line": 2379 + }, + { + "section": "HTML blocks", + "end_line": 2414, + "markdown": "\nokay\n", + "html": "\nokay
\n", + "example": 139, + "start_line": 2398 + }, + { + "section": "HTML blocks", + "end_line": 2431, + "markdown": "\n*foo*\n", + "html": "\nfoo
\n", + "example": 143, + "start_line": 2463 + }, + { + "section": "HTML blocks", + "end_line": 2478, + "markdown": "*bar*\n*baz*\n", + "html": "*bar*\nbaz
\n", + "example": 144, + "start_line": 2472 + }, + { + "section": "HTML blocks", + "end_line": 2492, + "markdown": "1. *bar*\n", + "html": "1. *bar*\n", + "example": 145, + "start_line": 2484 + }, + { + "section": "HTML blocks", + "end_line": 2509, + "markdown": "\nokay\n", + "html": "\nokay
\n", + "example": 146, + "start_line": 2497 + }, + { + "section": "HTML blocks", + "end_line": 2529, + "markdown": "';\n\n?>\nokay\n", + "html": "';\n\n?>\nokay
\n", + "example": 147, + "start_line": 2515 + }, + { + "section": "HTML blocks", + "end_line": 2538, + "markdown": "\n", + "html": "\n", + "example": 148, + "start_line": 2534 + }, + { + "section": "HTML blocks", + "end_line": 2571, + "markdown": "\nokay\n", + "html": "\nokay
\n", + "example": 149, + "start_line": 2543 + }, + { + "section": "HTML blocks", + "end_line": 2584, + "markdown": " \n\n \n", + "html": " \n<!-- foo -->\n\n",
+ "example": 150,
+ "start_line": 2576
+ },
+ {
+ "section": "HTML blocks",
+ "end_line": 2595,
+ "markdown": " <div>\n\n",
+ "example": 151,
+ "start_line": 2587
+ },
+ {
+ "section": "HTML blocks",
+ "end_line": 2611,
+ "markdown": "Foo\nFoo
\nFoo\n\nbaz
\n", + "example": 154, + "start_line": 2632 + }, + { + "section": "HTML blocks", + "end_line": 2683, + "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": 164, + "start_line": 2844 + }, + { + "section": "Link reference definitions", + "end_line": 2866, + "markdown": "[foo]:\n/url\n\n[foo]\n", + "html": "\n", + "example": 165, + "start_line": 2859 + }, + { + "section": "Link reference definitions", + "end_line": 2878, + "markdown": "[foo]:\n\n[foo]\n", + "html": "[foo]:
\n[foo]
\n", + "example": 166, + "start_line": 2871 + }, + { + "section": "Link reference definitions", + "end_line": 2890, + "markdown": "[foo]: /url\\bar\\*baz \"foo\\\"bar\\baz\"\n\n[foo]\n", + "html": "\n", + "example": 167, + "start_line": 2884 + }, + { + "section": "Link reference definitions", + "end_line": 2901, + "markdown": "[foo]\n\n[foo]: url\n", + "html": "\n", + "example": 168, + "start_line": 2895 + }, + { + "section": "Link reference definitions", + "end_line": 2914, + "markdown": "[foo]\n\n[foo]: first\n[foo]: second\n", + "html": "\n", + "example": 169, + "start_line": 2907 + }, + { + "section": "Link reference definitions", + "end_line": 2926, + "markdown": "[FOO]: /url\n\n[Foo]\n", + "html": "\n", + "example": 170, + "start_line": 2920 + }, + { + "section": "Link reference definitions", + "end_line": 2935, + "markdown": "[ΑΓΩ]: /φου\n\n[αγω]\n", + "html": "\n", + "example": 171, + "start_line": 2929 + }, + { + "section": "Link reference definitions", + "end_line": 2944, + "markdown": "[foo]: /url\n", + "html": "", + "example": 172, + "start_line": 2941 + }, + { + "section": "Link reference definitions", + "end_line": 2956, + "markdown": "[\nfoo\n]: /url\nbar\n", + "html": "bar
\n", + "example": 173, + "start_line": 2949 + }, + { + "section": "Link reference definitions", + "end_line": 2966, + "markdown": "[foo]: /url \"title\" ok\n", + "html": "[foo]: /url "title" ok
\n", + "example": 174, + "start_line": 2962 + }, + { + "section": "Link reference definitions", + "end_line": 2976, + "markdown": "[foo]: /url\n\"title\" ok\n", + "html": ""title" ok
\n", + "example": 175, + "start_line": 2971 + }, + { + "section": "Link reference definitions", + "end_line": 2990, + "markdown": " [foo]: /url \"title\"\n\n[foo]\n", + "html": "[foo]: /url "title"\n\n[foo]
\n", + "example": 176, + "start_line": 2982 + }, + { + "section": "Link reference definitions", + "end_line": 3006, + "markdown": "```\n[foo]: /url\n```\n\n[foo]\n", + "html": "[foo]: /url\n\n[foo]
\n", + "example": 177, + "start_line": 2996 + }, + { + "section": "Link reference definitions", + "end_line": 3020, + "markdown": "Foo\n[bar]: /baz\n\n[bar]\n", + "html": "Foo\n[bar]: /baz
\n[bar]
\n", + "example": 178, + "start_line": 3011 + }, + { + "section": "Link reference definitions", + "end_line": 3035, + "markdown": "# [Foo]\n[foo]: /url\n> bar\n", + "html": "\n\n", + "example": 179, + "start_line": 3026 + }, + { + "section": "Link reference definitions", + "end_line": 3054, + "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": 180, + "start_line": 3041 + }, + { + "section": "Link reference definitions", + "end_line": 3070, + "markdown": "[foo]\n\n> [foo]: /url\n", + "html": "\nbar
\n
\n\n", + "example": 181, + "start_line": 3062 + }, + { + "section": "Paragraphs", + "end_line": 3092, + "markdown": "aaa\n\nbbb\n", + "html": "
aaa
\nbbb
\n", + "example": 182, + "start_line": 3085 + }, + { + "section": "Paragraphs", + "end_line": 3108, + "markdown": "aaa\nbbb\n\nccc\nddd\n", + "html": "aaa\nbbb
\nccc\nddd
\n", + "example": 183, + "start_line": 3097 + }, + { + "section": "Paragraphs", + "end_line": 3121, + "markdown": "aaa\n\n\nbbb\n", + "html": "aaa
\nbbb
\n", + "example": 184, + "start_line": 3113 + }, + { + "section": "Paragraphs", + "end_line": 3132, + "markdown": " aaa\n bbb\n", + "html": "aaa\nbbb
\n", + "example": 185, + "start_line": 3126 + }, + { + "section": "Paragraphs", + "end_line": 3146, + "markdown": "aaa\n bbb\n ccc\n", + "html": "aaa\nbbb\nccc
\n", + "example": 186, + "start_line": 3138 + }, + { + "section": "Paragraphs", + "end_line": 3158, + "markdown": " aaa\nbbb\n", + "html": "aaa\nbbb
\n", + "example": 187, + "start_line": 3152 + }, + { + "section": "Paragraphs", + "end_line": 3168, + "markdown": " aaa\nbbb\n", + "html": "aaa\n\nbbb
\n", + "example": 188, + "start_line": 3161 + }, + { + "section": "Paragraphs", + "end_line": 3181, + "markdown": "aaa \nbbb \n", + "html": "aaa
\nbbb
aaa
\n\n\n", + "example": 191, + "start_line": 3258 + }, + { + "section": "Block quotes", + "end_line": 3283, + "markdown": "># Foo\n>bar\n> baz\n", + "html": "Foo
\nbar\nbaz
\n
\n\n", + "example": 192, + "start_line": 3273 + }, + { + "section": "Block quotes", + "end_line": 3298, + "markdown": " > # Foo\n > bar\n > baz\n", + "html": "Foo
\nbar\nbaz
\n
\n\n", + "example": 193, + "start_line": 3288 + }, + { + "section": "Block quotes", + "end_line": 3312, + "markdown": " > # Foo\n > bar\n > baz\n", + "html": "Foo
\nbar\nbaz
\n
> # Foo\n> bar\n> baz\n\n",
+ "example": 194,
+ "start_line": 3303
+ },
+ {
+ "section": "Block quotes",
+ "end_line": 3328,
+ "markdown": "> # Foo\n> bar\nbaz\n",
+ "html": "\n\n", + "example": 195, + "start_line": 3318 + }, + { + "section": "Block quotes", + "end_line": 3344, + "markdown": "> bar\nbaz\n> foo\n", + "html": "Foo
\nbar\nbaz
\n
\n\n", + "example": 196, + "start_line": 3334 + }, + { + "section": "Block quotes", + "end_line": 3366, + "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": 199,
+ "start_line": 3396
+ },
+ {
+ "section": "Block quotes",
+ "end_line": 3419,
+ "markdown": "> ```\nfoo\n```\n",
+ "html": "\n\n\n
foo
\n\n",
+ "example": 200,
+ "start_line": 3409
+ },
+ {
+ "section": "Block quotes",
+ "end_line": 3433,
+ "markdown": "> foo\n - bar\n",
+ "html": "\n\n", + "example": 201, + "start_line": 3425 + }, + { + "section": "Block quotes", + "end_line": 3454, + "markdown": ">\n", + "html": "foo\n- bar
\n
\n\n", + "example": 202, + "start_line": 3449 + }, + { + "section": "Block quotes", + "end_line": 3464, + "markdown": ">\n> \n> \n", + "html": "
\n\n", + "example": 203, + "start_line": 3457 + }, + { + "section": "Block quotes", + "end_line": 3477, + "markdown": ">\n> foo\n> \n", + "html": "
\n\n", + "example": 204, + "start_line": 3469 + }, + { + "section": "Block quotes", + "end_line": 3493, + "markdown": "> foo\n\n> bar\n", + "html": "foo
\n
\n\nfoo
\n
\n\n", + "example": 205, + "start_line": 3482 + }, + { + "section": "Block quotes", + "end_line": 3512, + "markdown": "> foo\n> bar\n", + "html": "bar
\n
\n\n", + "example": 206, + "start_line": 3504 + }, + { + "section": "Block quotes", + "end_line": 3526, + "markdown": "> foo\n>\n> bar\n", + "html": "foo\nbar
\n
\n\n", + "example": 207, + "start_line": 3517 + }, + { + "section": "Block quotes", + "end_line": 3539, + "markdown": "foo\n> bar\n", + "html": "foo
\nbar
\n
foo
\n\n\n", + "example": 208, + "start_line": 3531 + }, + { + "section": "Block quotes", + "end_line": 3557, + "markdown": "> aaa\n***\n> bbb\n", + "html": "bar
\n
\n\naaa
\n
\n\n", + "example": 209, + "start_line": 3545 + }, + { + "section": "Block quotes", + "end_line": 3571, + "markdown": "> bar\nbaz\n", + "html": "bbb
\n
\n\n", + "example": 210, + "start_line": 3563 + }, + { + "section": "Block quotes", + "end_line": 3583, + "markdown": "> bar\n\nbaz\n", + "html": "bar\nbaz
\n
\n\nbar
\n
baz
\n", + "example": 211, + "start_line": 3574 + }, + { + "section": "Block quotes", + "end_line": 3595, + "markdown": "> bar\n>\nbaz\n", + "html": "\n\nbar
\n
baz
\n", + "example": 212, + "start_line": 3586 + }, + { + "section": "Block quotes", + "end_line": 3614, + "markdown": "> > > foo\nbar\n", + "html": "\n\n", + "example": 213, + "start_line": 3602 + }, + { + "section": "Block quotes", + "end_line": 3631, + "markdown": ">>> foo\n> bar\n>>baz\n", + "html": "\n\n\n\nfoo\nbar
\n
\n\n", + "example": 214, + "start_line": 3617 + }, + { + "section": "Block quotes", + "end_line": 3651, + "markdown": "> code\n\n> not code\n", + "html": "\n\n\n\nfoo\nbar\nbaz
\n
\n\n\ncode\n
\n\n", + "example": 215, + "start_line": 3639 + }, + { + "section": "List items", + "end_line": 3709, + "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": 216, + "start_line": 3694 + }, + { + "section": "List items", + "end_line": 3735, + "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": 218, + "start_line": 3749 + }, + { + "section": "List items", + "end_line": 3772, + "markdown": "- one\n\n two\n", + "html": "one
\ntwo
\n two\n\n",
+ "example": 220,
+ "start_line": 3775
+ },
+ {
+ "section": "List items",
+ "end_line": 3799,
+ "markdown": " - one\n\n two\n",
+ "html": "one
\ntwo
\n\n\n", + "example": 222, + "start_line": 3810 + }, + { + "section": "List items", + "end_line": 3850, + "markdown": ">>- one\n>>\n > > two\n", + "html": "\n\n\n
\n- \n
\none
\ntwo
\n
\n\n", + "example": 223, + "start_line": 3837 + }, + { + "section": "List items", + "end_line": 3863, + "markdown": "-one\n\n2.two\n", + "html": "\n\n\n
\n- one
\ntwo
\n
-one
\n2.two
\n", + "example": 224, + "start_line": 3856 + }, + { + "section": "List items", + "end_line": 3881, + "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": 229, + "start_line": 3945 + }, + { + "section": "List items", + "end_line": 3960, + "markdown": "0. ok\n", + "html": "-1. not ok
\n", + "example": 232, + "start_line": 3974 + }, + { + "section": "List items", + "end_line": 4010, + "markdown": "- foo\n\n bar\n", + "html": "foo
\nbar\n\nfoo
\nbar\n\nindented code\n\nparagraph
\nmore code\n\n",
+ "example": 235,
+ "start_line": 4034
+ },
+ {
+ "section": "List items",
+ "end_line": 4065,
+ "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": 238, + "start_line": 4098 + }, + { + "section": "List items", + "end_line": 4117, + "markdown": "- foo\n\n bar\n", + "html": "bar
\n", + "example": 239, + "start_line": 4108 + }, + { + "section": "List items", + "end_line": 4136, + "markdown": "- foo\n\n bar\n", + "html": "foo
\nbar
\nbar\n\nbaz\n\nfoo
\n", + "example": 243, + "start_line": 4193 + }, + { + "section": "List items", + "end_line": 4217, + "markdown": "- foo\n-\n- bar\n", + "html": "foo\n*
\nfoo\n1.
\n", + "example": 248, + "start_line": 4262 + }, + { + "section": "List items", + "end_line": 4303, + "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": 252,
+ "start_line": 4356
+ },
+ {
+ "section": "List items",
+ "end_line": 4405,
+ "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": 255, + "start_line": 4423 + }, + { + "section": "List items", + "end_line": 4454, + "markdown": "> 1. > Blockquote\n> continued here.\n", + "html": "\n
\n- \n
\n\n\nBlockquote\ncontinued here.
\n
\n\n", + "example": 256, + "start_line": 4440 + }, + { + "section": "List items", + "end_line": 4488, + "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": 267, + "start_line": 4920 + }, + { + "section": "Lists", + "end_line": 4938, + "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": 272,
+ "start_line": 5016
+ },
+ {
+ "section": "Lists",
+ "end_line": 5069,
+ "markdown": "- a\n - b\n - c\n - d\n - e\n - f\n - g\n - h\n- i\n",
+ "html": "a
\nb
\nc
\na
\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": 289, + "start_line": 5389 + }, + { + "section": "Backslash escapes", + "end_line": 5403, + "markdown": "\\\t\\A\\a\\ \\3\\φ\\«\n", + "html": "\\\t\\A\\a\\ \\3\\φ\\«
\n", + "example": 290, + "start_line": 5399 + }, + { + "section": "Backslash escapes", + "end_line": 5427, + "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", + "example": 291, + "start_line": 5409 + }, + { + "section": "Backslash escapes", + "end_line": 5436, + "markdown": "\\\\*emphasis*\n", + "html": "\\emphasis
\n", + "example": 292, + "start_line": 5432 + }, + { + "section": "Backslash escapes", + "end_line": 5447, + "markdown": "foo\\\nbar\n", + "html": "foo
\nbar
\\[\\`
\\[\\]\n\n",
+ "example": 295,
+ "start_line": 5460
+ },
+ {
+ "section": "Backslash escapes",
+ "end_line": 5475,
+ "markdown": "~~~\n\\[\\]\n~~~\n",
+ "html": "\\[\\]\n\n",
+ "example": 296,
+ "start_line": 5468
+ },
+ {
+ "section": "Backslash escapes",
+ "end_line": 5482,
+ "markdown": "foo\n\n",
+ "example": 301,
+ "start_line": 5511
+ },
+ {
+ "section": "Entity and numeric character references",
+ "end_line": 5546,
+ "markdown": " & © Æ Ď\n¾ ℋ ⅆ\n∲ ≧̸\n",
+ "html": "& © Æ Ď\n¾ ℋ ⅆ\n∲ ≧̸
\n", + "example": 302, + "start_line": 5538 + }, + { + "section": "Entity and numeric character references", + "end_line": 5561, + "markdown": "# Ӓ Ϡ \n", + "html": "# Ӓ Ϡ � �
\n", + "example": 303, + "start_line": 5557 + }, + { + "section": "Entity and numeric character references", + "end_line": 5574, + "markdown": "" ആ ಫ\n", + "html": "" ആ ಫ
\n", + "example": 304, + "start_line": 5570 + }, + { + "section": "Entity and numeric character references", + "end_line": 5585, + "markdown": "  &x; \n&ThisIsNotDefined; &hi?;\n", + "html": "  &x; &#; &#x;\n&ThisIsNotDefined; &hi?;
\n", + "example": 305, + "start_line": 5579 + }, + { + "section": "Entity and numeric character references", + "end_line": 5596, + "markdown": "©\n", + "html": "©
\n", + "example": 306, + "start_line": 5592 + }, + { + "section": "Entity and numeric character references", + "end_line": 5606, + "markdown": "&MadeUpEntity;\n", + "html": "&MadeUpEntity;
\n", + "example": 307, + "start_line": 5602 + }, + { + "section": "Entity and numeric character references", + "end_line": 5617, + "markdown": "\n", + "html": "\n", + "example": 308, + "start_line": 5613 + }, + { + "section": "Entity and numeric character references", + "end_line": 5624, + "markdown": "[foo](/föö \"föö\")\n", + "html": "\n", + "example": 309, + "start_line": 5620 + }, + { + "section": "Entity and numeric character references", + "end_line": 5633, + "markdown": "[foo]\n\n[foo]: /föö \"föö\"\n", + "html": "\n", + "example": 310, + "start_line": 5627 + }, + { + "section": "Entity and numeric character references", + "end_line": 5643, + "markdown": "``` föö\nfoo\n```\n", + "html": "foo\n\n",
+ "example": 311,
+ "start_line": 5636
+ },
+ {
+ "section": "Entity and numeric character references",
+ "end_line": 5653,
+ "markdown": "`föö`\n",
+ "html": "föö
föfö\n\n",
+ "example": 313,
+ "start_line": 5656
+ },
+ {
+ "section": "Code spans",
+ "end_line": 5682,
+ "markdown": "`foo`\n",
+ "html": "foo
foo ` bar
``
foo
foo bar baz
a b
foo `` bar
foo\\bar`
*foo*
[not a link](/foo)
<a href="">`
<http://foo.bar.baz>`
```foo``
\n", + "example": 328, + "start_line": 5832 + }, + { + "section": "Code spans", + "end_line": 5843, + "markdown": "`foo\n", + "html": "`foo
\n", + "example": 329, + "start_line": 5839 + }, + { + "section": "Code spans", + "end_line": 5852, + "markdown": "`foo``bar``\n", + "html": "`foobar
foo bar
\n", + "example": 331, + "start_line": 6061 + }, + { + "section": "Emphasis and strong emphasis", + "end_line": 6075, + "markdown": "a * foo bar*\n", + "html": "a * foo bar*
\n", + "example": 332, + "start_line": 6071 + }, + { + "section": "Emphasis and strong emphasis", + "end_line": 6086, + "markdown": "a*\"foo\"*\n", + "html": "a*"foo"*
\n", + "example": 333, + "start_line": 6082 + }, + { + "section": "Emphasis and strong emphasis", + "end_line": 6095, + "markdown": "* a *\n", + "html": "* a *
\n", + "example": 334, + "start_line": 6091 + }, + { + "section": "Emphasis and strong emphasis", + "end_line": 6104, + "markdown": "foo*bar*\n", + "html": "foobar
\n", + "example": 335, + "start_line": 6100 + }, + { + "section": "Emphasis and strong emphasis", + "end_line": 6111, + "markdown": "5*6*78\n", + "html": "5678
\n", + "example": 336, + "start_line": 6107 + }, + { + "section": "Emphasis and strong emphasis", + "end_line": 6120, + "markdown": "_foo bar_\n", + "html": "foo bar
\n", + "example": 337, + "start_line": 6116 + }, + { + "section": "Emphasis and strong emphasis", + "end_line": 6130, + "markdown": "_ foo bar_\n", + "html": "_ foo bar_
\n", + "example": 338, + "start_line": 6126 + }, + { + "section": "Emphasis and strong emphasis", + "end_line": 6140, + "markdown": "a_\"foo\"_\n", + "html": "a_"foo"_
\n", + "example": 339, + "start_line": 6136 + }, + { + "section": "Emphasis and strong emphasis", + "end_line": 6149, + "markdown": "foo_bar_\n", + "html": "foo_bar_
\n", + "example": 340, + "start_line": 6145 + }, + { + "section": "Emphasis and strong emphasis", + "end_line": 6156, + "markdown": "5_6_78\n", + "html": "5_6_78
\n", + "example": 341, + "start_line": 6152 + }, + { + "section": "Emphasis and strong emphasis", + "end_line": 6163, + "markdown": "пристаням_стремятся_\n", + "html": "пристаням_стремятся_
\n", + "example": 342, + "start_line": 6159 + }, + { + "section": "Emphasis and strong emphasis", + "end_line": 6173, + "markdown": "aa_\"bb\"_cc\n", + "html": "aa_"bb"_cc
\n", + "example": 343, + "start_line": 6169 + }, + { + "section": "Emphasis and strong emphasis", + "end_line": 6184, + "markdown": "foo-_(bar)_\n", + "html": "foo-(bar)
\n", + "example": 344, + "start_line": 6180 + }, + { + "section": "Emphasis and strong emphasis", + "end_line": 6196, + "markdown": "_foo*\n", + "html": "_foo*
\n", + "example": 345, + "start_line": 6192 + }, + { + "section": "Emphasis and strong emphasis", + "end_line": 6206, + "markdown": "*foo bar *\n", + "html": "*foo bar *
\n", + "example": 346, + "start_line": 6202 + }, + { + "section": "Emphasis and strong emphasis", + "end_line": 6217, + "markdown": "*foo bar\n*\n", + "html": "*foo bar\n*
\n", + "example": 347, + "start_line": 6211 + }, + { + "section": "Emphasis and strong emphasis", + "end_line": 6228, + "markdown": "*(*foo)\n", + "html": "*(*foo)
\n", + "example": 348, + "start_line": 6224 + }, + { + "section": "Emphasis and strong emphasis", + "end_line": 6238, + "markdown": "*(*foo*)*\n", + "html": "(foo)
\n", + "example": 349, + "start_line": 6234 + }, + { + "section": "Emphasis and strong emphasis", + "end_line": 6247, + "markdown": "*foo*bar\n", + "html": "foobar
\n", + "example": 350, + "start_line": 6243 + }, + { + "section": "Emphasis and strong emphasis", + "end_line": 6260, + "markdown": "_foo bar _\n", + "html": "_foo bar _
\n", + "example": 351, + "start_line": 6256 + }, + { + "section": "Emphasis and strong emphasis", + "end_line": 6270, + "markdown": "_(_foo)\n", + "html": "_(_foo)
\n", + "example": 352, + "start_line": 6266 + }, + { + "section": "Emphasis and strong emphasis", + "end_line": 6279, + "markdown": "_(_foo_)_\n", + "html": "(foo)
\n", + "example": 353, + "start_line": 6275 + }, + { + "section": "Emphasis and strong emphasis", + "end_line": 6288, + "markdown": "_foo_bar\n", + "html": "_foo_bar
\n", + "example": 354, + "start_line": 6284 + }, + { + "section": "Emphasis and strong emphasis", + "end_line": 6295, + "markdown": "_пристаням_стремятся\n", + "html": "_пристаням_стремятся
\n", + "example": 355, + "start_line": 6291 + }, + { + "section": "Emphasis and strong emphasis", + "end_line": 6302, + "markdown": "_foo_bar_baz_\n", + "html": "foo_bar_baz
\n", + "example": 356, + "start_line": 6298 + }, + { + "section": "Emphasis and strong emphasis", + "end_line": 6313, + "markdown": "_(bar)_.\n", + "html": "(bar).
\n", + "example": 357, + "start_line": 6309 + }, + { + "section": "Emphasis and strong emphasis", + "end_line": 6322, + "markdown": "**foo bar**\n", + "html": "foo bar
\n", + "example": 358, + "start_line": 6318 + }, + { + "section": "Emphasis and strong emphasis", + "end_line": 6332, + "markdown": "** foo bar**\n", + "html": "** foo bar**
\n", + "example": 359, + "start_line": 6328 + }, + { + "section": "Emphasis and strong emphasis", + "end_line": 6343, + "markdown": "a**\"foo\"**\n", + "html": "a**"foo"**
\n", + "example": 360, + "start_line": 6339 + }, + { + "section": "Emphasis and strong emphasis", + "end_line": 6352, + "markdown": "foo**bar**\n", + "html": "foobar
\n", + "example": 361, + "start_line": 6348 + }, + { + "section": "Emphasis and strong emphasis", + "end_line": 6361, + "markdown": "__foo bar__\n", + "html": "foo bar
\n", + "example": 362, + "start_line": 6357 + }, + { + "section": "Emphasis and strong emphasis", + "end_line": 6371, + "markdown": "__ foo bar__\n", + "html": "__ foo bar__
\n", + "example": 363, + "start_line": 6367 + }, + { + "section": "Emphasis and strong emphasis", + "end_line": 6381, + "markdown": "__\nfoo bar__\n", + "html": "__\nfoo bar__
\n", + "example": 364, + "start_line": 6375 + }, + { + "section": "Emphasis and strong emphasis", + "end_line": 6391, + "markdown": "a__\"foo\"__\n", + "html": "a__"foo"__
\n", + "example": 365, + "start_line": 6387 + }, + { + "section": "Emphasis and strong emphasis", + "end_line": 6400, + "markdown": "foo__bar__\n", + "html": "foo__bar__
\n", + "example": 366, + "start_line": 6396 + }, + { + "section": "Emphasis and strong emphasis", + "end_line": 6407, + "markdown": "5__6__78\n", + "html": "5__6__78
\n", + "example": 367, + "start_line": 6403 + }, + { + "section": "Emphasis and strong emphasis", + "end_line": 6414, + "markdown": "пристаням__стремятся__\n", + "html": "пристаням__стремятся__
\n", + "example": 368, + "start_line": 6410 + }, + { + "section": "Emphasis and strong emphasis", + "end_line": 6421, + "markdown": "__foo, __bar__, baz__\n", + "html": "foo, bar, baz
\n", + "example": 369, + "start_line": 6417 + }, + { + "section": "Emphasis and strong emphasis", + "end_line": 6432, + "markdown": "foo-__(bar)__\n", + "html": "foo-(bar)
\n", + "example": 370, + "start_line": 6428 + }, + { + "section": "Emphasis and strong emphasis", + "end_line": 6445, + "markdown": "**foo bar **\n", + "html": "**foo bar **
\n", + "example": 371, + "start_line": 6441 + }, + { + "section": "Emphasis and strong emphasis", + "end_line": 6458, + "markdown": "**(**foo)\n", + "html": "**(**foo)
\n", + "example": 372, + "start_line": 6454 + }, + { + "section": "Emphasis and strong emphasis", + "end_line": 6468, + "markdown": "*(**foo**)*\n", + "html": "(foo)
\n", + "example": 373, + "start_line": 6464 + }, + { + "section": "Emphasis and strong emphasis", + "end_line": 6477, + "markdown": "**Gomphocarpus (*Gomphocarpus physocarpus*, syn.\n*Asclepias physocarpa*)**\n", + "html": "Gomphocarpus (Gomphocarpus physocarpus, syn.\nAsclepias physocarpa)
\n", + "example": 374, + "start_line": 6471 + }, + { + "section": "Emphasis and strong emphasis", + "end_line": 6484, + "markdown": "**foo \"*bar*\" foo**\n", + "html": "foo "bar" foo
\n", + "example": 375, + "start_line": 6480 + }, + { + "section": "Emphasis and strong emphasis", + "end_line": 6493, + "markdown": "**foo**bar\n", + "html": "foobar
\n", + "example": 376, + "start_line": 6489 + }, + { + "section": "Emphasis and strong emphasis", + "end_line": 6505, + "markdown": "__foo bar __\n", + "html": "__foo bar __
\n", + "example": 377, + "start_line": 6501 + }, + { + "section": "Emphasis and strong emphasis", + "end_line": 6515, + "markdown": "__(__foo)\n", + "html": "__(__foo)
\n", + "example": 378, + "start_line": 6511 + }, + { + "section": "Emphasis and strong emphasis", + "end_line": 6525, + "markdown": "_(__foo__)_\n", + "html": "(foo)
\n", + "example": 379, + "start_line": 6521 + }, + { + "section": "Emphasis and strong emphasis", + "end_line": 6534, + "markdown": "__foo__bar\n", + "html": "__foo__bar
\n", + "example": 380, + "start_line": 6530 + }, + { + "section": "Emphasis and strong emphasis", + "end_line": 6541, + "markdown": "__пристаням__стремятся\n", + "html": "__пристаням__стремятся
\n", + "example": 381, + "start_line": 6537 + }, + { + "section": "Emphasis and strong emphasis", + "end_line": 6548, + "markdown": "__foo__bar__baz__\n", + "html": "foo__bar__baz
\n", + "example": 382, + "start_line": 6544 + }, + { + "section": "Emphasis and strong emphasis", + "end_line": 6559, + "markdown": "__(bar)__.\n", + "html": "(bar).
\n", + "example": 383, + "start_line": 6555 + }, + { + "section": "Emphasis and strong emphasis", + "end_line": 6571, + "markdown": "*foo [bar](/url)*\n", + "html": "foo bar
\n", + "example": 384, + "start_line": 6567 + }, + { + "section": "Emphasis and strong emphasis", + "end_line": 6580, + "markdown": "*foo\nbar*\n", + "html": "foo\nbar
\n", + "example": 385, + "start_line": 6574 + }, + { + "section": "Emphasis and strong emphasis", + "end_line": 6590, + "markdown": "_foo __bar__ baz_\n", + "html": "foo bar baz
\n", + "example": 386, + "start_line": 6586 + }, + { + "section": "Emphasis and strong emphasis", + "end_line": 6597, + "markdown": "_foo _bar_ baz_\n", + "html": "foo bar baz
\n", + "example": 387, + "start_line": 6593 + }, + { + "section": "Emphasis and strong emphasis", + "end_line": 6604, + "markdown": "__foo_ bar_\n", + "html": "foo bar
\n", + "example": 388, + "start_line": 6600 + }, + { + "section": "Emphasis and strong emphasis", + "end_line": 6611, + "markdown": "*foo *bar**\n", + "html": "foo bar
\n", + "example": 389, + "start_line": 6607 + }, + { + "section": "Emphasis and strong emphasis", + "end_line": 6618, + "markdown": "*foo **bar** baz*\n", + "html": "foo bar baz
\n", + "example": 390, + "start_line": 6614 + }, + { + "section": "Emphasis and strong emphasis", + "end_line": 6624, + "markdown": "*foo**bar**baz*\n", + "html": "foobarbaz
\n", + "example": 391, + "start_line": 6620 + }, + { + "section": "Emphasis and strong emphasis", + "end_line": 6649, + "markdown": "***foo** bar*\n", + "html": "foo bar
\n", + "example": 392, + "start_line": 6645 + }, + { + "section": "Emphasis and strong emphasis", + "end_line": 6656, + "markdown": "*foo **bar***\n", + "html": "foo bar
\n", + "example": 393, + "start_line": 6652 + }, + { + "section": "Emphasis and strong emphasis", + "end_line": 6663, + "markdown": "*foo**bar***\n", + "html": "foobar
\n", + "example": 394, + "start_line": 6659 + }, + { + "section": "Emphasis and strong emphasis", + "end_line": 6672, + "markdown": "*foo **bar *baz* bim** bop*\n", + "html": "foo bar baz bim bop
\n", + "example": 395, + "start_line": 6668 + }, + { + "section": "Emphasis and strong emphasis", + "end_line": 6679, + "markdown": "*foo [*bar*](/url)*\n", + "html": "foo bar
\n", + "example": 396, + "start_line": 6675 + }, + { + "section": "Emphasis and strong emphasis", + "end_line": 6688, + "markdown": "** is not an empty emphasis\n", + "html": "** is not an empty emphasis
\n", + "example": 397, + "start_line": 6684 + }, + { + "section": "Emphasis and strong emphasis", + "end_line": 6695, + "markdown": "**** is not an empty strong emphasis\n", + "html": "**** is not an empty strong emphasis
\n", + "example": 398, + "start_line": 6691 + }, + { + "section": "Emphasis and strong emphasis", + "end_line": 6708, + "markdown": "**foo [bar](/url)**\n", + "html": "foo bar
\n", + "example": 399, + "start_line": 6704 + }, + { + "section": "Emphasis and strong emphasis", + "end_line": 6717, + "markdown": "**foo\nbar**\n", + "html": "foo\nbar
\n", + "example": 400, + "start_line": 6711 + }, + { + "section": "Emphasis and strong emphasis", + "end_line": 6727, + "markdown": "__foo _bar_ baz__\n", + "html": "foo bar baz
\n", + "example": 401, + "start_line": 6723 + }, + { + "section": "Emphasis and strong emphasis", + "end_line": 6734, + "markdown": "__foo __bar__ baz__\n", + "html": "foo bar baz
\n", + "example": 402, + "start_line": 6730 + }, + { + "section": "Emphasis and strong emphasis", + "end_line": 6741, + "markdown": "____foo__ bar__\n", + "html": "foo bar
\n", + "example": 403, + "start_line": 6737 + }, + { + "section": "Emphasis and strong emphasis", + "end_line": 6748, + "markdown": "**foo **bar****\n", + "html": "foo bar
\n", + "example": 404, + "start_line": 6744 + }, + { + "section": "Emphasis and strong emphasis", + "end_line": 6755, + "markdown": "**foo *bar* baz**\n", + "html": "foo bar baz
\n", + "example": 405, + "start_line": 6751 + }, + { + "section": "Emphasis and strong emphasis", + "end_line": 6762, + "markdown": "**foo*bar*baz**\n", + "html": "foobarbaz
\n", + "example": 406, + "start_line": 6758 + }, + { + "section": "Emphasis and strong emphasis", + "end_line": 6769, + "markdown": "***foo* bar**\n", + "html": "foo bar
\n", + "example": 407, + "start_line": 6765 + }, + { + "section": "Emphasis and strong emphasis", + "end_line": 6776, + "markdown": "**foo *bar***\n", + "html": "foo bar
\n", + "example": 408, + "start_line": 6772 + }, + { + "section": "Emphasis and strong emphasis", + "end_line": 6787, + "markdown": "**foo *bar **baz**\nbim* bop**\n", + "html": "foo bar baz\nbim bop
\n", + "example": 409, + "start_line": 6781 + }, + { + "section": "Emphasis and strong emphasis", + "end_line": 6794, + "markdown": "**foo [*bar*](/url)**\n", + "html": "foo bar
\n", + "example": 410, + "start_line": 6790 + }, + { + "section": "Emphasis and strong emphasis", + "end_line": 6803, + "markdown": "__ is not an empty emphasis\n", + "html": "__ is not an empty emphasis
\n", + "example": 411, + "start_line": 6799 + }, + { + "section": "Emphasis and strong emphasis", + "end_line": 6810, + "markdown": "____ is not an empty strong emphasis\n", + "html": "____ is not an empty strong emphasis
\n", + "example": 412, + "start_line": 6806 + }, + { + "section": "Emphasis and strong emphasis", + "end_line": 6820, + "markdown": "foo ***\n", + "html": "foo ***
\n", + "example": 413, + "start_line": 6816 + }, + { + "section": "Emphasis and strong emphasis", + "end_line": 6827, + "markdown": "foo *\\**\n", + "html": "foo *
\n", + "example": 414, + "start_line": 6823 + }, + { + "section": "Emphasis and strong emphasis", + "end_line": 6834, + "markdown": "foo *_*\n", + "html": "foo _
\n", + "example": 415, + "start_line": 6830 + }, + { + "section": "Emphasis and strong emphasis", + "end_line": 6841, + "markdown": "foo *****\n", + "html": "foo *****
\n", + "example": 416, + "start_line": 6837 + }, + { + "section": "Emphasis and strong emphasis", + "end_line": 6848, + "markdown": "foo **\\***\n", + "html": "foo *
\n", + "example": 417, + "start_line": 6844 + }, + { + "section": "Emphasis and strong emphasis", + "end_line": 6855, + "markdown": "foo **_**\n", + "html": "foo _
\n", + "example": 418, + "start_line": 6851 + }, + { + "section": "Emphasis and strong emphasis", + "end_line": 6866, + "markdown": "**foo*\n", + "html": "*foo
\n", + "example": 419, + "start_line": 6862 + }, + { + "section": "Emphasis and strong emphasis", + "end_line": 6873, + "markdown": "*foo**\n", + "html": "foo*
\n", + "example": 420, + "start_line": 6869 + }, + { + "section": "Emphasis and strong emphasis", + "end_line": 6880, + "markdown": "***foo**\n", + "html": "*foo
\n", + "example": 421, + "start_line": 6876 + }, + { + "section": "Emphasis and strong emphasis", + "end_line": 6887, + "markdown": "****foo*\n", + "html": "***foo
\n", + "example": 422, + "start_line": 6883 + }, + { + "section": "Emphasis and strong emphasis", + "end_line": 6894, + "markdown": "**foo***\n", + "html": "foo*
\n", + "example": 423, + "start_line": 6890 + }, + { + "section": "Emphasis and strong emphasis", + "end_line": 6901, + "markdown": "*foo****\n", + "html": "foo***
\n", + "example": 424, + "start_line": 6897 + }, + { + "section": "Emphasis and strong emphasis", + "end_line": 6911, + "markdown": "foo ___\n", + "html": "foo ___
\n", + "example": 425, + "start_line": 6907 + }, + { + "section": "Emphasis and strong emphasis", + "end_line": 6918, + "markdown": "foo _\\__\n", + "html": "foo _
\n", + "example": 426, + "start_line": 6914 + }, + { + "section": "Emphasis and strong emphasis", + "end_line": 6925, + "markdown": "foo _*_\n", + "html": "foo *
\n", + "example": 427, + "start_line": 6921 + }, + { + "section": "Emphasis and strong emphasis", + "end_line": 6932, + "markdown": "foo _____\n", + "html": "foo _____
\n", + "example": 428, + "start_line": 6928 + }, + { + "section": "Emphasis and strong emphasis", + "end_line": 6939, + "markdown": "foo __\\___\n", + "html": "foo _
\n", + "example": 429, + "start_line": 6935 + }, + { + "section": "Emphasis and strong emphasis", + "end_line": 6946, + "markdown": "foo __*__\n", + "html": "foo *
\n", + "example": 430, + "start_line": 6942 + }, + { + "section": "Emphasis and strong emphasis", + "end_line": 6953, + "markdown": "__foo_\n", + "html": "_foo
\n", + "example": 431, + "start_line": 6949 + }, + { + "section": "Emphasis and strong emphasis", + "end_line": 6964, + "markdown": "_foo__\n", + "html": "foo_
\n", + "example": 432, + "start_line": 6960 + }, + { + "section": "Emphasis and strong emphasis", + "end_line": 6971, + "markdown": "___foo__\n", + "html": "_foo
\n", + "example": 433, + "start_line": 6967 + }, + { + "section": "Emphasis and strong emphasis", + "end_line": 6978, + "markdown": "____foo_\n", + "html": "___foo
\n", + "example": 434, + "start_line": 6974 + }, + { + "section": "Emphasis and strong emphasis", + "end_line": 6985, + "markdown": "__foo___\n", + "html": "foo_
\n", + "example": 435, + "start_line": 6981 + }, + { + "section": "Emphasis and strong emphasis", + "end_line": 6992, + "markdown": "_foo____\n", + "html": "foo___
\n", + "example": 436, + "start_line": 6988 + }, + { + "section": "Emphasis and strong emphasis", + "end_line": 7002, + "markdown": "**foo**\n", + "html": "foo
\n", + "example": 437, + "start_line": 6998 + }, + { + "section": "Emphasis and strong emphasis", + "end_line": 7009, + "markdown": "*_foo_*\n", + "html": "foo
\n", + "example": 438, + "start_line": 7005 + }, + { + "section": "Emphasis and strong emphasis", + "end_line": 7016, + "markdown": "__foo__\n", + "html": "foo
\n", + "example": 439, + "start_line": 7012 + }, + { + "section": "Emphasis and strong emphasis", + "end_line": 7023, + "markdown": "_*foo*_\n", + "html": "foo
\n", + "example": 440, + "start_line": 7019 + }, + { + "section": "Emphasis and strong emphasis", + "end_line": 7033, + "markdown": "****foo****\n", + "html": "foo
\n", + "example": 441, + "start_line": 7029 + }, + { + "section": "Emphasis and strong emphasis", + "end_line": 7040, + "markdown": "____foo____\n", + "html": "foo
\n", + "example": 442, + "start_line": 7036 + }, + { + "section": "Emphasis and strong emphasis", + "end_line": 7051, + "markdown": "******foo******\n", + "html": "foo
\n", + "example": 443, + "start_line": 7047 + }, + { + "section": "Emphasis and strong emphasis", + "end_line": 7060, + "markdown": "***foo***\n", + "html": "foo
\n", + "example": 444, + "start_line": 7056 + }, + { + "section": "Emphasis and strong emphasis", + "end_line": 7067, + "markdown": "_____foo_____\n", + "html": "foo
\n", + "example": 445, + "start_line": 7063 + }, + { + "section": "Emphasis and strong emphasis", + "end_line": 7076, + "markdown": "*foo _bar* baz_\n", + "html": "foo _bar baz_
\n", + "example": 446, + "start_line": 7072 + }, + { + "section": "Emphasis and strong emphasis", + "end_line": 7083, + "markdown": "*foo __bar *baz bim__ bam*\n", + "html": "foo bar *baz bim bam
\n", + "example": 447, + "start_line": 7079 + }, + { + "section": "Emphasis and strong emphasis", + "end_line": 7092, + "markdown": "**foo **bar baz**\n", + "html": "**foo bar baz
\n", + "example": 448, + "start_line": 7088 + }, + { + "section": "Emphasis and strong emphasis", + "end_line": 7099, + "markdown": "*foo *bar baz*\n", + "html": "*foo bar baz
\n", + "example": 449, + "start_line": 7095 + }, + { + "section": "Emphasis and strong emphasis", + "end_line": 7108, + "markdown": "*[bar*](/url)\n", + "html": "*bar*
\n", + "example": 450, + "start_line": 7104 + }, + { + "section": "Emphasis and strong emphasis", + "end_line": 7115, + "markdown": "_foo [bar_](/url)\n", + "html": "_foo bar_
\n", + "example": 451, + "start_line": 7111 + }, + { + "section": "Emphasis and strong emphasis", + "end_line": 7122, + "markdown": "**
a *
a _
[link](/my uri)
\n", + "example": 463, + "start_line": 7276 + }, + { + "section": "Links", + "end_line": 7287, + "markdown": "[link]([link](</my uri>)
\n", + "example": 464, + "start_line": 7283 + }, + { + "section": "Links", + "end_line": 7296, + "markdown": "[link](foo\nbar)\n", + "html": "[link](foo\nbar)
\n", + "example": 465, + "start_line": 7290 + }, + { + "section": "Links", + "end_line": 7305, + "markdown": "[link]([link](
[link](/url "title "and" title")
\n", + "example": 479, + "start_line": 7438 + }, + { + "section": "Links", + "end_line": 7451, + "markdown": "[link](/url 'title \"and\" title')\n", + "html": "\n", + "example": 480, + "start_line": 7447 + }, + { + "section": "Links", + "end_line": 7476, + "markdown": "[link]( /uri\n \"title\" )\n", + "html": "\n", + "example": 481, + "start_line": 7471 + }, + { + "section": "Links", + "end_line": 7486, + "markdown": "[link] (/uri)\n", + "html": "[link] (/uri)
\n", + "example": 482, + "start_line": 7482 + }, + { + "section": "Links", + "end_line": 7496, + "markdown": "[link [foo [bar]]](/uri)\n", + "html": "\n", + "example": 483, + "start_line": 7492 + }, + { + "section": "Links", + "end_line": 7503, + "markdown": "[link] bar](/uri)\n", + "html": "[link] bar](/uri)
\n", + "example": 484, + "start_line": 7499 + }, + { + "section": "Links", + "end_line": 7510, + "markdown": "[link [bar](/uri)\n", + "html": "[link bar
\n", + "example": 485, + "start_line": 7506 + }, + { + "section": "Links", + "end_line": 7517, + "markdown": "[link \\[bar](/uri)\n", + "html": "\n", + "example": 486, + "start_line": 7513 + }, + { + "section": "Links", + "end_line": 7526, + "markdown": "[link *foo **bar** `#`*](/uri)\n", + "html": "\n", + "example": 487, + "start_line": 7522 + }, + { + "section": "Links", + "end_line": 7533, + "markdown": "[](/uri)\n", + "html": "\n", + "example": 488, + "start_line": 7529 + }, + { + "section": "Links", + "end_line": 7542, + "markdown": "[foo [bar](/uri)](/uri)\n", + "html": "[foo bar](/uri)
\n", + "example": 489, + "start_line": 7538 + }, + { + "section": "Links", + "end_line": 7549, + "markdown": "[foo *[bar [baz](/uri)](/uri)*](/uri)\n", + "html": "[foo [bar baz](/uri)](/uri)
\n", + "example": 490, + "start_line": 7545 + }, + { + "section": "Links", + "end_line": 7556, + "markdown": "](uri2)](uri3)\n", + "html": "*foo*
\n", + "example": 492, + "start_line": 7562 + }, + { + "section": "Links", + "end_line": 7573, + "markdown": "[foo *bar](baz*)\n", + "html": "\n", + "example": 493, + "start_line": 7569 + }, + { + "section": "Links", + "end_line": 7583, + "markdown": "*foo [bar* baz]\n", + "html": "foo [bar baz]
\n", + "example": 494, + "start_line": 7579 + }, + { + "section": "Links", + "end_line": 7593, + "markdown": "[foo[foo
[foo](/uri)
[foohttp://example.com/?search=](uri)
\n", + "example": 497, + "start_line": 7603 + }, + { + "section": "Links", + "end_line": 7647, + "markdown": "[foo][bar]\n\n[bar]: /url \"title\"\n", + "html": "\n", + "example": 498, + "start_line": 7641 + }, + { + "section": "Links", + "end_line": 7662, + "markdown": "[link [foo [bar]]][ref]\n\n[ref]: /uri\n", + "html": "\n", + "example": 499, + "start_line": 7656 + }, + { + "section": "Links", + "end_line": 7671, + "markdown": "[link \\[bar][ref]\n\n[ref]: /uri\n", + "html": "\n", + "example": 500, + "start_line": 7665 + }, + { + "section": "Links", + "end_line": 7682, + "markdown": "[link *foo **bar** `#`*][ref]\n\n[ref]: /uri\n", + "html": "\n", + "example": 501, + "start_line": 7676 + }, + { + "section": "Links", + "end_line": 7691, + "markdown": "[][ref]\n\n[ref]: /uri\n", + "html": "\n", + "example": 502, + "start_line": 7685 + }, + { + "section": "Links", + "end_line": 7702, + "markdown": "[foo [bar](/uri)][ref]\n\n[ref]: /uri\n", + "html": "\n", + "example": 503, + "start_line": 7696 + }, + { + "section": "Links", + "end_line": 7711, + "markdown": "[foo *bar [baz][ref]*][ref]\n\n[ref]: /uri\n", + "html": "\n", + "example": 504, + "start_line": 7705 + }, + { + "section": "Links", + "end_line": 7726, + "markdown": "*[foo*][ref]\n\n[ref]: /uri\n", + "html": "*foo*
\n", + "example": 505, + "start_line": 7720 + }, + { + "section": "Links", + "end_line": 7735, + "markdown": "[foo *bar][ref]\n\n[ref]: /uri\n", + "html": "\n", + "example": 506, + "start_line": 7729 + }, + { + "section": "Links", + "end_line": 7747, + "markdown": "[foo[foo
[foo][ref]
[foohttp://example.com/?search=][ref]
\n", + "example": 509, + "start_line": 7759 + }, + { + "section": "Links", + "end_line": 7776, + "markdown": "[foo][BaR]\n\n[bar]: /url \"title\"\n", + "html": "\n", + "example": 510, + "start_line": 7770 + }, + { + "section": "Links", + "end_line": 7787, + "markdown": "[Толпой][Толпой] is a Russian word.\n\n[ТОЛПОЙ]: /url\n", + "html": "Толпой is a Russian word.
\n", + "example": 511, + "start_line": 7781 + }, + { + "section": "Links", + "end_line": 7800, + "markdown": "[Foo\n bar]: /url\n\n[Baz][Foo bar]\n", + "html": "\n", + "example": 512, + "start_line": 7793 + }, + { + "section": "Links", + "end_line": 7812, + "markdown": "[foo] [bar]\n\n[bar]: /url \"title\"\n", + "html": "[foo] bar
\n", + "example": 513, + "start_line": 7806 + }, + { + "section": "Links", + "end_line": 7823, + "markdown": "[foo]\n[bar]\n\n[bar]: /url \"title\"\n", + "html": "[foo]\nbar
\n", + "example": 514, + "start_line": 7815 + }, + { + "section": "Links", + "end_line": 7864, + "markdown": "[foo]: /url1\n\n[foo]: /url2\n\n[bar][foo]\n", + "html": "\n", + "example": 515, + "start_line": 7856 + }, + { + "section": "Links", + "end_line": 7877, + "markdown": "[bar][foo\\!]\n\n[foo!]: /url\n", + "html": "[bar][foo!]
\n", + "example": 516, + "start_line": 7871 + }, + { + "section": "Links", + "end_line": 7890, + "markdown": "[foo][ref[]\n\n[ref[]: /uri\n", + "html": "[foo][ref[]
\n[ref[]: /uri
\n", + "example": 517, + "start_line": 7883 + }, + { + "section": "Links", + "end_line": 7900, + "markdown": "[foo][ref[bar]]\n\n[ref[bar]]: /uri\n", + "html": "[foo][ref[bar]]
\n[ref[bar]]: /uri
\n", + "example": 518, + "start_line": 7893 + }, + { + "section": "Links", + "end_line": 7910, + "markdown": "[[[foo]]]\n\n[[[foo]]]: /url\n", + "html": "[[[foo]]]
\n[[[foo]]]: /url
\n", + "example": 519, + "start_line": 7903 + }, + { + "section": "Links", + "end_line": 7919, + "markdown": "[foo][ref\\[]\n\n[ref\\[]: /uri\n", + "html": "\n", + "example": 520, + "start_line": 7913 + }, + { + "section": "Links", + "end_line": 7930, + "markdown": "[bar\\\\]: /uri\n\n[bar\\\\]\n", + "html": "\n", + "example": 521, + "start_line": 7924 + }, + { + "section": "Links", + "end_line": 7942, + "markdown": "[]\n\n[]: /uri\n", + "html": "[]
\n[]: /uri
\n", + "example": 522, + "start_line": 7935 + }, + { + "section": "Links", + "end_line": 7956, + "markdown": "[\n ]\n\n[\n ]: /uri\n", + "html": "[\n]
\n[\n]: /uri
\n", + "example": 523, + "start_line": 7945 + }, + { + "section": "Links", + "end_line": 7974, + "markdown": "[foo][]\n\n[foo]: /url \"title\"\n", + "html": "\n", + "example": 524, + "start_line": 7968 + }, + { + "section": "Links", + "end_line": 7983, + "markdown": "[*foo* bar][]\n\n[*foo* bar]: /url \"title\"\n", + "html": "\n", + "example": 525, + "start_line": 7977 + }, + { + "section": "Links", + "end_line": 7994, + "markdown": "[Foo][]\n\n[foo]: /url \"title\"\n", + "html": "\n", + "example": 526, + "start_line": 7988 + }, + { + "section": "Links", + "end_line": 8009, + "markdown": "[foo] \n[]\n\n[foo]: /url \"title\"\n", + "html": "foo\n[]
\n", + "example": 527, + "start_line": 8001 + }, + { + "section": "Links", + "end_line": 8027, + "markdown": "[foo]\n\n[foo]: /url \"title\"\n", + "html": "\n", + "example": 528, + "start_line": 8021 + }, + { + "section": "Links", + "end_line": 8036, + "markdown": "[*foo* bar]\n\n[*foo* bar]: /url \"title\"\n", + "html": "\n", + "example": 529, + "start_line": 8030 + }, + { + "section": "Links", + "end_line": 8045, + "markdown": "[[*foo* bar]]\n\n[*foo* bar]: /url \"title\"\n", + "html": "[foo bar]
\n", + "example": 530, + "start_line": 8039 + }, + { + "section": "Links", + "end_line": 8054, + "markdown": "[[bar [foo]\n\n[foo]: /url\n", + "html": "[[bar foo
\n", + "example": 531, + "start_line": 8048 + }, + { + "section": "Links", + "end_line": 8065, + "markdown": "[Foo]\n\n[foo]: /url \"title\"\n", + "html": "\n", + "example": 532, + "start_line": 8059 + }, + { + "section": "Links", + "end_line": 8076, + "markdown": "[foo] bar\n\n[foo]: /url\n", + "html": "foo bar
\n", + "example": 533, + "start_line": 8070 + }, + { + "section": "Links", + "end_line": 8088, + "markdown": "\\[foo]\n\n[foo]: /url \"title\"\n", + "html": "[foo]
\n", + "example": 534, + "start_line": 8082 + }, + { + "section": "Links", + "end_line": 8100, + "markdown": "[foo*]: /url\n\n*[foo*]\n", + "html": "*foo*
\n", + "example": 535, + "start_line": 8094 + }, + { + "section": "Links", + "end_line": 8113, + "markdown": "[foo][bar]\n\n[foo]: /url1\n[bar]: /url2\n", + "html": "\n", + "example": 536, + "start_line": 8106 + }, + { + "section": "Links", + "end_line": 8121, + "markdown": "[foo][]\n\n[foo]: /url1\n", + "html": "\n", + "example": 537, + "start_line": 8115 + }, + { + "section": "Links", + "end_line": 8131, + "markdown": "[foo]()\n\n[foo]: /url1\n", + "html": "\n", + "example": 538, + "start_line": 8125 + }, + { + "section": "Links", + "end_line": 8139, + "markdown": "[foo](not a link)\n\n[foo]: /url1\n", + "html": "foo(not a link)
\n", + "example": 539, + "start_line": 8133 + }, + { + "section": "Links", + "end_line": 8150, + "markdown": "[foo][bar][baz]\n\n[baz]: /url\n", + "html": "[foo]bar
\n", + "example": 540, + "start_line": 8144 + }, + { + "section": "Links", + "end_line": 8163, + "markdown": "[foo][bar][baz]\n\n[baz]: /url1\n[bar]: /url2\n", + "html": "\n", + "example": 541, + "start_line": 8156 + }, + { + "section": "Links", + "end_line": 8176, + "markdown": "[foo][bar][baz]\n\n[baz]: /url1\n[foo]: /url2\n", + "html": "[foo]bar
\n", + "example": 542, + "start_line": 8169 + }, + { + "section": "Images", + "end_line": 8196, + "markdown": "\n", + "html": "



My 
\n[]
![[foo]]
\n[[foo]]: /url "title"
\n", + "example": 561, + "start_line": 8362 + }, + { + "section": "Images", + "end_line": 8380, + "markdown": "![Foo]\n\n[foo]: /url \"title\"\n", + "html": "![foo]
\n", + "example": 563, + "start_line": 8386 + }, + { + "section": "Images", + "end_line": 8404, + "markdown": "\\![foo]\n\n[foo]: /url \"title\"\n", + "html": "!foo
\n", + "example": 564, + "start_line": 8398 + }, + { + "section": "Autolinks", + "end_line": 8435, + "markdown": "http://foo.bar.baz/test?q=hello&id=22&boolean
\n", + "example": 566, + "start_line": 8438 + }, + { + "section": "Autolinks", + "end_line": 8449, + "markdown": "<http://foo.bar/baz bim>
\n", + "example": 573, + "start_line": 8496 + }, + { + "section": "Autolinks", + "end_line": 8509, + "markdown": "<foo+@bar.example.com>
\n", + "example": 577, + "start_line": 8543 + }, + { + "section": "Autolinks", + "end_line": 8556, + "markdown": "<>\n", + "html": "<>
\n", + "example": 578, + "start_line": 8552 + }, + { + "section": "Autolinks", + "end_line": 8563, + "markdown": "< http://foo.bar >\n", + "html": "< http://foo.bar >
\n", + "example": 579, + "start_line": 8559 + }, + { + "section": "Autolinks", + "end_line": 8570, + "markdown": "<m:abc>
\n", + "example": 580, + "start_line": 8566 + }, + { + "section": "Autolinks", + "end_line": 8577, + "markdown": "<foo.bar.baz>
\n", + "example": 581, + "start_line": 8573 + }, + { + "section": "Autolinks", + "end_line": 8584, + "markdown": "http://example.com\n", + "html": "http://example.com
\n", + "example": 582, + "start_line": 8580 + }, + { + "section": "Autolinks", + "end_line": 8591, + "markdown": "foo@bar.example.com\n", + "html": "foo@bar.example.com
\n", + "example": 583, + "start_line": 8587 + }, + { + "section": "Raw HTML", + "end_line": 8673, + "markdown": "Foo
<33> <__>
\n", + "example": 589, + "start_line": 8718 + }, + { + "section": "Raw HTML", + "end_line": 8731, + "markdown": "\n", + "html": "<a h*#ref="hi">
\n", + "example": 590, + "start_line": 8727 + }, + { + "section": "Raw HTML", + "end_line": 8740, + "markdown": " \n", + "html": "<a href="hi'> <a href=hi'>
\n", + "example": 591, + "start_line": 8736 + }, + { + "section": "Raw HTML", + "end_line": 8751, + "markdown": "< a><\nfoo>< a><\nfoo><bar/ >
\n", + "example": 592, + "start_line": 8745 + }, + { + "section": "Raw HTML", + "end_line": 8760, + "markdown": "\n", + "html": "<a href='bar'title=title>
\n", + "example": 593, + "start_line": 8756 + }, + { + "section": "Raw HTML", + "end_line": 8769, + "markdown": "</a href="foo">
\n", + "example": 595, + "start_line": 8774 + }, + { + "section": "Raw HTML", + "end_line": 8789, + "markdown": "foo \n", + "html": "foo
\n", + "example": 596, + "start_line": 8783 + }, + { + "section": "Raw HTML", + "end_line": 8796, + "markdown": "foo \n", + "html": "foo <!-- not a comment -- two hyphens -->
\n", + "example": 597, + "start_line": 8792 + }, + { + "section": "Raw HTML", + "end_line": 8808, + "markdown": "foo foo -->\n\nfoo \n", + "html": "foo <!--> foo -->
\nfoo <!-- foo--->
\n", + "example": 598, + "start_line": 8801 + }, + { + "section": "Raw HTML", + "end_line": 8817, + "markdown": "foo \n", + "html": "foo
\n", + "example": 599, + "start_line": 8813 + }, + { + "section": "Raw HTML", + "end_line": 8826, + "markdown": "foo \n", + "html": "foo
\n", + "example": 600, + "start_line": 8822 + }, + { + "section": "Raw HTML", + "end_line": 8835, + "markdown": "foo &<]]>\n", + "html": "foo &<]]>
\n", + "example": 601, + "start_line": 8831 + }, + { + "section": "Raw HTML", + "end_line": 8845, + "markdown": "foo \n", + "html": "\n", + "example": 602, + "start_line": 8841 + }, + { + "section": "Raw HTML", + "end_line": 8854, + "markdown": "foo \n", + "html": "\n", + "example": 603, + "start_line": 8850 + }, + { + "section": "Raw HTML", + "end_line": 8861, + "markdown": "\n", + "html": "<a href=""">
\n", + "example": 604, + "start_line": 8857 + }, + { + "section": "Hard line breaks", + "end_line": 8877, + "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": 616, + "start_line": 8986 + }, + { + "section": "Hard line breaks", + "end_line": 8997, + "markdown": "foo \n", + "html": "foo
\n", + "example": 617, + "start_line": 8993 + }, + { + "section": "Hard line breaks", + "end_line": 9004, + "markdown": "### foo\\\n", + "html": "foo\nbaz
\n", + "example": 620, + "start_line": 9022 + }, + { + "section": "Soft line breaks", + "end_line": 9040, + "markdown": "foo \n baz\n", + "html": "foo\nbaz
\n", + "example": 621, + "start_line": 9034 + }, + { + "section": "Textual content", + "end_line": 9058, + "markdown": "hello $.;'there\n", + "html": "hello $.;'there
\n", + "example": 622, + "start_line": 9054 + }, + { + "section": "Textual content", + "end_line": 9065, + "markdown": "Foo χρῆν\n", + "html": "Foo χρῆν
\n", + "example": 623, + "start_line": 9061 + }, + { + "section": "Textual content", + "end_line": 9074, + "markdown": "Multiple spaces\n", + "html": "Multiple spaces
\n", + "example": 624, + "start_line": 9070 + } +] \ No newline at end of file