UNPKG

myst-spec

Version:

MyST schema, testcases, and typescript types

12,903 lines (12,610 loc) 284 kB
cases: - title: Tabs - example 1 mdast: type: root children: - type: code lang: '' value: "foo\tbaz\t\tbim" myst: "\tfoo\tbaz\t\tbim\n" html: "<pre><code>foo\tbaz\t\tbim\n</code></pre>\n" - title: Tabs - example 2 mdast: type: root children: - type: code lang: '' value: "foo\tbaz\t\tbim" myst: " \tfoo\tbaz\t\tbim\n" html: "<pre><code>foo\tbaz\t\tbim\n</code></pre>\n" - title: Tabs - example 3 mdast: type: root children: - type: code lang: '' value: "a\ta\nὐ\ta" myst: " a\ta\n ὐ\ta\n" html: "<pre><code>a\ta\nὐ\ta\n</code></pre>\n" - title: Tabs - example 4 mdast: type: root children: - type: list ordered: false spread: false children: - type: listItem spread: true children: - type: paragraph children: - type: text value: foo - type: paragraph children: - type: text value: bar myst: " - foo\n\n\tbar\n" html: |- <ul> <li> <p>foo</p> <p>bar</p> </li> </ul> - title: Tabs - example 5 mdast: type: root children: - type: list ordered: false spread: false children: - type: listItem spread: true children: - type: paragraph children: - type: text value: foo - type: code lang: '' value: ' bar' myst: "- foo\n\n\t\tbar\n" html: |- <ul> <li> <p>foo</p> <pre><code> bar </code></pre> </li> </ul> - title: Tabs - example 6 mdast: type: root children: - type: blockquote children: - type: code lang: '' value: ' foo' myst: ">\t\tfoo\n" html: |- <blockquote> <pre><code> foo </code></pre> </blockquote> - title: Tabs - example 7 mdast: type: root children: - type: list ordered: false spread: false children: - type: listItem spread: true children: - type: code lang: '' value: ' foo' myst: "-\t\tfoo\n" html: |- <ul> <li> <pre><code> foo </code></pre> </li> </ul> - title: Tabs - example 8 mdast: type: root children: - type: code lang: '' value: |- foo bar myst: " foo\n\tbar\n" html: |- <pre><code>foo bar </code></pre> - title: Tabs - example 9 mdast: type: root children: - type: list ordered: false spread: false children: - type: listItem spread: true children: - type: text value: foo - type: list ordered: false spread: false children: - type: listItem spread: true children: - type: text value: bar - type: list ordered: false spread: false children: - type: listItem spread: true children: - type: text value: baz myst: " - foo\n - bar\n\t - baz\n" html: |- <ul> <li>foo <ul> <li>bar <ul> <li>baz</li> </ul> </li> </ul> </li> </ul> - title: Tabs - example 10 mdast: type: root children: - type: heading depth: 1 children: - type: text value: Foo myst: "#\tFoo\n" html: |- <h1>Foo</h1> - title: Tabs - example 11 mdast: type: root children: - type: thematicBreak myst: "*\t*\t*\t\n" html: |- <hr /> - title: Backslash escapes - example 12 mdast: type: root children: - type: paragraph children: - type: text value: '!"#$%&''()*+,-./:;<=>?@[\]^_`{|}~' myst: | \!\"\#\$\%\&\'\(\)\*\+\,\-\.\/\:\;\<\=\>\?\@\[\\\]\^\_\`\{\|\}\~ html: |- <p>!&quot;#$%&amp;'()*+,-./:;&lt;=&gt;?@[\]^_`{|}~</p> - title: Backslash escapes - example 13 mdast: type: root children: - type: paragraph children: - type: text value: "\\\t\\A\\a\\ \\3\\φ\\«" myst: "\\\t\\A\\a\\ \\3\\φ\\«\n" html: "<p>\\\t\\A\\a\\ \\3\\φ\\«</p>\n" - title: Backslash escapes - example 14 mdast: type: root children: - type: paragraph children: - type: text value: |- *not emphasized* <br/> not a tag [not a link](/foo) `not code` 1. not a list * not a list # not a heading [foo]: /url "not a reference" &ouml; not a character entity myst: | \*not emphasized* \<br/> not a tag \[not a link](/foo) \`not code` 1\. not a list \* not a list \# not a heading \[foo]: /url "not a reference" \&ouml; not a character entity html: |- <p>*not emphasized* &lt;br/&gt; not a tag [not a link](/foo) `not code` 1. not a list * not a list # not a heading [foo]: /url &quot;not a reference&quot; &amp;ouml; not a character entity</p> - title: Backslash escapes - example 15 mdast: type: root children: - type: paragraph children: - type: text value: \ - type: emphasis children: - type: text value: emphasis myst: | \\*emphasis* html: |- <p>\<em>emphasis</em></p> - title: Backslash escapes - example 16 mdast: type: root children: - type: paragraph children: - type: text value: foo - type: break - type: text value: bar myst: | foo\ bar html: |- <p>foo<br /> bar</p> - title: Backslash escapes - example 17 mdast: type: root children: - type: paragraph children: - type: inlineCode value: \[\` myst: | `` \[\` `` html: |- <p><code>\[\`</code></p> - title: Backslash escapes - example 18 mdast: type: root children: - type: code lang: '' value: \[\] myst: |2 \[\] html: |- <pre><code>\[\] </code></pre> - title: Backslash escapes - example 19 mdast: type: root children: - type: code lang: '' value: \[\] myst: | ~~~ \[\] ~~~ html: |- <pre><code>\[\] </code></pre> - title: Backslash escapes - example 20 mdast: type: root children: - type: paragraph children: - type: link url: http://example.com?find=%5C* children: - type: text value: http://example.com?find=\* myst: | <http://example.com?find=\*> html: > <p><a href="http://example.com?find=%5C*">http://example.com?find=\*</a></p> - title: Backslash escapes - example 21 mdast: type: root children: - type: html value: <a href="/bar\/)"> myst: | <a href="/bar\/)"> html: |- <a href="/bar\/)"> - title: Backslash escapes - example 22 mdast: type: root children: - type: paragraph children: - type: link url: /bar* title: ti*tle children: - type: text value: foo myst: | [foo](/bar\* "ti\*tle") html: |- <p><a href="/bar*" title="ti*tle">foo</a></p> - title: Backslash escapes - example 23 mdast: type: root children: - type: paragraph children: - type: link url: /bar* title: ti*tle children: - type: text value: foo myst: | [foo] [foo]: /bar\* "ti\*tle" html: |- <p><a href="/bar*" title="ti*tle">foo</a></p> - title: Backslash escapes - example 24 mdast: type: root children: - type: code lang: foo+bar value: foo myst: | ``` foo\+bar foo ``` html: |- <pre><code class="language-foo+bar">foo </code></pre> - title: Entity and numeric character references - example 25 mdast: type: root children: - type: paragraph children: - type: text value: "\u0020 & © Æ Ď\n¾ ℋ ⅆ\n∲ ≧̸" myst: | &nbsp; &amp; &copy; &AElig; &Dcaron; &frac34; &HilbertSpace; &DifferentialD; &ClockwiseContourIntegral; &ngE; html: |- <p> &amp; © Æ Ď ¾ ℋ ⅆ ∲ ≧̸</p> - title: Entity and numeric character references - example 26 mdast: type: root children: - type: paragraph children: - type: text value: '# Ӓ Ϡ �' myst: | &#35; &#1234; &#992; &#0; html: |- <p># Ӓ Ϡ �</p> - title: Entity and numeric character references - example 27 mdast: type: root children: - type: paragraph children: - type: text value: '" ആ ಫ' myst: | &#X22; &#XD06; &#xcab; html: |- <p>&quot; ആ ಫ</p> - title: Entity and numeric character references - example 28 mdast: type: root children: - type: paragraph children: - type: text value: |- &nbsp &x; &#; &#x; &#87654321; &#abcdef0; &ThisIsNotDefined; &hi?; myst: | &nbsp &x; &#; &#x; &#87654321; &#abcdef0; &ThisIsNotDefined; &hi?; html: |- <p>&amp;nbsp &amp;x; &amp;#; &amp;#x; &amp;#87654321; &amp;#abcdef0; &amp;ThisIsNotDefined; &amp;hi?;</p> - title: Entity and numeric character references - example 29 mdast: type: root children: - type: paragraph children: - type: text value: '&copy' myst: | &copy html: |- <p>&amp;copy</p> - title: Entity and numeric character references - example 30 mdast: type: root children: - type: paragraph children: - type: text value: '&MadeUpEntity;' myst: | &MadeUpEntity; html: |- <p>&amp;MadeUpEntity;</p> - title: Entity and numeric character references - example 31 mdast: type: root children: - type: html value: <a href="&ouml;&ouml;.html"> myst: | <a href="&ouml;&ouml;.html"> html: |- <a href="&ouml;&ouml;.html"> - title: Entity and numeric character references - example 32 mdast: type: root children: - type: paragraph children: - type: link url: /f%C3%B6%C3%B6 title: föö children: - type: text value: foo myst: | [foo](/f&ouml;&ouml; "f&ouml;&ouml;") html: |- <p><a href="/f%C3%B6%C3%B6" title="föö">foo</a></p> - title: Entity and numeric character references - example 33 mdast: type: root children: - type: paragraph children: - type: link url: /f%C3%B6%C3%B6 title: föö children: - type: text value: foo myst: | [foo] [foo]: /f&ouml;&ouml; "f&ouml;&ouml;" html: |- <p><a href="/f%C3%B6%C3%B6" title="föö">foo</a></p> - title: Entity and numeric character references - example 34 mdast: type: root children: - type: code lang: föö value: foo myst: | ``` f&ouml;&ouml; foo ``` html: |- <pre><code class="language-föö">foo </code></pre> - title: Entity and numeric character references - example 35 mdast: type: root children: - type: paragraph children: - type: inlineCode value: f&ouml;&ouml; myst: | `f&ouml;&ouml;` html: |- <p><code>f&amp;ouml;&amp;ouml;</code></p> - title: Entity and numeric character references - example 36 mdast: type: root children: - type: code lang: '' value: f&ouml;f&ouml; myst: |2 f&ouml;f&ouml; html: |- <pre><code>f&amp;ouml;f&amp;ouml; </code></pre> - title: Entity and numeric character references - example 37 mdast: type: root children: - type: paragraph children: - type: text value: | *foo* - type: emphasis children: - type: text value: foo myst: | &#42;foo&#42; *foo* html: |- <p>*foo* <em>foo</em></p> - title: Entity and numeric character references - example 38 mdast: type: root children: - type: paragraph children: - type: text value: '* foo' - type: list ordered: false spread: false children: - type: listItem spread: true children: - type: text value: foo myst: | &#42; foo * foo html: |- <p>* foo</p> <ul> <li>foo</li> </ul> - title: Entity and numeric character references - example 39 mdast: type: root children: - type: paragraph children: - type: text value: |- foo bar myst: | foo&#10;&#10;bar html: |- <p>foo bar</p> - title: Entity and numeric character references - example 40 mdast: type: root children: - type: paragraph children: - type: text value: "\tfoo" myst: | &#9;foo html: "<p>\tfoo</p>\n" - title: Entity and numeric character references - example 41 mdast: type: root children: - type: paragraph children: - type: text value: '[a](url "tit")' myst: | [a](url &quot;tit&quot;) html: |- <p>[a](url &quot;tit&quot;)</p> - title: Precedence - example 42 mdast: type: root children: - type: list ordered: false spread: false children: - type: listItem spread: true children: - type: text value: '`one' - type: listItem spread: true children: - type: text value: two` myst: | - `one - two` html: |- <ul> <li>`one</li> <li>two`</li> </ul> - title: Thematic breaks - example 43 mdast: type: root children: - type: thematicBreak - type: thematicBreak - type: thematicBreak myst: | *** --- ___ html: |- <hr /> <hr /> <hr /> - title: Thematic breaks - example 45 mdast: type: root children: - type: paragraph children: - type: text value: '===' myst: | === html: |- <p>===</p> - title: Thematic breaks - example 46 mdast: type: root children: - type: paragraph children: - type: text value: |- -- ** __ myst: | -- ** __ html: |- <p>-- ** __</p> - title: Thematic breaks - example 47 mdast: type: root children: - type: thematicBreak - type: thematicBreak - type: thematicBreak myst: |2 *** *** *** html: |- <hr /> <hr /> <hr /> - title: Thematic breaks - example 48 mdast: type: root children: - type: code lang: '' value: '***' myst: |2 *** html: |- <pre><code>*** </code></pre> - title: Thematic breaks - example 49 mdast: type: root children: - type: paragraph children: - type: text value: |- Foo *** myst: | Foo *** html: |- <p>Foo ***</p> - title: Thematic breaks - example 50 mdast: type: root children: - type: thematicBreak myst: | _____________________________________ html: |- <hr /> - title: Thematic breaks - example 51 mdast: type: root children: - type: thematicBreak myst: |2 - - - html: |- <hr /> - title: Thematic breaks - example 52 mdast: type: root children: - type: thematicBreak myst: |2 ** * ** * ** * ** html: |- <hr /> - title: Thematic breaks - example 53 mdast: type: root children: - type: thematicBreak myst: | - - - - html: |- <hr /> - title: Thematic breaks - example 54 mdast: type: root children: - type: thematicBreak myst: | - - - - html: |- <hr /> - title: Thematic breaks - example 55 mdast: type: root children: - type: paragraph children: - type: text value: _ _ _ _ a - type: paragraph children: - type: text value: a------ - type: paragraph children: - type: text value: '---a---' myst: | _ _ _ _ a a------ ---a--- html: |- <p>_ _ _ _ a</p> <p>a------</p> <p>---a---</p> - title: Thematic breaks - example 56 mdast: type: root children: - type: paragraph children: - type: emphasis children: - type: text value: '-' myst: |2 *-* html: |- <p><em>-</em></p> - title: Thematic breaks - example 57 mdast: type: root children: - type: list ordered: false spread: false children: - type: listItem spread: true children: - type: text value: foo - type: thematicBreak - type: list ordered: false spread: false children: - type: listItem spread: true children: - type: text value: bar myst: | - foo *** - bar html: |- <ul> <li>foo</li> </ul> <hr /> <ul> <li>bar</li> </ul> - title: Thematic breaks - example 58 mdast: type: root children: - type: paragraph children: - type: text value: Foo - type: thematicBreak - type: paragraph children: - type: text value: bar myst: | Foo *** bar html: |- <p>Foo</p> <hr /> <p>bar</p> - title: Thematic breaks - example 59 mdast: type: root children: - type: heading depth: 2 children: - type: text value: Foo - type: paragraph children: - type: text value: bar myst: | Foo --- bar html: |- <h2>Foo</h2> <p>bar</p> - title: Thematic breaks - example 60 mdast: type: root children: - type: list ordered: false spread: false children: - type: listItem spread: true children: - type: text value: Foo - type: thematicBreak - type: list ordered: false spread: false children: - type: listItem spread: true children: - type: text value: Bar myst: | * Foo * * * * Bar html: |- <ul> <li>Foo</li> </ul> <hr /> <ul> <li>Bar</li> </ul> - title: Thematic breaks - example 61 mdast: type: root children: - type: list ordered: false spread: false children: - type: listItem spread: true children: - type: text value: Foo - type: listItem spread: true children: - type: thematicBreak myst: | - Foo - * * * html: |- <ul> <li>Foo</li> <li> <hr /> </li> </ul> - title: ATX headings - example 62 mdast: type: root children: - type: heading depth: 1 children: - type: text value: foo - type: heading depth: 2 children: - type: text value: foo - type: heading depth: 3 children: - type: text value: foo - type: heading depth: 4 children: - type: text value: foo - type: heading depth: 5 children: - type: text value: foo - type: heading depth: 6 children: - type: text value: foo myst: | # foo ## foo ### foo #### foo ##### foo ###### foo html: |- <h1>foo</h1> <h2>foo</h2> <h3>foo</h3> <h4>foo</h4> <h5>foo</h5> <h6>foo</h6> - title: ATX headings - example 63 mdast: type: root children: - type: paragraph children: - type: text value: '####### foo' myst: | ####### foo html: |- <p>####### foo</p> - title: ATX headings - example 64 mdast: type: root children: - type: paragraph children: - type: text value: '#5 bolt' - type: paragraph children: - type: text value: '#hashtag' myst: | #5 bolt #hashtag html: |- <p>#5 bolt</p> <p>#hashtag</p> - title: ATX headings - example 65 mdast: type: root children: - type: paragraph children: - type: text value: '## foo' myst: | \## foo html: |- <p>## foo</p> - title: ATX headings - example 66 mdast: type: root children: - type: heading depth: 1 children: - type: text value: 'foo ' - type: emphasis children: - type: text value: bar - type: text value: ' *baz*' myst: | # foo *bar* \*baz\* html: |- <h1>foo <em>bar</em> *baz*</h1> - title: ATX headings - example 67 mdast: type: root children: - type: heading depth: 1 children: - type: text value: foo myst: | # foo html: |- <h1>foo</h1> - title: ATX headings - example 68 mdast: type: root children: - type: heading depth: 3 children: - type: text value: foo - type: heading depth: 2 children: - type: text value: foo - type: heading depth: 1 children: - type: text value: foo myst: |2 ### foo ## foo # foo html: |- <h3>foo</h3> <h2>foo</h2> <h1>foo</h1> - title: ATX headings - example 69 mdast: type: root children: - type: code lang: '' value: '# foo' myst: |2 # foo html: |- <pre><code># foo </code></pre> - title: ATX headings - example 70 mdast: type: root children: - type: paragraph children: - type: text value: |- foo # bar myst: | foo # bar html: |- <p>foo # bar</p> - title: ATX headings - example 71 mdast: type: root children: - type: heading depth: 2 children: - type: text value: foo - type: heading depth: 3 children: - type: text value: bar myst: | ## foo ## ### bar ### html: |- <h2>foo</h2> <h3>bar</h3> - title: ATX headings - example 72 mdast: type: root children: - type: heading depth: 1 children: - type: text value: foo - type: heading depth: 5 children: - type: text value: foo myst: | # foo ################################## ##### foo ## html: |- <h1>foo</h1> <h5>foo</h5> - title: ATX headings - example 73 mdast: type: root children: - type: heading depth: 3 children: - type: text value: foo myst: | ### foo ### html: |- <h3>foo</h3> - title: ATX headings - example 74 mdast: type: root children: - type: heading depth: 3 children: - type: text value: 'foo ### b' myst: | ### foo ### b html: |- <h3>foo ### b</h3> - title: ATX headings - example 75 mdast: type: root children: - type: heading depth: 1 children: - type: text value: foo# myst: | # foo# html: |- <h1>foo#</h1> - title: ATX headings - example 76 mdast: type: root children: - type: heading depth: 3 children: - type: text value: 'foo ###' - type: heading depth: 2 children: - type: text value: 'foo ###' - type: heading depth: 1 children: - type: text value: 'foo #' myst: | ### foo \### ## foo #\## # foo \# html: |- <h3>foo ###</h3> <h2>foo ###</h2> <h1>foo #</h1> - title: ATX headings - example 77 mdast: type: root children: - type: thematicBreak - type: heading depth: 2 children: - type: text value: foo - type: thematicBreak myst: | **** ## foo **** html: |- <hr /> <h2>foo</h2> <hr /> - title: ATX headings - example 78 mdast: type: root children: - type: paragraph children: - type: text value: Foo bar - type: heading depth: 1 children: - type: text value: baz - type: paragraph children: - type: text value: Bar foo myst: | Foo bar # baz Bar foo html: |- <p>Foo bar</p> <h1>baz</h1> <p>Bar foo</p> - title: ATX headings - example 79 mdast: type: root children: - type: heading depth: 2 children: [] - type: heading depth: 1 children: [] - type: heading depth: 3 children: [] myst: | ## # ### ### html: |- <h2></h2> <h1></h1> <h3></h3> - title: Setext headings - example 80 mdast: type: root children: - type: heading depth: 1 children: - type: text value: 'Foo ' - type: emphasis children: - type: text value: bar - type: heading depth: 2 children: - type: text value: 'Foo ' - type: emphasis children: - type: text value: bar myst: | Foo *bar* ========= Foo *bar* --------- html: |- <h1>Foo <em>bar</em></h1> <h2>Foo <em>bar</em></h2> - title: Setext headings - example 81 mdast: type: root children: - type: heading depth: 1 children: - type: text value: 'Foo ' - type: emphasis children: - type: text value: |- bar baz myst: | Foo *bar baz* ==== html: |- <h1>Foo <em>bar baz</em></h1> - title: Setext headings - example 82 mdast: type: root children: - type: heading depth: 1 children: - type: text value: 'Foo ' - type: emphasis children: - type: text value: |- bar baz myst: " Foo *bar\nbaz*\t\n====\n" html: |- <h1>Foo <em>bar baz</em></h1> - title: Setext headings - example 83 mdast: type: root children: - type: heading depth: 2 children: - type: text value: Foo - type: heading depth: 1 children: - type: text value: Foo myst: | Foo ------------------------- Foo = html: |- <h2>Foo</h2> <h1>Foo</h1> - title: Setext headings - example 84 mdast: type: root children: - type: heading depth: 2 children: - type: text value: Foo - type: heading depth: 2 children: - type: text value: Foo - type: heading depth: 1 children: - type: text value: Foo myst: |2 Foo --- Foo ----- Foo === html: |- <h2>Foo</h2> <h2>Foo</h2> <h1>Foo</h1> - title: Setext headings - example 85 mdast: type: root children: - type: code lang: '' value: |- Foo --- Foo - type: thematicBreak myst: |2 Foo --- Foo --- html: |- <pre><code>Foo --- Foo </code></pre> <hr /> - title: Setext headings - example 86 mdast: type: root children: - type: heading depth: 2 children: - type: text value: Foo myst: | Foo ---- html: |- <h2>Foo</h2> - title: Setext headings - example 87 mdast: type: root children: - type: paragraph children: - type: text value: |- Foo --- myst: | Foo --- html: |- <p>Foo ---</p> - title: Setext headings - example 88 mdast: type: root children: - type: paragraph children: - type: text value: |- Foo = = - type: paragraph children: - type: text value: Foo - type: thematicBreak myst: | Foo = = Foo --- - html: |- <p>Foo = =</p> <p>Foo</p> <hr /> - title: Setext headings - example 89 mdast: type: root children: - type: heading depth: 2 children: - type: text value: Foo myst: | Foo ----- html: |- <h2>Foo</h2> - title: Setext headings - example 90 mdast: type: root children: - type: heading depth: 2 children: - type: text value: Foo\ myst: | Foo\ ---- html: |- <h2>Foo\</h2> - title: Setext headings - example 91 mdast: type: root children: - type: heading depth: 2 children: - type: text value: '`Foo' - type: paragraph children: - type: text value: '`' - type: heading depth: 2 children: - type: text value: <a title="a lot - type: paragraph children: - type: text value: of dashes"/> myst: | `Foo ---- ` <a title="a lot --- of dashes"/> html: |- <h2>`Foo</h2> <p>`</p> <h2>&lt;a title=&quot;a lot</h2> <p>of dashes&quot;/&gt;</p> - title: Setext headings - example 92 mdast: type: root children: - type: blockquote children: - type: paragraph children: - type: text value: Foo - type: thematicBreak myst: | > Foo --- html: |- <blockquote> <p>Foo</p> </blockquote> <hr /> - title: Setext headings - example 93 mdast: type: root children: - type: blockquote children: - type: paragraph children: - type: text value: |- foo bar === myst: | > foo bar === html: |- <blockquote> <p>foo bar ===</p> </blockquote> - title: Setext headings - example 94 mdast: type: root children: - type: list ordered: false spread: false children: - type: listItem spread: true children: - type: text value: Foo - type: thematicBreak myst: | - Foo --- html: |- <ul> <li>Foo</li> </ul> <hr /> - title: Setext headings - example 95 mdast: type: root children: - type: heading depth: 2 children: - type: text value: |- Foo Bar myst: | Foo Bar --- html: |- <h2>Foo Bar</h2> - title: Setext headings - example 96 mdast: type: root children: - type: thematicBreak - type: heading depth: 2 children: - type: text value: Foo - type: heading depth: 2 children: - type: text value: Bar - type: paragraph children: - type: text value: Baz myst: | --- Foo --- Bar --- Baz html: |- <hr /> <h2>Foo</h2> <h2>Bar</h2> <p>Baz</p> - title: Setext headings - example 97 mdast: type: root children: - type: paragraph children: - type: text value: '====' myst: | ==== html: |- <p>====</p> - title: Setext headings - example 98 mdast: type: root children: - type: thematicBreak - type: thematicBreak myst: | --- --- html: |- <hr /> <hr /> - title: Setext headings - example 99 mdast: type: root children: - type: list ordered: false spread: false children: - type: listItem spread: true children: - type: text value: foo - type: thematicBreak myst: | - foo ----- html: |- <ul> <li>foo</li> </ul> <hr /> - title: Setext headings - example 100 mdast: type: root children: - type: code lang: '' value: foo - type: thematicBreak myst: |2 foo --- html: |- <pre><code>foo </code></pre> <hr /> - title: Setext headings - example 101 mdast: type: root children: - type: blockquote children: - type: paragraph children: - type: text value: foo - type: thematicBreak myst: | > foo ----- html: |- <blockquote> <p>foo</p> </blockquote> <hr /> - title: Setext headings - example 102 mdast: type: root children: - type: heading depth: 2 children: - type: text value: '> foo' myst: | \> foo ------ html: |- <h2>&gt; foo</h2> - title: Setext headings - example 103 mdast: type: root children: - type: paragraph children: - type: text value: Foo - type: heading depth: 2 children: - type: text value: bar - type: paragraph children: - type: text value: baz myst: | Foo bar --- baz html: |- <p>Foo</p> <h2>bar</h2> <p>baz</p> - title: Setext headings - example 104 mdast: type: root children: - type: paragraph children: - type: text value: |- Foo bar - type: thematicBreak - type: paragraph children: - type: text value: baz myst: | Foo bar --- baz html: |- <p>Foo bar</p> <hr /> <p>baz</p> - title: Setext headings - example 105 mdast: type: root children: - type: paragraph children: - type: text value: |- Foo bar - type: thematicBreak - type: paragraph children: - type: text value: baz myst: | Foo bar * * * baz html: |- <p>Foo bar</p> <hr /> <p>baz</p> - title: Setext headings - example 106 mdast: type: root children: - type: paragraph children: - type: text value: |- Foo bar --- baz myst: | Foo bar \--- baz html: |- <p>Foo bar --- baz</p> - title: Indented code blocks - example 107 mdast: type: root children: - type: code lang: '' value: |- a simple indented code block myst: |2 a simple indented code block html: |- <pre><code>a simple indented code block </code></pre> - title: Indented code blocks - example 108 mdast: type: root children: - type: list ordered: false spread: false children: - type: listItem spread: true children: - type: paragraph children: - type: text value: foo - type: paragraph children: - type: text value: bar myst: |2 - foo bar html: |- <ul> <li> <p>foo</p> <p>bar</p> </li> </ul> - title: Indented code blocks - example 109 mdast: type: root children: - type: list ordered: true start: 1 spread: false children: - type: listItem spread: true children: - type: paragraph children: - type: text value: foo - type: list ordered: false spread: false children: - type: listItem spread: true children: - type: text value: bar myst: | 1. foo - bar html: |- <ol> <li> <p>foo</p> <ul> <li>bar</li> </ul> </li> </ol> - title: Indented code blocks - example 110 mdast: type: root children: - type: code lang: '' value: |- <a/> *hi* - one myst: |2 <a/> *hi* - one html: |- <pre><code>&lt;a/&gt; *hi* - one </code></pre> - title: Indented code blocks - example 111 mdast: type: root children: - type: code lang: '' value: |- chunk1 chunk2 chunk3 myst: |2 chunk1 chunk2 chunk3 html: |- <pre><code>chunk1 chunk2 chunk3 </code></pre> - title: Indented code blocks - example 112 mdast: type: root children: - type: code lang: '' value: |- chunk1 chunk2 myst: |2 chunk1 chunk2 html: |- <pre><code>chunk1 chunk2 </code></pre> - title: Indented code blocks - example 113 mdast: type: root children: - type: paragraph children: - type: text value: |- Foo bar myst: |+ Foo bar html: |- <p>Foo bar</p> - title: Indented code blocks - example 114 mdast: type: root children: - type: code lang: '' value: foo - type: paragraph children: - type: text value: bar myst: |2 foo bar html: |- <pre><code>foo </code></pre> <p>bar</p> - title: Indented code blocks - example 115 mdast: type: root children: - type: heading depth: 1 children: - type: text value: Heading - type: code lang: '' value: foo - type: heading depth: 2 children: - type: text value: Heading - type: code lang: '' value: foo - type: thematicBreak myst: | # Heading foo Heading ------ foo ---- html: |- <h1>Heading</h1> <pre><code>foo </code></pre> <h2>Heading</h2> <pre><code>foo </code></pre> <hr /> - title: Indented code blocks - example 116 mdast: type: root children: - type: code lang: '' value: |2- foo bar myst: |2 foo bar html: |- <pre><code> foo bar </code></pre> - title: Indented code blocks - example 117 mdast: type: root children: - type: code lang: '' value: foo myst: |2+ foo html: |- <pre><code>foo </code></pre> - title: Indented code blocks - example 118 mdast: type: root children: - type: code lang: '' value: 'foo ' myst: ' foo ' html: |- <pre><code>foo </code></pre> - title: Fenced code blocks - example 119 mdast: type: root children: - type: code lang: '' value: |- < > myst: | ``` < > ``` html: |- <pre><code>&lt; &gt; </code></pre> - title: Fenced code blocks - example 120 mdast: type: root children: - type: code lang: '' value: |- < > myst: | ~~~ < > ~~~ html: |- <pre><code>&lt; &gt; </code></pre> - title: Fenced code blocks - example 121 mdast: type: root children: - type: paragraph children: - type: inlineCode value: foo myst: | `` foo `` html: |- <p><code>foo</code></p> - title: Fenced code blocks - example 122 mdast: type: root children: - type: code lang: '' value: |- aaa ~~~ myst: | ``` aaa ~~~ ``` html: |- <pre><code>aaa ~~~ </code></pre> - title: Fenced code blocks - example 123 mdast: type: root children: - type: code lang: '' value: |- aaa ``` myst: | ~~~ aaa ``` ~~~ html: |- <pre><code>aaa ``` </code></pre> - title: Fenced code blocks - example 124 mdast: type: root children: - type: code lang: '' value: |- aaa ``` myst: | ```` aaa ``` `````` html: |- <pre><code>aaa ``` </code></pre> - title: Fenced code blocks - example 125 mdast: type: root children: - type: code lang: '' value: |- aaa ~~~ myst: | ~~~~ aaa ~~~ ~~~~ html: |- <pre><code>aaa ~~~ </code></pre> - title: Fenced code blocks - example 126 mdast: type: root children: - type: code lang: '' value: '' myst: | ``` html: |- <pre><code></code></pre> - title: Fenced code blocks - example 127 mdast: type: root children: - type: code lang: '' value: |- ``` aaa myst: | ````` ``` aaa html: |- <pre><code> ``` aaa </code></pre> - title: Fenced code blocks - example 128 mdast: type: root children: - type: blockquote children: - type: code lang: '' value: aaa - type: paragraph children: - type: text value: bbb myst: | > ``` > aaa bbb html: |- <blockquote> <pre><code>aaa </code></pre> </blockquote> <p>bbb</p> - title: Fenced code blocks - example 129 mdast: type: root children: - type: code lang: '' value: "\n " myst: | ``` ``` html: |- <pre><code> </code></pre> - title: Fenced code blocks - example 130 mdast: type: root children: - type: code lang: '' value: '' myst: | ``` ``` html: |- <pre><code></code></pre> - title: Fenced code blocks - example 131 mdast: type: root children: - type: code lang: '' value: |- aaa aaa myst: |2 ``` aaa aaa ``` html: |- <pre><code>aaa aaa </code></pre> - title: Fenced code blocks - example 132 mdast: type: root children: - type: code lang: '' value: |- aaa aaa aaa myst: |2 ``` aaa aaa aaa ``` html: |- <pre><code>aaa aaa aaa </code></pre> - title: Fenced code blocks - example 133 mdast: type: root children: - type: code lang: '' value: |- aaa aaa aaa myst: |2 ``` aaa aaa aaa ``` html: |- <pre><code>aaa aaa aaa </code></pre> - title: Fenced code blocks - example 134 mdast: type: root children: - type: code lang: '' value: |- ``` aaa ``` myst: |2 ``` aaa ``` html: |- <pre><code>``` aaa ``` </code></pre> - title: Fenced code blocks - example 135 mdast: type: root children: - type: code lang: '' value: aaa myst: | ``` aaa ``` html: |- <pre><code>aaa </code></pre> - title: Fenced code blocks - example 136 mdast: type: root children: - type: code lang: '' value: aaa myst: |2 ``` aaa ``` html: |- <pre><code>aaa </code></pre> - title: Fenced code blocks - example 137 mdast: type: root children: - type: code lang: '' value: |- aaa ``` myst: | ``` aaa ``` html: |- <pre><code>aaa ``` </code></pre> - title: Fenced code blocks - example 138 mdast: type: root children: - type: paragraph children: - type: inlineCode value: ' ' - type: text value: |- aaa myst: | ``` ``` aaa html: |- <p><code> </code> aaa</p> - title: Fenced code blocks - example 139 mdast: type: root children: - type: code lang: '' value: |- aaa ~~~ ~~ myst: | ~~~~~~ aaa ~~~ ~~ html: |- <pre><code>aaa ~~~ ~~ </code></pre> - title: Fenced code blocks - example 140 mdast: type: root children: - type: paragraph children: - type: text value: foo - type: code lang: '' value: bar - type: paragraph children: - type: text value: baz myst: | foo ``` bar ``` baz html: |- <p>foo</p> <pre><code>bar </code></pre> <p>baz</p> - title: Fenced code blocks - example 141 mdast: type: root children: - type: heading depth: 2 children: - type: text value: foo - type: code lang: '' value: bar - type: heading depth: 1 children: - type: text value: baz myst: | foo --- ~~~ bar ~~~ # baz html: |- <h2>foo</h2> <pre><code>bar </code></pre> <h1>baz</h1> - title: Fenced code blocks - example 142 mdast: type: root children: - type: code lang: ruby value: |- def foo(x) return 3 end myst: | ```ruby def foo(x) return 3 end ``` html: |- <pre><code class="language-ruby">def foo(x) return 3 end </code></pre> - title: Fenced code blocks - example 143 mdast: type: root children: - type: code lang: ruby value: |- def foo(x) return 3 end myst: | ~~~~ ruby startline=3 $%@#$ def foo(x) return 3 end ~~~~~~~ html: |- <pre><code class="language-ruby">def foo(x) return 3 end </code></pre> - title: Fenced code blocks - example 144 mdast: type: root children: - type: code lang: ; value: '' myst: | ````; ```` html: |- <pre><code class="language-;"></code></pre> - title: Fenced code blocks - example 145 mdast: type: root children: - type: paragraph children: - type: inlineCode value: aa - type: text value: |- foo myst: | ``` aa ``` foo html: |- <p><code>aa</code> foo</p> - title: Fenced code blocks - example 146 mdast: type: root children: - type: code lang: aa value: foo myst: | ~~~ aa ``` ~~~ foo ~~~ html: |- <pre><code class="language-aa">foo </code></pre> - title: Fenced code blocks - example 147 mdast: type: root children: - type: code lang: '' value: '``` aaa' myst: | ``` ``` aaa ``` html: |- <pre><code>``` aaa </code></pre> - title: HTML blocks - example 148 mdast: type: root children: - type: html value: |- <table><tr><td> <pre> **Hello**, - type: paragraph children: - type: emphasis children: - type: text value: world - type: text value: | . - type: html value: </pre> - type: html value: </td></tr></table> myst: | <table><tr><td> <pre> **Hello**, _world_. </pre> </td></tr></table> html: |- <table><tr><td> <pre> **Hello**, <p><em>world</em>. </pre></p> </td></tr></table> - title: HTML blocks - example 149 mdast: type: root children: - type: html value: |- <table> <tr> <td> hi </td> </tr> </table> - type: paragraph children: - type: text value: okay. myst: | <table> <tr> <td> hi </td> </tr> </table> okay. html: |- <table> <tr> <td> hi </td> </tr> </table> <p>okay.</p> - title: HTML blocks - example 150 mdast: type: root children: - type: html value: |2- <div> *hello* <foo><a> myst: |2 <div> *hello* <foo><a> html: |2- <div> *hello* <foo><a> - title: HTML blocks - example 151 mdast: type: root children: - type: html value: |- </div> *foo* myst: | </div> *foo* html: |- </div> *foo* - title: HTML blocks - example 152 mdast: type: root children: - type: html value: <DIV CLASS="foo"> - type: paragraph children: - type: emphasis children: - type: text value: Markdown - type: html value: </DIV> myst: | <DIV CLASS="foo"> *Markdown* </DIV> html: |- <DIV CLASS="foo"> <p><em>Markdown</em></p> </DIV> - title: HTML blocks - example 153 mdast: type: root children: - type: html value: |- <div id="foo" class="bar"> </div> myst: | <div id="foo" class="bar"> </div> html: |- <div id="foo" class="bar"> </div> - title: HTML blocks - example 154 mdast: type: root children: - type: html value: |- <div id="foo" class="bar baz"> </div> myst: | <div id="foo" class="bar baz"> </div> html: |- <div id="foo" class="bar baz"> </div> - title: HTML blocks - example 155 mdast: type: root children: - type: html value: |- <div> *foo* - type: paragraph children: - type: emphasis children: - type: text value: bar myst: | <div> *foo* *bar* html: |- <div> *foo* <p><em>bar</em></p> - title: HTML blocks - example 156 mdast: type: root children: - type: html value: |- <div id="foo" *hi* myst: | <div id="foo" *hi* html: |- <div id="foo" *hi* - title: HTML blocks - example 157 mdast: type: root children: - type: html value: |- <div class foo myst: | <div class foo html: |- <div class foo - title: HTML blocks - example 158 mdast: type: root children: - type: html value: |- <div *???-&&&-<--- *foo* myst: | <div *???-&&&-<--- *foo* html: |- <div *???-&&&-<--- *foo* - title: HTML blocks - example 159 mdast: type: root children: - type: html value: <div><a href="bar">*foo*</a></div> myst: | <div><a href="bar">*foo*</a></div> html: |- <div><a href="bar">*foo*</a></div> - title: HTML blocks - example 160 mdast: type: root children: - type: html value: |- <table><tr><td> foo </td></tr></table> myst: | <table><tr><td> foo </td></tr></table> html: |- <table><tr><td> foo </td></tr></table> - title: HTML blocks - example 161 mdast: type: root children: - type: html value: |- <div></div> ``` c int x = 33; ``` myst: | <div></div> ``` c int x = 33; ``` html: |- <div></div> ``` c int x = 33; ``` - title: HTML blocks - example 162 mdast: type: root children: - type: html value: |- <a href="foo"> *bar* </a> myst: | <a href="foo"> *bar* </a> html: |- <a href="foo"> *bar* </a> - title: HTML blocks - example 163 mdast: type: root children: - type: html value: |- <Warning> *bar* </Warning> myst: | <Warning> *bar* </Warning> html: |- <Warning> *bar* </Warning> - title: HTML blocks - example 164 mdast: type: root children: - type: html value: |- <i class="foo"> *bar* </i> myst: | <i class="foo"> *bar* </i> html: |- <i class="foo"> *bar* </i> - title: HTML blocks - example 165 mdast: type: root children: - type: html value: |- </ins> *bar* myst: | </ins> *bar* html: |- </ins> *bar* - title: HTML blocks - example 166 mdast: type: root children: - type: html value: |- <del> *foo* </del> myst: | <del> *foo* </del> html: |- <del> *foo* </del> - title: HTML blocks - example 167 mdast: type: root children: - type: html value: <del> - type: paragraph children: - type: emphasis children: - type: text value: foo - type: html value: </del> myst: | <del> *foo* </del> html: |- <del> <p><em>foo</em></p> </del> - title: HTML blocks - example 168 mdast: type: root children: - type: paragraph children: - type: html value: <del> - type: emphasis children: - type: text value: foo - type: html value: </del> myst: | <del>*foo*</del> html: |- <p><del><em>foo</em></del></p> - title: HTML blocks - example 169 mdast: type: root children: - type: html value: |- <pre language="haskell"><code> import Text.HTML.TagSoup main :: IO () main = print $ parseTags tags </code></pre> - type: paragraph children: - type: text value: okay myst: | <pre language="haskell"><code> import Text.HTML.TagSoup main :: IO () main = print $ parseTags tags </code></pre> okay html: |- <pre language="haskell"><code> import Text.HTML.TagSoup main :: IO () main = print $ parseTags tags </code></pre> <p>okay</p> - title: HTML blocks - example 170 mdast: type: root children: - type: html value: |- <script type="text/javascript"> // JavaScript example document.getElementById("demo").innerHTML = "Hello JavaScript!"; </script> - type: paragraph children: - type: text value: okay myst: | <script type="text/javascript"> // JavaScript example document.getElementById("demo").innerHTML = "Hello JavaScript!"; </script> okay html: |- <script type="text/javascript"> // JavaScript example document.getElementById("demo").innerHTML = "Hello JavaScript!"; </script> <p>okay</p> - title: HTML blocks - example 171 mdast: type: root children: - type: html value: |- <textarea> *foo* _bar_ </textarea> myst: | <textarea> *foo* _bar_ </textarea> html: |- <textarea> *foo* _bar_ </textarea> - title: HTML blocks - example 172 mdast: type: root children: - type: html value: |- <style type="text/css"> h1 {color:red;} p {color:blue;} </style> - type: paragraph children: - type: text value: okay myst: | <style type="text/css"> h1 {color:red;} p {color:blue;} </style> okay html: |- <style type="text/css"> h1 {color:red;} p {color:blue;} </style> <p>okay</p> - title: HTML blocks - example 173 mdast: type: root children: - type: html value: |- <style type="text/css"> foo myst: | <style type="text/css"> foo html: |- <style type="text/css"> foo - title: HTML blocks - example 174 mdast: type: root children: - type: blockquote children: - type: html value: |- <div> foo - type: paragraph children: - type: text value: bar myst: | > <div> > foo bar html: |- <blockquote> <div> foo </blockquote> <p>bar</p> - title: HTML blocks - example 175 mdast: type: root children: - type: list ordered: false spread: false children: - type: listItem spread: true children: - type: html value: <div> - type: listItem spread: true children: - type: text value: foo myst: | - <div> - foo html: |- <ul> <li> <div> </li> <li>foo</li> </ul> - title: HTML blocks - example 176 mdast: type: root children: - type: html value: <style>p{color:red;}</style> - type: paragraph children: - type: emphasis children: - type: text value: foo myst: | <style>p{color:red;}</style> *foo* html: |- <style>p{color:red;}</style> <p><em>foo</em></p> - title: HTML blocks - example 177 mdast: type: root children: - type: html value: <!-- foo -->*bar* - type: paragraph children: - type: emphasis children: - type: text value: baz myst: | <!-- foo -->*bar* *baz* html: |- <!-- foo -->*bar* <p><em>baz</em></p> - title: HTML blocks - example 178 mdast: type: root children: - type: html value: |- <script> foo </script>1. *bar* myst: | <script> foo </script>1. *bar* html: |- <script> foo </script>1. *bar* - title: HTML blocks - example 179 mdast: type: root children: - type: html value: |- <!-- Foo bar baz --> - type: paragraph children: - type: text value: okay myst: | <!-- Foo bar baz --> okay html: |- <!-- Foo bar baz --> <p>okay</p> - title: HTML blocks - example 180 mdast: type: root children: - type: html value: |- <?php echo '>'; ?> - type: paragraph children: - type: text value: okay myst: | <?php echo '>'; ?> okay html: |- <?php echo '>'; ?> <p>okay</p> - title: HTML blocks - example 181 mdast: type: root children: - type: html value: <!DOCTYPE html> myst: | <!DOCTYPE html> html: |- <!DOCTYPE html> - title: HTML blocks - example 182 mdast: type: root children: - type: html value: |- <![CDATA[ function matchwo(a,b) { if (a < b && a < 0) then { return 1; } else { return 0; } } ]]> - type: paragraph children: - type: text value: okay myst: | <![CDATA[ function matchwo(a,b) { if (a < b && a < 0) then { return 1; } else { return 0; } } ]]> okay html: |- <![CDATA[ function matchwo(a,b) { if (a < b && a < 0) then { return 1; } else { return 0; } } ]]> <p>okay</p> - title: HTML blocks - example 183 mdast: type: root children: - type: html value: ' <!-- foo -->' - type: code lang: '' value: <!-- foo --> myst: |2 <!-- foo --> <!-- foo --> html: |2- <!-- foo --> <pre><code>&lt;!-- foo --&gt; </code></pre> - title: HTML blocks - example 184 mdast: type: root children: - type: html value: ' <div>' - type: code lang: '' value: <div> myst: |2 <div> <div> html: |2- <div> <pre><code>&lt;div&gt; </code></pre> - title: HTML blocks - example 185 mdast: type: root children: - type: paragraph children: - type: text value: Foo - type: html value: |- <div> bar </div> myst: | Foo <div> bar </div> html: |- <p>Foo</p> <div> bar </div> - title: HTML blocks - example 186 mdast: type: root children: - type: html value: |- <div> bar </div> *foo* myst: | <div> bar </div> *foo* html: |- <div> bar </div> *foo* - title: HTML blocks - example 187 mdast: type: root children: - type: paragraph children: - type: text value: | Foo - type: html value: <a href="bar"> - type: text value: |- baz myst: | Foo <a href="bar"> baz html: |- <p>Foo <a href="bar"> baz</p> - title: HTML blocks - example 188 mdast: type: root children: - type: html value: <div> - type: paragraph children: - type: emphasis children: - type: text value: Emphasized - type: text value: ' text.' - type: html value: </div> myst: | <div> *Emphasized* text. </div> html: |- <div> <p><em>Emphasized</em> text.</p> </div> - title: HTML blocks - example 189 mdast: type: root children: - type: html value: |- <div> *Emphasized* text. </div> myst: | <div> *Emphasized* text. </div> html: |- <div> *Emphasized* text. </div> - title: HTML blocks - example 190 mdast: type: root children: - type: html value: <table> - type: html value: <tr> - type: html value: |- <td> Hi </td> - type: html value: </tr> - type: html value: </table> myst: | <table> <tr> <td> Hi </td> </tr> </table> html: |- <table> <tr> <td> Hi </td> </tr> </table> - title: HTML blocks - example 191 mdast: type: root children: - type: html value: <table> - type: html value: ' <tr>' - type: code lang: '' value: |- <td> Hi </td> - type: html value: ' </tr>' - type: html value: </table> myst: | <table> <tr> <td> Hi </td> </tr> </table> html: |- <table> <tr> <pre><code>&lt;td&gt; Hi &lt;/td&gt; </code></pre> </tr> </table> - title: Link reference definitions - example 192 mdast: type: root children: - type: paragraph children: - type: link url: /url title: title children: - type: text value: foo myst: | [foo]: /url "title" [foo] html: |- <p><a href="/url" title="title">foo</a></p> - title: Link reference definitions - example 193 mdast: type: root children: - type: paragraph children: - type: link url: /url title: the title children: - type: text value: foo myst: |2 [foo]: /url 'the title' [foo] html: |- <p><a href="/url" title="the title">foo</a></p> - title: Link reference definitions - example 194 mdast: type: root children: - type: paragraph children: - type: link url: my_(url) title: title (with parens) children: - type: text value: Foo*bar] myst: | [Foo*bar\]]:my_(url) 'title (with parens)' [Foo*bar\]] html: |- <p><a href="my_(url)" title="title (with parens)">Foo*bar]</a></p> - title: Link reference definitions - example 195 mdast: type: root children: - type: paragraph children: - type: link url: my%20url title: title children: - type: text value: Foo bar myst: | [Foo bar]: <my url> 'title' [Foo bar] html: |- <p><a href="my%20url" title="title">Foo bar</a></p> - title: Link reference definitions - example 196 mdast: type: root children: - type: paragraph children: - type: link url: /url title: | title line1 line2 children: - type: text value: foo myst: | [foo]: /url ' title line1 line2 ' [foo] html: |- <p><a href="/url" title=" title line1 line2 ">foo</a></p> - title: Link reference definitions - example 197 mdast: type: root children: - type: paragraph children: - type: text value: "[foo]: /url 'title" - type: paragraph children: - type: text value: with blank line' - type: paragraph children: - type: text value: '[foo]' myst: | [foo]: /url 'title with blank line' [foo] html: |- <p>[foo]: /url 'title</p> <p>with blank line'</p> <p>[foo]</p> - title: Link reference definitions - example 198 mdast: type: root children: - type: paragraph children: - type: link url: /url children: - type: text value: foo myst: | [foo]: /url [foo] html: |- <p><a href="/url">foo</a></p> - title: Link reference definitions - example 199 mdast: type: root children: - type: paragraph children: - type: text value: '[foo]:' - type: paragraph children: - type: text value: '[foo]' myst: | [foo]: [foo] html: |- <p>[foo]:</p> <p>[foo]</p> - title: Link reference definitions - example 200 mdast: type: root children: - type: paragraph children: - type: link url: '' children: - type: text value: foo myst: | [foo]: <> [foo] html: |- <p><a href="">foo</a></p> - title: Link reference definitions - example 201 mdast: type: root children: - type: paragraph children: - type: text value: '[foo]: ' - type: html value: <bar> - type: text value: (baz) - type: paragraph children: - type: text value: '[foo]' myst: | [foo]: <bar>(baz) [foo] html: |- <p>[foo]: <bar>(baz)</p> <p>[foo]</p> - title: Link reference definitions - example 202 mdast: type: root children: - type: paragraph children: - type: link url: /url%5Cbar*baz title: foo"bar\baz children: - type: text value: foo myst: | [foo]: /url\bar\*baz "foo\"bar\baz" [foo] html: |- <p><a href="/url%5Cbar*baz" title="foo&quot;bar\baz">foo</a></p> - title: Link reference definitions - example 203 mdast: type: root children: - type: paragraph children: - type: link url: url children: - type: text value: foo myst: | [foo] [foo]: url html: |- <p><a href="url">foo</a></p> - title: Link reference definitions - example 204 mdast: type: root children: - type: paragraph children: - type: link url: first children: - type: text value: foo myst: | [foo] [foo]: first [foo]: second html: |- <p><a href="first">foo</a></p> - title: Link reference definitions - example 205 mdast: type: root children: - type: paragraph children: - type: link url: /url children: - type: text value: Foo myst: | [FOO]: /url [Foo] html: |- <p><a href="/url">Foo</a></p> - title: Link reference definitions - example 206 mdast: type: root children: - type: paragraph children: - type: link url: /%CF%86%CE%BF%CF%85 children: - type: text value: αγω myst: | [ΑΓΩ]: /φου [αγω] html: |- <p><a href="/%CF%86%CE%BF%CF%85">αγω</a></p> - title: Link reference definitions - example 207 mdast: type: root children: [] myst: | [foo]: /url html: '' - title: Link reference definitions - example 208 mdast: type: root children: - type: paragraph children: - type: text value: bar myst: | [ foo ]: /url bar html: |- <p>bar</p> - title: Link reference definitions - example 209 mdast: type: root children: - type: paragraph children: - type: text value: '[foo]: /url "title" ok' myst: | [foo]: /url "title" ok html: |- <p>[foo]: /url &quot;title&quot; ok</p> - title: Link reference definitions - example 210 mdast: type: root children: - type: paragraph children: - type: text value: '"title" ok' myst: | [foo]: /url "title" ok html: |- <p>&quot;title&quot; ok</p> - title: Link reference definitions - example 211 mdast: type: root children: - type: code lang: '' value: '[foo]: /url "title"' - type: paragraph children: - type: text value: '[foo]' myst: |2 [foo]: /url "title" [foo] html: |- <pre><code>[foo]: /url &quot;title&quot; </code></pre> <p>[foo]</p> - title: Link reference definitions - example 212 mdast: type: root children: - type: code lang: '' value: '[foo]: /url' - type: paragraph children: - type: text value: '[foo]' myst: | ``` [foo]: /url ``` [foo] html: |- <pre><code>[foo]: /url </code></pre> <p>[foo]</p> - title: Link reference definitions - example 213 mdast: type: root children: - type: paragraph children: - type: text value: |- Foo [bar]: /baz - type: paragraph children: - type: text value: '[bar]' myst: | Foo [bar]: /baz [bar] html: |- <p>Foo [bar]: /baz</p> <p>[bar]</p> - title: Link reference definitions - example 214 mdast: type: root children: - type: heading depth: 1 children: - type: link url: /url children: - type: text value: Foo - type: blockquote children: - type: paragraph children: - type: text value: bar myst: | # [Foo] [foo]: /url > bar html: |- <h1><a href="/url">Foo</a></h1> <blockquote> <p>bar</p> </blockquote> - title: Link reference definitions - example 215 mdast: type: root children: - type: heading depth: 1 children: - type: text value: bar - type: paragraph children: - type: link url: /url children: - type: text value: foo myst: | [foo]: /url bar === [foo] html: |- <h1>bar</h1> <p><a href="/url">foo</a></p> - title: Link reference definitions - example 216 mdast: type: root children: - type: paragraph children: - type: text value: | === - type: link url: /url children: - type: text value: foo myst: | [foo]: /url === [foo] html: |- <p>=== <a href="/url">foo</a></p> - title: Link reference definitions - example 217 mdast: type: root children: - type: paragraph children: - type: link url: /foo-url title: foo children: - type: text value: foo - type: text value: | , - type: link url: /bar-url title: bar children: - type: text value: bar - type: text value: | , - type: link url: /baz-url children: - type: text value: baz myst: | [foo]: /foo-url "foo" [bar]: /bar-url "bar" [baz]: /baz-url [foo], [bar], [baz] html: |- <p><a href="/foo-url" title="foo">foo</a>, <a href="/bar-url" title="bar">bar</a>, <a href="/baz-url">baz</a></p> - title: Link reference definitions - example 218 mdast: type: root children: - type: paragraph children: - type: link url: /url children: - type: text value: foo - type: blockquote children: [] myst: | [foo] > [foo]: /url html: |- <p><a href="/url">foo</a></p> <blockquote> </blockquote> - title: Paragraphs - example 219 mdast: type: root children: - type: paragraph children: - type: text value: aaa - type: paragraph children: - type: text value: bbb myst: | aaa bbb html: |- <p>aaa</p> <p>bbb</p> - title: Paragraphs - example 220 mdast: type: root children: - type: paragraph children: - type: text value: |- aaa bbb - type: paragraph children: - type: text value: |- ccc ddd myst: | aaa bbb ccc ddd html: |- <p>aaa bbb</p> <p>ccc ddd</p> - title: Paragraphs - example 221 mdast: type: root children: - type: paragraph children: - type: text value: aaa - type: paragraph children: - type: text value: bbb myst: | aaa bbb html: |- <p>aaa</p> <p>bbb</p> - title: Paragraphs - example 222 mdast: type: root children: - type: paragraph children: - type: text value: |- aaa bbb myst: |2 aaa bbb html: |- <p>aaa bbb</p> - title: Paragraphs - example 223 mdast: type: root children: - type: paragraph children: - type: text value: |- aaa bbb ccc myst: | aaa bbb ccc html: |- <p>aaa bbb ccc</p> - title: Paragraphs - example 224 mdast: type: root children: - type: paragraph children: - type: text value: |- aaa bbb myst: |2 aaa bbb html: |- <p>aaa bbb</p> - title: Paragraphs - example 225 mdast: type: root children: - type: code lang: '' value: aaa - type: paragraph children: - type: text value: bbb myst: |2 aaa bbb html: |- <pre><code>aaa </code></pre> <p>bbb</p> - title: Paragraphs - example 226 mdast: type: root children: - type: paragraph children: - type: text value: aaa - type: break - type: text value: bbb myst: | aaa bbb html: |- <p>aaa<br /> bbb</p> - title: Blank lines - example 227 mdast: type: root children: - type: paragraph children: - type: text value: aaa - type: heading depth: 1 children: - type: text value: aaa myst: |2 aaa # aaa html: |- <p>aaa</p> <h1>aaa</h1> - title: Block quotes - example 228 mdast: type: root children: - type: blockquote children: - type: heading depth: 1 children: - type: text value: Foo - type: paragraph children: - type: text value: |- bar baz myst: | > # Foo > bar > baz html: |- <blockquote> <h1>Foo</h1> <p>bar baz</p> </blockquote> - title: Block quotes - example 229 mdast: type: root children: - type: blockquote children: - type: heading depth: 1 children: - type: text value: Foo - type: paragraph children: - type: text value: |- bar baz myst: | ># Foo >bar > baz html: |- <blockquote> <h1>Foo</h1> <p>bar baz</p> </blockquote> - title: Block quotes - example 230 mdast: type: root children: - type: blockquote children: - type: heading depth: 1 children: - type: text value: Foo - type: paragraph children: - type: text value: |- bar baz myst: |2 > # Foo > bar > baz html: |- <blockquote> <h1>Foo</h1> <p>bar baz</p> </blockquote> - title: Block quotes - example 231 mdast: type: root children: - type: code lang: '' value: |- > # Foo > bar > baz myst: |2 > # Foo > bar > baz html: |- <pre><code>&gt; # Foo &gt; bar &gt; baz </code></pre> - title: Block quotes - example 232 mdast: type: root children: - type: blockquote children: - type: heading depth: 1 children: - type: text value: Foo - type: paragraph children: - type: text value: |- bar baz myst: | > # Foo > bar baz html: |- <blockquote> <h1>Foo</h1> <p>bar baz</p> </blockquote> - title: Block quotes - example 233 mdast: type: root children: - type: blockquote children: - type: paragraph children: - type: text value: |- bar baz foo myst: | > bar baz > foo html: |- <blockquote> <p>bar baz foo</p> </blockquote> - title: Block quotes - example 234 mdast: type: root children: - type: blockquote children: - type: paragraph children: - type: text value: foo - type: thematicBreak myst: | > foo --- html: |- <blockquote> <p>foo</p> </blockquote> <hr /> - title: Block quotes - example 235 mdast: type: root children: - type: blockquote children: - type: list ordered: false spread: false children: - type: listItem spread: true children: - type: text value: foo - type: list ordered: false spread: false children: - type: listItem spread: true children: - type: text value: bar myst: | > - foo - bar html: |- <blockquote> <ul> <li>foo</li> </ul> </blockquote> <ul> <li>bar</li> </ul> - title: Block quotes - example 236 mdast: type: root children: - type: blockquote children: - type: code lang: '' value: foo - type: code lang: '' value: bar myst: | > foo bar html: |- <blockquote> <pre><code>foo </code></pre> </blockquote> <pre><code>bar </code></pre> - title: Block quotes - example 237 mdast: type: root children: - type: blockquote children: - type: code lang: '' value: '' - type: paragraph children: - type: text value: foo - type: code lang: '' value: '' myst: | > ``` foo ``` html: |- <blockquote> <pre><code></code></pre> </blockquote> <p>foo</p> <pre><code></code></pre> - title: Block quotes - example 238 mdast: type: root children: - type: blockquote children: - type: paragraph children: - type: text value: |- foo - bar myst: | > foo - bar html: |- <blockquote> <p>foo - bar</p> </blockquote> - title: Block quotes - example 239 mdast: type: root children: - type: blockquote children: [] myst: | > html: |- <blockquote> </blockquote> - title: Block quotes - example 240 mdast: type: root children: - type: blockquote children: [] myst: | > > > html: |- <blockquote> </blockquote> - title: Block quotes - example 241 mdast: type: root children: - type: blockquote children: - type: paragraph children: - type: text value: foo myst: | > > foo > html: |- <blockquote> <p>foo</p> </blockquote> - title: Block quotes - example 242 mdast: type: root children: - type: blockquote children: - type: paragraph children: - type: text value: foo - type: blockquote children: - type: paragraph children: - type: text value: bar myst: | > foo > bar html: |- <blockquote> <p>foo</p> </blockquote> <blockquote> <p>bar</p> </blockquote> - title: Block quotes - example 243 mdast: type: root children: - type: blockquote children: - type: paragraph children: - type: text value: |- foo bar myst: | > foo > bar html: |- <blockquote> <p>foo bar</p> </blockquote> - title: Block quotes - example 244 mdast: type: root children: - type: blockquote children: - type: paragraph children: - type: text value: foo - type: paragraph children: - type: text value: bar myst: | > foo > > bar html: |- <blockquote> <p>foo</p> <p>bar</p> </blockquote> - title: Block quotes - example 245 mdast: type: root children: - type: paragraph children: - type: text value: foo - type: blockquote children: - type: paragraph children: - type: text value: bar myst: | foo > bar html: |- <p>foo</p> <blockquote> <p>bar</p> </blockquote> - title: Block quotes - example 246 mdast: type: root children: - type: blockquote children: - type: paragraph children: - type: text value: aaa - type: thematicBreak - type: blockquote children: - type: paragraph children: - type: text value: bbb myst: | > aaa *** > bbb html: |- <blockquote> <p>aaa</p> </blockquote> <hr /> <blockquote> <p>bbb</p> </blockquote> - title: Block quotes - example 247 mdast: type: root children: - type: blockquote children: - type: paragraph children: - type: text value: |- bar baz myst: | > bar baz html: |- <blockquote> <p>bar baz</p> </blockquote> - title: Block quotes - example 248 mdast: type: root children: - type: blockquote children: - type: paragraph children: - type: text value: bar - type: paragraph children: - type: text value: baz myst: | > bar baz html: |- <blockquote> <p>bar</p> </blockquote> <p>baz</p> - title: Block quotes - example 249 mdast: type: root children: - type: blockquote children: - type: paragraph children: - type: text value: bar - type: paragraph children: - type: text value: baz myst: | > bar > baz html: |- <blockquote> <p>bar</p> </blockquote> <p>baz</p> - title: Block quotes - example 250 mdast: type: root children: - type: blockquote children: - type: blockquote children: - type: blockquote children: - type: paragraph children: - type: text value: |- foo bar myst: | > > > foo bar html: |- <blockquote> <blockquote> <blockquote> <p>foo bar</p> </blockquote> </blockquote> </blockquote> - title: Block quotes - example 251 mdast: type: root children: - type: blockquote children: - type: blockquote children: - type: blockquote children: - type: paragraph children: - type: text value: |- foo bar baz myst: | >>> foo > bar >>baz html: |- <blockquote> <blockquote> <blockquote> <p>foo bar baz</p> </blockquote> </blockquote> </blockquote> - title: Block quotes - example 252 mdast: type: root children: - type: blockquote children: - type: code lang: '' value: code - type: blockquote children: - type: paragraph children: - type: text value: not code myst: | > code > not code html: |- <blockquote> <pre><code>code </code></pre> </blockquote> <blockquote> <p>not code</p> </blockquote> - title: List items - example 253 mdast: type: root children: - type: paragraph children: - type: text value: |- A paragraph with two lines. - type: code lang: '' value: indented code - type: blockquote children: - type: paragraph children: - type: text value: A block quote. myst: | A paragraph with two lines. indented code > A block quote. html: |- <p>A paragraph with two lines.</p> <pre><code>indented code </code></pre> <blockquote> <p>A block quote.</p> </blockquote> - title: List items - example 254 mdast: type: root children: - type: list ordered: true start: 1 spread: false children: - type: listItem spread: true children: - type: paragraph children: - type: text value: |- A paragraph with two lines. - type: code lang: '' value: indented code - type: blockquote children: - type: paragraph children: - type: text value: A block quote. myst: | 1. A paragraph with two lines. indented code > A block quote. html: |- <ol> <li> <p>A paragraph with two lines.</p> <pre><code>indented code </code></pre> <blockquote> <p>A block quote.</p> </blockquote> </li> </ol> - title: List items - example 255 mdast: type: root children: - type: list ordered: false spread: false children: - type: listItem spread: true children: - type: text value: one - type: paragraph children: - type: text value: two myst: | - one two html: |- <ul> <li>one</li> </ul> <p>two</p> - title: List items - example 256 mdast: type: root children: - type: list ordered: false spread: false children: - type: listItem spread: true children: - type: paragraph children: - type: text value: one - type: paragraph children: - type: text value: two myst: | - one two html: |- <ul> <li> <p>one</p> <p>two</p> </li> </ul> - title: List items - example 257 mdast: type: root children: - type: list ordered: false spread: false children: - type: listItem spread: true children: - type: text value: one - type: code lang: '' value: ' two' myst: |2 - one two html: |- <ul> <li>one</li> </ul> <pre><code> two </code></pre> - title: List items - example 258 mdast: type: root children: - type: list ordered: false spread: false children: - type: listItem spread: true children: - type: paragraph children: - type: text value: one - type: paragraph children: - type: text value: two myst: |2 - one two html: |- <ul> <li> <p>one</p> <p>two</p> </li> </ul> - title: List items - example 259 mdast: type: root children: - type: blockquote children: - type: blockquote children: - type: list ordered: true start: 1 spread: false children: - type: listItem spread: true children: - type: paragraph children: - type: text value: one - type: paragraph children: - type: text value: two myst: |2 > > 1. one >> >> two html: |- <blockquote> <blockquote> <ol> <li> <p>one</p> <p>two</p> </li> </ol> </blockquote> </blockquote> - title: List items - example 260 mdast: type: root children: - type: blockquote children: - type: blockquote children: - type: list ordered: false spread: false children: - type: listItem spread: true children: - type: text value: one - type: paragraph children: - type: text value: two myst: | >>- one >> > > two html: |- <blockquote> <blockquote> <ul> <li>one</li> </ul> <p>two</p> </blockquote> </blockquote> - title: List items - example 261 mdast: type: root children: - type: paragraph children: - type: text value: '-one' - type: paragraph children: - type: text value: 2.two myst: | -one 2.two html: |- <p>-one</p> <p>2.two</p> - title: List items - example 262 mdast: type: root children: - type: list ordered: false spread: false children: - type: listItem spread: true children: - type: paragraph children: - type: text value: foo - type: paragraph children: - type: text value: bar myst: | - foo bar html: |- <ul> <li> <p>foo</p> <p>bar</p> </li> </ul> - title: List items - example 263 mdast: type: root children: - type: list ordered: true start: 1 spread: false children: - type: listItem spread: true children: - type: paragraph children: - type: text value: foo - type: code lang: '' value: bar - type: paragraph children: - type: text value: baz - type: blockquote children: - type: paragraph children: - type: text value: bam myst: | 1. foo ``` bar ``` baz > bam html: |- <ol> <li> <p>foo</p> <pre><code>bar </code></pre> <p>baz</p> <blockquote> <p>bam</p> </blockquote> </li> </ol> - title: List items - example 264 mdast: type: root children: - type: list ordered: false spread: false children: - type: listItem spread: true children: - type: paragraph children: - type: text value: Foo - type: code lang: '' value: |- bar baz myst: | - Foo bar baz html: |- <ul> <li> <p>Foo</p> <pre><code>bar baz </code></pre> </li> </ul> - title: List items - example 265 mdast: type: root children: - type: list ordered: true start: 123456789 spread: false children: - type: listItem spread: true children: - type: text value: ok myst: | 123456789. ok html: |- <ol start="123456789"> <li>ok</li> </ol> - title: List items - example 266 mdast: type: root children: - type: paragraph children: - type: text value: 1234567890. not ok myst: | 1234567890. not ok html: |- <p>1234567890. not ok</p> - title: List items - example 267 mdast: type: root children: - type: list ordered: true start: 0 spread: false children: - type: listItem spread: true children: - type: text value: ok myst: | 0. ok html: |- <ol start="0"> <li>ok</li> </ol> - title: List items - example 268 mdast: type: root children: - type: list ordered: true start: 3 spread: false children: - type: listItem spread: true children: - type: text value: ok myst: | 003. ok html: |- <ol start="3"> <li>ok</li> </ol> - title: List items - example 269 mdast: type: root children: - type: paragraph children: - type: text value: '-1. not ok' myst: | -1. not ok html: |- <p>-1. not ok</p> - title: List items - example 270 mdast: type: root children: - type: list ordered: false spread: false children: - type: listItem spread: true children: - type: paragraph children: - type: text value: foo - type: code lang: '' value: bar myst: | - foo bar html: |- <ul> <li> <p>foo</p> <pre><code>bar </code></pre> </li> </ul> - title: List items - example 271 mdast: type: root children: - type: list ordered: true start: 10 spread: false children: - type: listItem spread: true children: - type: paragraph children: - type: text value: foo - type: code lang: '' value: bar myst: |2 10. foo bar html: |- <ol start="10"> <li> <p>foo</p> <pre><code>bar </code></pre> </li> </ol> - title: List items - example 272 mdast: type: root children: - type: code lang: '' value: indented code - type: paragraph children: - type: text value: paragraph - type: code lang: '' value: more code myst: |2 indented code paragraph more code html: |- <pre><code>indented code </code></pre> <p>paragraph</p> <pre><code>more code </code></pre> - title: List items - example 273 mdast: type: root children: - type: list ordered: true start: 1 spread: false children: - type: listItem spread: true children: - type: code lang: '' value: indented code - type: paragraph children: - type: text value: paragraph - type: code lang: '' value: more code myst: | 1. indented code paragraph more code html: |- <ol> <li> <pre><code>indented code </code></pre> <p>paragraph</p> <pre><code>more code </code></pre> </li> </ol> - title: List items - example 274 mdast: type: root children: - type: list ordered: true start: 1 spread: false children: - type: listItem spread: true children: - type: code lang: '' value: ' indented code' - type: paragraph children: - type: text value: paragraph - type: code lang: '' value: more code myst: | 1. indented code paragraph more code html: |- <ol> <li> <pre><code> indented code </code></pre> <p>paragraph</p> <pre><code>more code </code></pre> </li> </ol> - title: List items - example 275 mdast: type: root children: - type: paragraph children: - type: text value: foo - type: paragraph children: - type: text value: bar myst: |2 foo bar html: |- <p>foo</p> <p>bar</p> - title: List items - example 276 mdast: type: root children: - type: list ordered: false spread: false children: - type: listItem spread: true children: - type: text value: foo - type: paragraph children: - type: text value: bar myst: | - foo bar html: |- <ul> <li>foo</li> </ul> <p>bar</p> - title: List items - example 277 mdast: type: root children: - type: list ordered: false spread: false children: - type: listItem spread: true children: - type: paragraph children: - type: text value: foo - type: paragraph children: - type: text value: bar myst: | - foo bar html: |- <ul> <li> <p>foo</p> <p>bar</p> </li> </ul> - title: List items - example 278 mdast: type: root children: - type: list ordered: false spread: false children: - type: listItem spread: true children: - type: text value: foo - type: listItem spread: true children: - type: code lang: '' value: bar - type: listItem spread: true children: - type: code lang: '' value: baz myst: | - foo - ``` bar ``` - baz html: |- <ul> <li>foo</li> <li> <pre><code>bar </code></pre> </li> <li> <pre><code>baz </code></pre> </li> </ul> - title: List items - example 279 mdast: type: root children: - type: list ordered: false spread: false children: - type: listItem spread: true children: - type: text value: foo myst: | - foo html: |- <ul> <li>foo</li> </ul> - title: List items - example 280 mdast: type: root children: - type: list ordered: false spread: false children: - type: listItem spread: true children: [] - type: paragraph children: - type: text value: foo myst: | - foo html: |- <ul> <li></li> </ul> <p>foo</p> - title: List items - example 281 mdast: type: root children: - type: list ordered: false spread: false children: - type: listItem spread: true children: - type: text value: foo - type: listItem spread: true children: [] - type: listItem spread: true children: - type: text value: bar myst: | - foo - - bar html: |- <ul> <li>foo</li> <li></li> <li>bar</li> </ul> - title: List items - example 282 mdast: type: root children: - type: list ordered: false spread: false children: - type: listItem spread: true children: - type: text value: foo - type: listItem spread: true children: [] - type: listItem spread: true children: - type: text value: bar myst: | - foo - - bar html: |- <ul> <li>foo</li> <li></li> <li>bar</li> </ul> - title: List items - example 283 mdast: type: root children: - type: list ordered: true start: 1 spread: false children: - type: listItem spread: true children: - type: text value: foo - type: listItem spread: true children: [] - type: listItem spread: true children: - type: text value: bar myst: | 1. foo 2. 3. bar html: |- <ol> <li>foo</li> <li></li> <li>bar</li> </ol> - title: List items - example 284 mdast: type: root children: - type: list ordered: false spread: false children: - type: listItem spread: true children: [] myst: | * html: |- <ul> <li></li> </ul> - title: List items - example 285 mdast: type: root children: - type: paragraph children: - type: text value: |- foo * - type: paragraph children: - type: text value: |- foo 1. myst: | foo * foo 1. html: |- <p>foo *</p> <p>foo 1.</p> - title: List items - example 286 mdast: type: root children: - type: list ordered: true start: 1 spread: false children: - type: listItem spread: true children: - type: paragraph children: - type: text value: |- A paragraph with two lines. - type: code lang: '' value: indented code - type: blockquote children: - type: paragraph children: - type: text value: A block quote. myst: |2 1. A paragraph with two lines. indented code > A block quote. html: |- <ol> <li> <p>A paragraph with two lines.</p> <pre><code>indented code </code></pre> <blockquote> <p>A block quote.</p> </blockquote> </li> </ol> - title: List items - example 287 mdast: type: root children: - type: list ordered: true start: 1 spread: false children: - type: listItem spread: true children: - type: paragraph children: - type: text value: |- A paragraph with two lines. - type: code lang: '' value: indented code - type: blockquote children: - type: paragraph children: - type: text value: A block quote. myst: |2 1. A paragraph with two lines. indented code > A block quote. html: |- <ol> <li> <p>A paragraph with two lines.</p> <pre><code>indented code </code></pre> <blockquote> <p>A block quote.</p> </blockquote> </li> </ol> - title: List items - example 288 mdast: type: root children: - type: list ordered: true start: 1 spread: false children: - type: listItem spread: true children: - type: paragraph children: - type: text value: |- A paragraph with two lines. - type: code lang: '' value: indented code - type: blockquote children: - type: paragraph children: - type: text value: A block quote. myst: |2 1. A paragraph with two lines. indented code > A block quote. html: |- <ol> <li> <p>A paragraph with two lines.</p> <pre><code>indented code </code></pre> <blockquote> <p>A block quote.</p> </blockquote> </li> </ol> - title: List items - example 289 mdast: type: root children: - type: code lang: '' value: |- 1. A paragraph with two lines. indented code > A block quote. myst: |2 1. A paragraph with two lines. indented code > A block quote. html: |- <pre><code>1. A paragraph with two lines. indented code &gt; A block quote. </code></pre> - title: List items - example 290 mdast: type: root children: - type: list ordered: true start: 1 spread: false children: - type: listItem spread: true children: - type: paragraph children: - type: text value: |- A paragraph with two lines. - type: code lang: '' value: indented code - type: blockquote children: - type: paragraph children: - type: text value: A block quote. myst: |2 1. A paragraph with two lines. indented code > A block quote. html: |- <ol> <li> <p>A paragraph with two lines.</p> <pre><code>indented code </code></pre> <blockquote> <p>A block quote.</p> </blockquote> </li> </ol> - title: List items - example 291 mdast: type: root children: - type: list ordered: true start: 1 spread: false children: - type: listItem spread: true children: - type: text value: |- A paragraph with two lines. myst: |2 1. A paragraph with two lines. html: |- <ol> <li>A paragraph with two lines.</li> </ol> - title: List items - example 292 mdast: type: root children: - type: blockquote children: - type: list ordered: true start: 1 spread: false children: - type: listItem spread: true children: - type: blockquote children: - type: paragraph children: - type: text value: |- Blockquote continued here. myst: | > 1. > Blockquote continued here. html: |- <blockquote> <ol> <li> <blockquote> <p>Blockquote continued here.</p> </blockquote> </li> </ol> </blockquote> - title: List items - example 293 mdast: type: root children: - type: blockquote children: - type: list ordered: true start: 1 spread: false children: - type: listItem spread: true children: - type: blockquote children: - type: paragraph children: - type: text value: |- Blockquote continued here. myst: | > 1. > Blockquote > continued here. html: |- <blockquote> <ol> <li> <blockquote> <p>Blockquote continued here.</p> </blockquote> </li> </ol> </blockquote> - title: List items - example 294 mdast: type: root children: - type: list ordered: false spread: false children: - type: listItem spread: true children: - type: text value: foo - type: list ordered: false spread: false children: - type: listItem spread: true children: - type: text value: bar - type: list ordered: false spread: false children: - type: listItem spread: true children: - type: text value: baz - type: list ordered: false spread: false children: - type: listItem spread: true children: - type: text value: boo myst: | - foo - bar - baz - boo html: |- <ul> <li>foo <ul> <li>bar <ul> <li>baz <ul> <li>boo</li> </ul> </li> </ul> </li> </ul> </li> </ul> - title: List items - example 295 mdast: type: root children: - type: list ordered: false spread: false children: - type: listItem spread: true children: - type: text value: foo - type: listItem spread: true children: - type: text value: bar - type: listItem spread: true children: - type: text value: baz - type: listItem spread: true children: - type: text value: boo myst: | - foo - bar - baz - boo html: |- <ul> <li>foo</li> <li>bar</li> <li>baz</li> <li>boo</li> </ul> - title: List items - example 296 mdast: type: root children: - type: list ordered: true start: 10 spread: false children: - type: listItem spread: true children: - type: text value: foo - type: list ordered: false spread: false children: - type: listItem spread: true children: - type: text value: bar myst: | 10) foo - bar html: |- <ol start="10"> <li>foo <ul> <li>bar</li> </ul> </li> </ol> - title: List items - example 297 mdast: type: root children: - type: list ordered: true start: 10 spread: false children: - type: listItem spread: true children: - type: text value: foo - type: list ordered: false spread: false children: - type: listItem spread: true children: - type: text value: bar myst: | 10) foo - bar html: |- <ol start="10"> <li>foo</li> </ol> <ul> <li>bar</li> </ul> - title: List items - example 298 mdast: type: root children: - type: list ordered: false spread: false children: - type: listItem spread: true children: - type: list ordered: false spread: false children: - type: listItem spread: true children: - type: text value: foo myst: | - - foo html: |- <ul> <li> <ul> <li>foo</li> </ul> </li> </ul> - title: List items - example 299 mdast: type: root children: - type: list ordered: true start: 1 spread: false children: - type: listItem spread: true children: - type: list ordered: false spread: false children: - type: listItem spread: true children: - type: list ordered: true start: 2 spread: false children: - type: listItem spread: true children: - type: text value: foo myst: | 1. - 2. foo html: |- <ol> <li> <ul> <li> <ol start="2"> <li>foo</li> </ol> </li> </ul> </li> </ol> - title: List items - example 300 mdast: type: root children: - type: list ordered: false spread: false children: - type: listItem spread: true children: - type: heading depth: 1 children: - type: text value: Foo - type: listItem spread: true children: - type: heading depth: 2 children: - type: text value: Bar - type: text value: baz myst: | - # Foo - Bar --- baz html: |- <ul> <li> <h1>Foo</h1> </li> <li> <h2>Bar</h2> baz</li> </ul> - title: Lists - example 301 mdast: type: root children: - type: list ordered: false spread: false children: - type: listItem spread: true children: - type: text value: foo - type: listItem spread: true children: - type: text value: bar - type: list ordered: false spread: false children: - type: listItem spread: true children: - type: text value: baz myst: | - foo - bar + baz html: |- <ul> <li>foo</li> <li>bar</li> </ul> <ul> <li>baz</li> </ul> - title: Lists - example 302 mdast: type: root children: - type: list ordered: true start: 1 spread: false children: - type: listItem spread: true children: - type: text value: foo - type: listItem spread: true children: - type: text value: bar - type: list ordered: true start: 3 spread: false children: - type: listItem spread: true children: - type: text value: baz myst: | 1. foo 2. bar 3) baz html: |- <ol> <li>foo</li> <li>bar</li> </ol> <ol start="3"> <li>baz</li> </ol> - title: Lists - example 303 mdast: type: root children: - type: paragraph children: - type: text value: Foo - type: list ordered: false spread: false children: - type: listItem spread: true children: - type: text value: bar - type: listItem spread: true children: - type: text value: baz myst: | Foo - bar - baz html: |- <p>Foo</p> <ul> <li>bar</li> <li>baz</li> </ul> - title: Lists - example 304 mdast: type: root children: - type: paragraph children: - type: text value: |- The number of windows in my house is 14. The number of doors is 6. myst: | The number of windows in my house is 14. The number of doors is 6. html: |- <p>The number of windows in my house is 14. The number of doors is 6.</p> - title: Lists - example 305 mdast: type: root children: - type: paragraph children: - type: text value: The number of windows in my house is - type: list ordered: true start: 1 spread: false children: - type: listItem spread: true children: - type: text value: The number of doors is 6. myst: | The number of windows in my house is 1. The number of doors is 6. html: |- <p>The number of windows in my house is</p> <ol> <li>The number of doors is 6.</li> </ol> - title: Lists - example 306 mdast: type: root children: - type: list ordered: false spread: false children: - type: listItem spread: true children: - type: paragraph children: - type: text value: foo - type: listItem spread: true children: - type: paragraph children: - type: text value: bar - type: listItem spread: true children: - type: paragraph children: - type: text value: baz myst: | - foo - bar - baz html: |- <ul> <li> <p>foo</p> </li> <li> <p>bar</p> </li> <li> <p>baz</p> </li> </ul> - title: Lists - example 307 mdast: type: root children: - type: list ordered: false spread: false children: - type: listItem spread: true children: - type: text value: foo - type: list ordered: false spread: false children: - type: listItem spread: true children: - type: text value: bar - type: list ordered: false spread: false children: - type: listItem spread: true children: - type: paragraph children: - type: text value: baz - type: paragraph children: - type: text value: bim myst: | - foo - bar - baz bim html: |- <ul> <li>foo <ul> <li>bar <ul> <li> <p>baz</p> <p>bim</p> </li> </ul> </li> </ul> </li> </ul> - title: Lists - example 308 mdast: type: root children: - type: list ordered: false spread: false children: - type: listItem spread: true children: - type: text value: foo - type: listItem spread: true children: - type: text value: bar - type: html value: <!-- --> - type: list ordered: false spread: false children: - type: listItem spread: true children: - type: text value: baz - type: listItem spread: true children: - type: text value: bim myst: | - foo - bar <!-- --> - baz - bim html: |- <ul> <li>foo</li> <li>bar</li> </ul> <!-- --> <ul> <li>baz</li> <li>bim</li> </ul> - title: Lists - example 309 mdast: type: root children: - type: list ordered: false spread: false children: - type: listItem spread: true children: - type: paragraph children: - type: text value: foo - type: paragraph children: - type: text value: notcode - type: listItem spread: true children: - type: paragraph children: - type: text value: foo - type: html value: <!-- --> - type: code lang: '' value: code myst: | - foo notcode - foo <!-- --> code html: |- <ul> <li> <p>foo</p> <p>notcode</p> </li> <li> <p>foo</p> </li> </ul> <!-- --> <pre><code>code </code></pre> - title: Lists - example 310 mdast: type: root children: - type: list ordered: false spread: false children: - type: listItem spread: true children: - type: text value: a - type: listItem spread: true children: - type: text value: b - type: listItem spread: true children: - type: text value: c - type: listItem spread: true children: - type: text value: d - type: listItem spread: true children: - type: text value: e - type: listItem spread: true children: - type: text value: f - type: listItem spread: true children: - type: text value: g myst: | - a - b - c - d - e - f - g html: |- <ul> <li>a</li> <li>b</li> <li>c</li> <li>d</li> <li>e</li> <li>f</li> <li>g</li> </ul> - title: Lists - example 311 mdast: type: root children: - type: list ordered: true start: 1 spread: false children: - type: listItem spread: true children: - type: paragraph children: - type: text value: a - type: listItem spread: true children: - type: paragraph children: - type: text value: b - type: listItem spread: true children: - type: paragraph children: - type: text value: c myst: | 1. a 2. b 3. c html: |- <ol> <li> <p>a</p> </li> <li> <p>b</p> </li> <li> <p>c</p> </li> </ol> - title: Lists - example 312 mdast: type: root children: - type: list ordered: false spread: false children: - type: listItem spread: true children: - type: text value: a - type: listItem spread: true children: - type: text value: b - type: listItem spread: true children: - type: text value: c - type: listItem spread: true children: - type: text value: |- d - e myst: | - a - b - c - d - e html: |- <ul> <li>a</li> <li>b</li> <li>c</li> <li>d - e</li> </ul> - title: Lists - example 313 mdast: type: root children: - type: list ordered: true start: 1 spread: false children: - type: listItem spread: true children: - type: paragraph children: - type: text value: a - type: listItem spread: true children: - type: paragraph children: - type: text value: b - type: code lang: '' value: 3. c myst: | 1. a 2. b 3. c html: |- <ol> <li> <p>a</p> </li> <li> <p>b</p> </li> </ol> <pre><code>3. c </code></pre> - title: Lists - example 314 mdast: type: root children: - type: list ordered: false spread: false children: - type: listItem spread: true children: - type: paragraph children: - type: text value: a - type: listItem spread: true children: - type: paragraph children: - type: text value: b - type: listItem spread: true children: - type: paragraph children: - type: text value: c myst: | - a - b - c html: |- <ul> <li> <p>a</p> </li> <li> <p>b</p> </li> <li> <p>c</p> </li> </ul> - title: Lists - example 315 mdast: type: root children: - type: list ordered: false spread: false children: - type: listItem spread: true children: - type: paragraph children: - type: text value: a - type: listItem spread: true children: [] - type: listItem spread: true children: - type: paragraph children: - type: text value: c myst: | * a * * c html: |- <ul> <li> <p>a</p> </li> <li></li> <li> <p>c</p> </li> </ul> - title: Lists - example 316 mdast: type: root children: - type: list ordered: false spread: false children: - type: listItem spread: true children: - type: paragraph children: - type: text value: a - type: listItem spread: true children: - type: paragraph children: - type: text value: b - type: paragraph children: - type: text value: c - type: listItem spread: true children: - type: paragraph children: - type: text value: d myst: | - a - b c - d html: |- <ul> <li> <p>a</p> </li> <li> <p>b</p> <p>c</p> </li> <li> <p>d</p> </li> </ul> - title: Lists - example 317 mdast: type: root children: - type: list ordered: false spread: false children: - type: listItem spread: true children: - type: paragraph children: - type: text value: a - type: listItem spread: true children: - type: paragraph children: - type: text value: b - type: listItem spread: true children: - type: paragraph children: - type: text value: d myst: | - a - b [ref]: /url - d html: |- <ul> <li> <p>a</p> </li> <li> <p>b</p> </li> <li> <p>d</p> </li> </ul> - title: Lists - example 318 mdast: type: root children: - type: list ordered: false spread: false children: - type: listItem spread: true children: - type: text value: a - type: listItem spread: true children: - type: code lang: '' value: |+ b - type: listItem spread: true children: - type: text value: c myst: | - a - ``` b ``` - c html: |- <ul> <li>a</li> <li> <pre><code>b </code></pre> </li> <li>c</li> </ul> - title: Lists - example 319 mdast: type: root children: - type: list ordered: false spread: false children: - type: listItem spread: true children: - type: text value: a - type: list ordered: false spread: false children: - type: listItem spread: true children: - type: paragraph children: - type: text value: b - type: paragraph children: - type: text value: c - type: listItem spread: true children: - type: text value: d myst: | - a - b c - d html: |- <ul> <li>a <ul> <li> <p>b</p> <p>c</p> </li> </ul> </li> <li>d</li> </ul> - title: Lists - example 320 mdast: type: root children: - type: list ordered: false spread: false children: - type: listItem spread: true children: - type: text value: a - type: blockquote children: - type: paragraph children: - type: text value: b - type: listItem spread: true children: - type: text value: c myst: | * a > b > * c html: |- <ul> <li>a <blockquote> <p>b</p> </blockquote> </li> <li>c</li> </ul> - title: Lists - example 321 mdast: type: root children: - type: list ordered: false spread: false children: - type: listItem spread: true children: - type: text value: a - type: blockquote children: - type: paragraph children: - type: text value: b - type: code lang: '' value: c - type: listItem spread: true children: - type: text value: d myst: | - a > b ``` c ``` - d html: |- <ul> <li>a <blockquote> <p>b</p> </blockquote> <pre><code>c </code></pre> </li> <li>d</li> </ul> - title: Lists - example 322 mdast: type: root children: - type: list ordered: false spread: false children: - type: listItem spread: true children: - type: text value: a myst: | - a html: |- <ul> <li>a</li> </ul> - title: Lists - example 323 mdast: type: root children: - type: list ordered: false spread: false children: - type: listItem spread: true children: - type: text value: a - type: list ordered: false spread: false children: - type: listItem spread: true children: - type: text value: b myst: | - a - b html: |- <ul> <li>a <ul> <li>b</li> </ul> </li> </ul> - title: Lists - example 324 mdast: type: root children: - type: list ordered: true start: 1 spread: false children: - type: listItem spread: true children: - type: code lang: '' value: foo - type: paragraph children: - type: text value: bar myst: | 1. ``` foo ``` bar html: |- <ol> <li> <pre><code>foo </code></pre> <p>bar</p> </li> </ol> - title: Lists - example 325 mdast: type: root children: - type: list ordered: false spread: false children: - type: listItem spread: true children: - type: paragraph children: - type: text value: foo - type: list ordered: false spread: false children: - type: listItem spread: true children: - type: text value: bar - type: paragraph children: - type: text value: baz myst: | * foo * bar baz html: |- <ul> <li> <p>foo</p> <ul> <li>bar</li> </ul> <p>baz</p> </li> </ul> - title: Lists - example 326 mdast: type: root children: - type: list ordered: false spread: false children: - type: listItem spread: true children: - type: paragraph children: - type: text value: a - type: list ordered: false spread: false children: - type: listItem spread: true children: - type: text value: b - type: listItem spread: true children: - type: text value: c - type: listItem spread: true children: - type: paragraph children: - type: text value: d - type: list ordered: false spread: false children: - type: listItem spread: true children: - type: text value: e - type: listItem spread: true children: - type: text value: f myst: | - a - b - c - d - e - f html: |- <ul> <li> <p>a</p> <ul> <li>b</li> <li>c</li> </ul> </li> <li> <p>d</p> <ul> <li>e</li> <li>f</li> </ul> </li> </ul> - title: Inlines - example 327 mdast: type: root children: - type: paragraph children: - type: inlineCode value: hi - type: text value: lo` myst: | `hi`lo` html: |- <p><code>hi</code>lo`</p> - title: Code spans - example 328 mdast: type: root children: - type: paragraph children: - type: inlineCode value: foo myst: | `foo` html: |- <p><code>foo</code></p> - title: Code spans - example 329 mdast: type: root children: - type: paragraph children: - type: inlineCode value: foo ` bar myst: | `` foo ` bar `` html: |- <p><code>foo ` bar</code></p> - title: Code spans - example 330 mdast: type: root children: - type: paragraph children: - type: inlineCode value: '``' myst: | ` `` ` html: |- <p><code>``</code></p> - title: Code spans - example 331 mdast: type: root children: - type: paragraph children: - type: inlineCode value: ' `` ' myst: | ` `` ` html: |- <p><code> `` </code></p> - title: Code spans - example 332 mdast: type: root children: - type: paragraph children: - type: inlineCode value: ' a' myst: | ` a` html: |- <p><code> a</code></p> - title: Code spans - example 333 mdast: type: root children: - type: paragraph children: - type: inlineCode value: ' b ' myst: | ` b ` html: |- <p><code> b </code></p> - title: Code spans - example 334 mdast: type: root children: - type: paragraph children: - type: inlineCode value: ' ' - type: text value: |+ - type: inlineCode value: ' ' myst: | ` ` ` ` html: |- <p><code> </code> <code> </code></p> - title: Code spans - example 335 mdast: type: root children: - type: paragraph children: - type: inlineCode value: foo bar baz myst: | `` foo bar baz `` html: |- <p><code>foo bar baz</code></p> - title: Code spans - example 336 mdast: type: root children: - type: paragraph children: - type: inlineCode value: 'foo ' myst: | `` foo `` html: |- <p><code>foo </code></p> - title: Code spans - example 337 mdast: type: root children: - type: paragraph children: - type: inlineCode value: foo bar baz myst: | `foo bar baz` html: |- <p><code>foo bar baz</code></p> - title: Code spans - example 338 mdast: type: root children: - type: paragraph children: - type: inlineCode value: foo\ - type: text value: bar` myst: | `foo\`bar` html: |- <p><code>foo\</code>bar`</p> - title: Code spans - example 339 mdast: type: root children: - type: paragraph children: - type: inlineCode value: foo`bar myst: | ``foo`bar`` html: |- <p><code>foo`bar</code></p> - title: Code spans - example 340 mdast: type: root children: - type: paragraph children: - type: inlineCode value: foo `` bar myst: | ` foo `` bar ` html: |- <p><code>foo `` bar</code></p> - title: Code spans - example 341 mdast: type: root children: - type: paragraph children: - type: text value: '*foo' - type: inlineCode value: '*' myst: | *foo`*` html: |- <p>*foo<code>*</code></p> - title: Code spans - example 342 mdast: type: root children: - type: paragraph children: - type: text value: '[not a ' - type: inlineCode value: link](/foo - type: text value: ) myst: | [not a `link](/foo`) html: |- <p>[not a <code>link](/foo</code>)</p> - title: Code spans - example 343 mdast: type: root children: - type: paragraph children: - type: inlineCode value: <a href=" - type: text value: '">`' myst: | `<a href="`">` html: |- <p><code>&lt;a href=&quot;</code>&quot;&gt;`</p> - title: Code spans - example 344 mdast: type: root children: - type: paragraph children: - type: html value: <a href="`"> - type: text value: '`' myst: | <a href="`">` html: |- <p><a href="`">`</p> - title: Code spans - example 345 mdast: type: root children: - type: paragraph children: - type: inlineCode value: <http://foo.bar. - type: text value: baz>` myst: | `<http://foo.bar.`baz>` html: |- <p><code>&lt;http://foo.bar.</code>baz&gt;`</p> - title: Code spans - example 346 mdast: type: root children: - type: paragraph children: - type: link url: http://foo.bar.%60baz children: - type: text value: http://foo.bar.`baz - type: text value: '`' myst: | <http://foo.bar.`baz>` html: |- <p><a href="http://foo.bar.%60baz">http://foo.bar.`baz</a>`</p> - title: Code spans - example 347 mdast: type: root children: - type: paragraph children: - type: text value: '```foo``' myst: | ```foo`` html: |- <p>```foo``</p> - title: Code spans - example 348 mdast: type: root children: - type: paragraph children: - type: text value: '`foo' myst: | `foo html: |- <p>`foo</p> - title: Code spans - example 349 mdast: type: root children: - type: paragraph children: - type: text value: '`foo' - type: inlineCode value: bar myst: | `foo``bar`` html: |- <p>`foo<code>bar</code></p> - title: Emphasis and strong emphasis - example 350 mdast: type: root children: - type: paragraph children: - type: emphasis children: - type: text value: foo bar myst: | *foo bar* html: |- <p><em>foo bar</em></p> - title: Emphasis and strong emphasis - example 351 mdast: type: root children: - type: paragraph children: - type: text value: a * foo bar* myst: | a * foo bar* html: |- <p>a * foo bar*</p> - title: Emphasis and strong emphasis - example 352 mdast: type: root children: - type: paragraph children: - type: text value: a*"foo"* myst: | a*"foo"* html: |- <p>a*&quot;foo&quot;*</p> - title: Emphasis and strong emphasis - example 353 mdast: type: root children: - type: paragraph children: - type: text value: '* a *' myst: | * a * html: |- <p>* a *</p> - title: Emphasis and strong emphasis - example 354 mdast: type: root children: - type: paragraph children: - type: text value: foo - type: emphasis children: - type: text value: bar myst: | foo*bar* html: |- <p>foo<em>bar</em></p> - title: Emphasis and strong emphasis - example 355 mdast: type: root children: - type: paragraph children: - type: text value: '5' - type: emphasis children: - type: text value: '6' - type: text value: '78' myst: | 5*6*78 html: |- <p>5<em>6</em>78</p> - title: Emphasis and strong emphasis - example 356 mdast: type: root children: - type: paragraph children: - type: emphasis children: - type: text value: foo bar myst: | _foo bar_ html: |- <p><em>foo bar</em></p> - title: Emphasis and strong emphasis - example 357 mdast: type: root children: - type: paragraph children: - type: text value: _ foo bar_ myst: | _ foo bar_ html: |- <p>_ foo bar_</p> - title: Emphasis and strong emphasis - example 358 mdast: type: root children: - type: paragraph children: - type: text value: a_"foo"_ myst: | a_"foo"_ html: |- <p>a_&quot;foo&quot;_</p> - title: Emphasis and strong emphasis - example 359 mdast: type: root children: - type: paragraph children: - type: text value: foo_bar_ myst: | foo_bar_ html: |- <p>foo_bar_</p> - title: Emphasis and strong emphasis - example 360 mdast: type: root children: - type: paragraph children: - type: text value: '5_6_78' myst: | 5_6_78 html: |- <p>5_6_78</p> - title: Emphasis and strong emphasis - example 361 mdast: type: root children: - type: paragraph children: - type: text value: пристаням_стремятся_ myst: | пристаням_стремятся_ html: |- <p>пристаням_стремятся_</p> - title: Emphasis and strong emphasis - example 362 mdast: type: root children: - type: paragraph children: - type: text value: aa_"bb"_cc myst: | aa_"bb"_cc html: |- <p>aa_&quot;bb&quot;_cc</p> - title: Emphasis and strong emphasis - example 363 mdast: type: root children: - type: paragraph children: - type: text value: foo- - type: emphasis children: - type: text value: (bar) myst: | foo-_(bar)_ html: |- <p>foo-<em>(bar)</em></p> - title: Emphasis and strong emphasis - example 364 mdast: type: root children: - type: paragraph children: - type: text value: _foo* myst: | _foo* html: |- <p>_foo*</p> - title: Emphasis and strong emphasis - example 365 mdast: type: root children: - type: paragraph children: - type: text value: '*foo bar *' myst: | *foo bar * html: |- <p>*foo bar *</p> - title: Emphasis and strong emphasis - example 366 mdast: type: root children: - type: paragraph children: - type: text value: |- *foo bar * myst: | *foo bar * html: |- <p>*foo bar *</p> - title: Emphasis and strong emphasis - example 367 mdast: type: root children: - type: paragraph children: - type: text value: '*(*foo)' myst: | *(*foo) html: |- <p>*(*foo)</p> - title: Emphasis and strong emphasis - example 368 mdast: type: root children: - type: paragraph children: - type: emphasis children: - type: text value: ( - type: emphasis children: - type: text value: foo - type: text value: ) myst: | *(*foo*)* html: |- <p><em>(<em>foo</em>)</em></p> - title: Emphasis and strong emphasis - example 369 mdast: type: root children: - type: paragraph children: - type: emphasis children: - type: text value: foo - type: text value: bar myst: | *foo*bar html: |- <p><em>foo</em>bar</p> - title: Emphasis and strong emphasis - example 370 mdast: type: root children: - type: paragraph children: - type: text value: _foo bar _ myst: | _foo bar _ html: |- <p>_foo bar _</p> - title: Emphasis and strong emphasis - example 371 mdast: type: root children: - type: paragraph children: - type: text value: _(_foo) myst: | _(_foo) html: |- <p>_(_foo)</p> - title: Emphasis and strong emphasis - example 372 mdast: type: root children: - type: paragraph children: - type: emphasis children: - type: text value: ( - type: emphasis children: - type: text value: foo - type: text value: ) myst: | _(_foo_)_ html: |- <p><em>(<em>foo</em>)</em></p> - title: Emphasis and strong emphasis - example 373 mdast: type: root children: - type: paragraph children: - type: text value: _foo_bar myst: | _foo_bar html: |- <p>_foo_bar</p> - title: Emphasis and strong emphasis - example 374 mdast: type: root children: - type: paragraph children: - type: text value: _пристаням_стремятся myst: | _пристаням_стремятся html: |- <p>_пристаням_стремятся</p> - title: Emphasis and strong emphasis - example 375 mdast: type: root children: - type: paragraph children: - type: emphasis children: - type: text value: foo_bar_baz myst: | _foo_bar_baz_ html: |- <p><em>foo_bar_baz</em></p> - title: Emphasis and strong emphasis - example 376 mdast: type: root children: - type: paragraph children: - type: emphasis children: - type: text value: (bar) - type: text value: . myst: | _(bar)_. html: |- <p><em>(bar)</em>.</p> - title: Emphasis and strong emphasis - example 377 mdast: type: root children: - type: paragraph children: - type: strong children: - type: text value: foo bar myst: | **foo bar** html: |- <p><strong>foo bar</strong></p> - title: Emphasis and strong emphasis - example 378 mdast: type: root children: - type: paragraph children: - type: text value: '** foo bar**' myst: | ** foo bar** html: |- <p>** foo bar**</p> - title: Emphasis and strong emphasis - example 379 mdast: type: root children: - type: paragraph children: - type: text value: a**"foo"** myst: | a**"foo"** html: |- <p>a**&quot;foo&quot;**</p> - title: Emphasis and strong emphasis - example 380 mdast: type: root children: - type: paragraph children: - type: text value: foo - type: strong children: - type: text value: bar myst: | foo**bar** html: |- <p>foo<strong>bar</strong></p> - title: Emphasis and strong emphasis - example 381 mdast: type: root children: - type: paragraph children: - type: strong children: - type: text value: foo bar myst: | __foo bar__ html: |- <p><strong>foo bar</strong></p> - title: Emphasis and strong emphasis - example 382 mdast: type: root children: - type: paragraph children: - type: text value: __ foo bar__ myst: | __ foo bar__ html: |- <p>__ foo bar__</p> - title: Emphasis and strong emphasis - example 383 mdast: type: root children: - type: paragraph children: - type: text value: |- __ foo bar__ myst: | __ foo bar__ html: |- <p>__ foo bar__</p> - title: Emphasis and strong emphasis - example 384 mdast: type: root children: - type: paragraph children: - type: text value: a__"foo"__ myst: | a__"foo"__ html: |- <p>a__&quot;foo&quot;__</p> - title: Emphasis and strong emphasis - example 385 mdast: type: root children: - type: paragraph children: - type: text value: foo__bar__ myst: | foo__bar__ html: |- <p>foo__bar__</p> - title: Emphasis and strong emphasis - example 386 mdast: type: root children: - type: paragraph children: - type: text value: '5__6__78' myst: | 5__6__78 html: |- <p>5__6__78</p> - title: Emphasis and strong emphasis - example 387 mdast: type: root children: - type: paragraph children: - type: text value: пристаням__стремятся__ myst: | пристаням__стремятся__ html: |- <p>пристаням__стремятся__</p> - title: Emphasis and strong emphasis - example 388 mdast: type: root children: - type: paragraph children: - type: strong children: - type: text value: 'foo, ' - type: strong children: - type: text value: bar - type: text value: ', baz' myst: | __foo, __bar__, baz__ html: |- <p><strong>foo, <strong>bar</strong>, baz</strong></p> - title: Emphasis and strong emphasis - example 389 mdast: type: root children: - type: paragraph children: - type: text value: foo- - type: strong children: - type: text value: (bar) myst: | foo-__(bar)__ html: |- <p>foo-<strong>(bar)</strong></p> - title: Emphasis and strong emphasis - example 390 mdast: type: root children: - type: paragraph children: - type: text value: '**foo bar **' myst: | **foo bar ** html: |- <p>**foo bar **</p> - title: Emphasis and strong emphasis - example 391 mdast: type: root children: - type: paragraph children: - type: text value: '**(**foo)' myst: | **(**foo) html: |- <p>**(**foo)</p> - title: Emphasis and strong emphasis - example 392 mdast: type: root children: - type: paragraph children: - type: emphasis children: - type: text value: ( - type: strong children: - type: text value: foo - type: text value: ) myst: | *(**foo**)* html: |- <p><em>(<strong>foo</strong>)</em></p> - title: Emphasis and strong emphasis - example 393 mdast: type: root children: - type: paragraph children: - type: strong children: - type: text value: Gomphocarpus ( - type: emphasis children: - type: text value: Gomphocarpus physocarpus - type: text value: | , syn. - type: emphasis children: - type: text value: Asclepias physocarpa - type: text value: ) myst: | **Gomphocarpus (*Gomphocarpus physocarpus*, syn. *Asclepias physocarpa*)** html: |- <p><strong>Gomphocarpus (<em>Gomphocarpus physocarpus</em>, syn. <em>Asclepias physocarpa</em>)</strong></p> - title: Emphasis and strong emphasis - example 394 mdast: type: root children: - type: paragraph children: - type: strong children: - type: text value: foo " - type: emphasis children: - type: text value: bar - type: text value: '" foo' myst: | **foo "*bar*" foo** html: |- <p><strong>foo &quot;<em>bar</em>&quot; foo</strong></p> - title: Emphasis and strong emphasis - example 395 mdast: type: root children: - type: paragraph children: - type: strong children: - type: text value: foo - type: text value: bar myst: | **foo**bar html: |- <p><strong>foo</strong>bar</p> - title: Emphasis and strong emphasis - example 396 mdast: type: root children: - type: paragraph children: - type: text value: __foo bar __ myst: | __foo bar __ html: |- <p>__foo bar __</p> - title: Emphasis and strong emphasis - example 397 mdast: type: root children: - type: paragraph children: - type: text value: __(__foo) myst: | __(__foo) html: |- <p>__(__foo)</p> - title: Emphasis and strong emphasis - example 398 mdast: type: root children: - type: paragraph children: - type: emphasis children: - type: text value: ( - type: strong children: - type: text value: foo - type: text value: ) myst: | _(__foo__)_ html: |- <p><em>(<strong>foo</strong>)</em></p> - title: Emphasis and strong emphasis - example 399 mdast: type: root children: - type: paragraph children: - type: text value: __foo__bar myst: | __foo__bar html: |- <p>__foo__bar</p> - title: Emphasis and strong emphasis - example 400 mdast: type: root children: - type: paragraph children: - type: text value: __пристаням__стремятся myst: | __пристаням__стремятся html: |- <p>__пристаням__стремятся</p> - title: Emphasis and strong emphasis - example 401 mdast: type: root children: - type: paragraph children: - type: strong children: - type: text value: foo__bar__baz myst: | __foo__bar__baz__ html: |- <p><strong>foo__bar__baz</strong></p> - title: Emphasis and strong emphasis - example 402 mdast: type: root children: - type: paragraph children: - type: strong children: - type: text value: (bar) - type: text value: . myst: | __(bar)__. html: |- <p><strong>(bar)</strong>.</p> - title: Emphasis and strong emphasis - example 403 mdast: type: root children: - type: paragraph children: - type: emphasis children: - type: text value: 'foo ' - type: link url: /url children: - type: text value: bar myst: | *foo [bar](/url)* html: |- <p><em>foo <a href="/url">bar</a></em></p> - title: Emphasis and strong emphasis - example 404 mdast: type: root children: - type: paragraph children: - type: emphasis children: - type: text value: |- foo bar myst: | *foo bar* html: |- <p><em>foo bar</em></p> - title: Emphasis and strong emphasis - example 405 mdast: type: root children: - type: paragraph children: - type: emphasis children: - type: text value: 'foo ' - type: strong children: - type: text value: bar - type: text value: ' baz' myst: | _foo __bar__ baz_ html: |- <p><em>foo <strong>bar</strong> baz</em></p> - title: Emphasis and strong emphasis - example 406 mdast: type: root children: - type: paragraph children: - type: emphasis children: - type: text value: 'foo ' - type: emphasis children: - type: text value: bar - type: text value: ' baz' myst: | _foo _bar_ baz_ html: |- <p><em>foo <em>bar</em> baz</em></p> - title: Emphasis and strong emphasis - example 407 mdast: type: root children: - type: paragraph children: - type: emphasis children: - type: emphasis children: - type: text value: foo - type: text value: ' bar' myst: | __foo_ bar_ html: |- <p><em><em>foo</em> bar</em></p> - title: Emphasis and strong emphasis - example 408 mdast: type: root children: - type: paragraph children: - type: emphasis children: - type: text value: 'foo ' - type: emphasis children: - type: text value: bar myst: | *foo *bar** html: |- <p><em>foo <em>bar</em></em></p> - title: Emphasis and strong emphasis - example 409 mdast: type: root children: - type: paragraph children: - type: emphasis children: - type: text value: 'foo ' - type: strong children: - type: text value: bar - type: text value: ' baz' myst: | *foo **bar** baz* html: |- <p><em>foo <strong>bar</strong> baz</em></p> - title: Emphasis and strong emphasis - example 410 mdast: type: root children: - type: paragraph children: - type: emphasis children: - type: text value: foo - type: strong children: - type: text value: bar - type: text value: baz myst: | *foo**bar**baz* html: |- <p><em>foo<strong>bar</strong>baz</em></p> - title: Emphasis and strong emphasis - example 411 mdast: type: root children: - type: paragraph children: - type: emphasis children: - type: text value: foo**bar myst: | *foo**bar* html: |- <p><em>foo**bar</em></p> - title: Emphasis and strong emphasis - example 412 mdast: type: root children: - type: paragraph children: - type: emphasis children: - type: strong children: - type: text value: foo - type: text value: ' bar' myst: | ***foo** bar* html: |- <p><em><strong>foo</strong> bar</em></p> - title: Emphasis and strong emphasis - example 413 mdast: type: root children: - type: paragraph children: - type: emphasis children: - type: text value: 'foo ' - type: strong children: - type: text value: bar myst: | *foo **bar*** html: |- <p><em>foo <strong>bar</strong></em></p> - title: Emphasis and strong emphasis - example 414 mdast: type: root children: - type: paragraph children: - type: emphasis children: - type: text value: foo - type: strong children: - type: text value: bar myst: | *foo**bar*** html: |- <p><em>foo<strong>bar</strong></em></p> - title: Emphasis and strong emphasis - example 415 mdast: type: root children: - type: paragraph children: - type: text value: foo - type: emphasis children: - type: strong children: - type: text value: bar - type: text value: baz myst: | foo***bar***baz html: |- <p>foo<em><strong>bar</strong></em>baz</p> - title: Emphasis and strong emphasis - example 416 mdast: type: root children: - type: paragraph children: - type: text value: foo - type: strong children: - type: strong children: - type: strong children: - type: text value: bar - type: text value: '***baz' myst: | foo******bar*********baz html: |- <p>foo<strong><strong><strong>bar</strong></strong></strong>***baz</p> - title: Emphasis and strong emphasis - example 417 mdast: type: root children: - type: paragraph children: - type: emphasis children: - type: text value: 'foo ' - type: strong children: - type: text value: 'bar ' - type: emphasis children: - type: text value: baz - type: text value: ' bim' - type: text value: ' bop' myst: | *foo **bar *baz* bim** bop* html: |- <p><em>foo <strong>bar <em>baz</em> bim</strong> bop</em></p> - title: Emphasis and strong emphasis - example 418 mdast: type: root children: - type: paragraph children: - type: emphasis children: - type: text value: 'foo ' - type: link url: /url children: - type: emphasis children: - type: text value: bar myst: | *foo [*bar*](/url)* html: |- <p><em>foo <a href="/url"><em>bar</em></a></em></p> - title: Emphasis and strong emphasis - example 419 mdast: type: root children: - type: paragraph children: - type: text value: '** is not an empty emphasis' myst: | ** is not an empty emphasis html: |- <p>** is not an empty emphasis</p> - title: Emphasis and strong emphasis - example 420 mdast: type: root children: - type: paragraph children: - type: text value: '**** is not an empty strong emphasis' myst: | **** is not an empty strong emphasis html: |- <p>**** is not an empty strong emphasis</p> - title: Emphasis and strong emphasis - example 421 mdast: type: root children: - type: paragraph children: - type: strong children: - type: text value: 'foo ' - type: link url: /url children: - type: text value: bar myst: | **foo [bar](/url)** html: |- <p><strong>foo <a href="/url">bar</a></strong></p> - title: Emphasis and strong emphasis - example 422 mdast: type: root children: - type: paragraph children: - type: strong children: - type: text value: |- foo bar myst: | **foo bar** html: |- <p><strong>foo bar</strong></p> - title: Emphasis and strong emphasis - example 423 mdast: type: root children: - type: paragraph children: - type: strong children: - type: text value: 'foo ' - type: emphasis children: - type: text value: bar - type: text value: ' baz' myst: | __foo _bar_ baz__ html: |- <p><strong>foo <em>bar</em> baz</strong></p> - title: Emphasis and strong emphasis - example 424 mdast: type: root children: - type: paragraph children: - type: strong children: - type: text value: 'foo ' - type: strong children: - type: text value: bar - type: text value: ' baz' myst: | __foo __bar__ baz__ html: |- <p><strong>foo <strong>bar</strong> baz</strong></p> - title: Emphasis and strong emphasis - example 425 mdast: type: root children: - type: paragraph children: - type: strong children: - type: strong children: - type: text value: foo - type: text value: ' bar' myst: | ____foo__ bar__ html: |- <p><strong><strong>foo</strong> bar</strong></p> - title: Emphasis and strong emphasis - example 426 mdast: type: root children: - type: paragraph children: - type: strong children: - type: text value: 'foo ' - type: strong children: - type: text value: bar myst: | **foo **bar**** html: |- <p><strong>foo <strong>bar</strong></strong></p> - title: Emphasis and strong emphasis - example 427 mdast: type: root children: - type: paragraph children: - type: strong children: - type: text value: 'foo ' - type: emphasis children: - type: text value: bar - type: text value: ' baz' myst: | **foo *bar* baz** html: |- <p><strong>foo <em>bar</em> baz</strong></p> - title: Emphasis and strong emphasis - example 428 mdast: type: root children: - type: paragraph children: - type: strong children: - type: text value: foo - type: emphasis children: - type: text value: bar - type: text value: baz myst: | **foo*bar*baz** html: |- <p><strong>foo<em>bar</em>baz</strong></p> - title: Emphasis and strong emphasis - example 429 mdast: type: root children: - type: paragraph children: - type: strong children: - type: emphasis children: - type: text value: foo - type: text value: ' bar' myst: | ***foo* bar** html: |- <p><strong><em>foo</em> bar</strong></p> - title: Emphasis and strong emphasis - example 430 mdast: type: root children: - type: paragraph children: - type: strong children: - type: text value: 'foo ' - type: emphasis children: - type: text value: bar myst: | **foo *bar*** html: |- <p><strong>foo <em>bar</em></strong></p> - title: Emphasis and strong emphasis - example 431 mdast: type: root children: - type: paragraph children: - type: strong children: - type: text value: 'foo ' - type: emphasis children: - type: text value: 'bar ' - type: strong children: - type: text value: baz - type: text value: |- bim - type: text value: ' bop' myst: | **foo *bar **baz** bim* bop** html: |- <p><strong>foo <em>bar <strong>baz</strong> bim</em> bop</strong></p> - title: Emphasis and strong emphasis - example 432 mdast: type: root children: - type: paragraph children: - type: strong children: - type: text value: 'foo ' - type: link url: /url children: - type: emphasis children: - type: text value: bar myst: | **foo [*bar*](/url)** html: |- <p><strong>foo <a href="/url"><em>bar</em></a></strong></p> - title: Emphasis and strong emphasis - example 433 mdast: type: root children: - type: paragraph children: - type: text value: __ is not an empty emphasis myst: | __ is not an empty emphasis html: |- <p>__ is not an empty emphasis</p> - title: Emphasis and strong emphasis - example 434 mdast: type: root children: - type: paragraph children: - type: text value: ____ is not an empty strong emphasis myst: | ____ is not an empty strong emphasis html: |- <p>____ is not an empty strong emphasis</p> - title: Emphasis and strong emphasis - example 435 mdast: type: root children: - type: paragraph children: - type: text value: foo *** myst: | foo *** html: |- <p>foo ***</p> - title: Emphasis and strong emphasis - example 436 mdast: type: root children: - type: paragraph children: - type: text value: 'foo ' - type: emphasis children: - type: text value: '*' myst: | foo *\** html: |- <p>foo <em>*</em></p> - title: Emphasis and strong emphasis - example 437 mdast: type: root children: - type: paragraph children: - type: text value: 'foo ' - type: emphasis children: - type: text value: _ myst: | foo *_* html: |- <p>foo <em>_</em></p> - title: Emphasis and strong emphasis - example 438 mdast: type: root children: - type: paragraph children: - type: text value: foo ***** myst: | foo ***** html: |- <p>foo *****</p> - title: Emphasis and strong emphasis - example 439 mdast: type: root children: - type: paragraph children: - type: text value: 'foo ' - type: strong children: - type: text value: '*' myst: | foo **\*** html: |- <p>foo <strong>*</strong></p> - title: Emphasis and strong emphasis - example 440 mdast: type: root children: - type: paragraph children: - type: text value: 'foo ' - type: strong children: - type: text value: _ myst: | foo **_** html: |- <p>foo <strong>_</strong></p> - title: Emphasis and strong emphasis - example 441 mdast: type: root children: - type: paragraph children: - type: text value: '*' - type: emphasis children: - type: text value: foo myst: | **foo* html: |- <p>*<em>foo</em></p> - title: Emphasis and strong emphasis - example 442 mdast: type: root children: - type: paragraph children: - type: emphasis children: - type: text value: foo - type: text value: '*' myst: | *foo** html: |- <p><em>foo</em>*</p> - title: Emphasis and strong emphasis - example 443 mdast: type: root children: - type: paragraph children: - type: text value: '*' - type: strong children: - type: text value: foo myst: | ***foo** html: |- <p>*<strong>foo</strong></p> - title: Emphasis and strong emphasis - example 444 mdast: type: root children: - type: paragraph children: - type: text value: '***' - type: emphasis children: - type: text value: foo myst: | ****foo* html: |- <p>***<em>foo</em></p> - title: Emphasis and strong emphasis - example 445 mdast: type: root children: - type: paragraph children: - type: strong children: - type: text value: foo - type: text value: '*' myst: | **foo*** html: |- <p><strong>foo</strong>*</p> - title: Emphasis and strong emphasis - example 446 mdast: type: root children: - type: paragraph children: - type: emphasis children: - type: text value: foo - type: text value: '***' myst: | *foo**** html: |- <p><em>foo</em>***</p> - title: Emphasis and strong emphasis - example 447 mdast: type: root children: - type: paragraph children: - type: text value: foo ___ myst: | foo ___ html: |- <p>foo ___</p> - title: Emphasis and strong emphasis - example 448 mdast: type: root children: - type: paragraph children: - type: text value: 'foo ' - type: emphasis children: - type: text value: _ myst: | foo _\__ html: |- <p>foo <em>_</em></p> - title: Emphasis and strong emphasis - example 449 mdast: type: root children: - type: paragraph children: - type: text value: 'foo ' - type: emphasis children: - type: text value: '*' myst: | foo _*_ html: |- <p>foo <em>*</em></p> - title: Emphasis and strong emphasis - example 450 mdast: type: root children: - type: paragraph children: - type: text value: foo _____ myst: | foo _____ html: |- <p>foo _____</p> - title: Emphasis and strong emphasis - example 451 mdast: type: root children: - type: paragraph children: - type: text value: 'foo ' - type: strong children: - type: text value: _ myst: | foo __\___ html: |- <p>foo <strong>_</strong></p> - title: Emphasis and strong emphasis - example 452 mdast: type: root children: - type: paragraph children: - type: text value: 'foo ' - type: strong children: - type: text value: '*' myst: | foo __*__ html: |- <p>foo <strong>*</strong></p> - title: Emphasis and strong emphasis - example 453 mdast: type: root children: - type: paragraph children: - type: text value: _ - type: emphasis children: - type: text value: foo myst: | __foo_ html: |- <p>_<em>foo</em></p> - title: Emphasis and strong emphasis - example 454 mdast: type: root children: - type: paragraph children: - type: emphasis children: - type: text value: foo - type: text value: _ myst: | _foo__ html: |- <p><em>foo</em>_</p> - title: Emphasis and strong emphasis - example 455 mdast: type: root children: - type: paragraph children: - type: text value: _ - type: strong children: - type: text value: foo myst: | ___foo__ html: |- <p>_<strong>foo</strong></p> - title: Emphasis and strong emphasis - example 456 mdast: type: root children: - type: paragraph children: - type: text value: ___ - type: emphasis children: - type: text value: foo myst: | ____foo_ html: |- <p>___<em>foo</em></p> - title: Emphasis and strong emphasis - example 457 mdast: type: root children: - type: paragraph children: - type: strong children: - type: text value: foo - type: text value: _ myst: | __foo___ html: |- <p><strong>foo</strong>_</p> - title: Emphasis and strong emphasis - example 458 mdast: type: root children: - type: paragraph children: - type: emphasis children: - type: text value: foo - type: text value: ___ myst: | _foo____ html: |- <p><em>foo</em>___</p> - title: Emphasis and strong emphasis - example 459 mdast: type: root children: - type: paragraph children: - type: strong children: - type: text value: foo myst: | **foo** html: |- <p><strong>foo</strong></p> - title: Emphasis and strong emphasis - example 460 mdast: type: root children: - type: paragraph children: - type: emphasis children: - type: emphasis children: - type: text value: foo myst: | *_foo_* html: |- <p><em><em>foo</em></em></p> - title: Emphasis and strong emphasis - example 461 mdast: type: root children: - type: paragraph children: - type: strong children: - type: text value: foo myst: | __foo__ html: |- <p><strong>foo</strong></p> - title: Emphasis and strong emphasis - example 462 mdast: type: root children: - type: paragraph children: - type: emphasis children: - type: emphasis children: - type: text value: foo myst: | _*foo*_ html: |- <p><em><em>foo</em></em></p> - title: Emphasis and strong emphasis - example 463 mdast: type: root children: - type: paragraph children: - type: strong children: - type: strong children: - type: text value: foo myst: | ****foo**** html: |- <p><strong><strong>foo</strong></strong></p> - title: Emphasis and strong emphasis - example 464 mdast: type: root children: - type: paragraph children: - type: strong children: - type: strong children: - type: text value: foo myst: | ____foo____ html: |- <p><strong><strong>foo</strong></strong></p> - title: Emphasis and strong emphasis - example 465 mdast: type: root children: - type: paragraph children: - type: strong children: - type: strong children: - type: strong children: - type: text value: foo myst: | ******foo****** html: |- <p><strong><strong><strong>foo</strong></strong></strong></p> - title: Emphasis and strong emphasis - example 466 mdast: type: root children: - type: paragraph children: - type: emphasis children: - type: strong children: - type: text value: foo myst: | ***foo*** html: |- <p><em><strong>foo</strong></em></p> - title: Emphasis and strong emphasis - example 467 mdast: type: root children: - type: paragraph children: - type: emphasis children: - type: strong children: - type: strong children: - type: text value: foo myst: | _____foo_____ html: |- <p><em><strong><strong>foo</strong></strong></em></p> - title: Emphasis and strong emphasis - example 468 mdast: type: root children: - type: paragraph children: - type: emphasis children: - type: text value: foo _bar - type: text value: ' baz_' myst: | *foo _bar* baz_ html: |- <p><em>foo _bar</em> baz_</p> - title: Emphasis and strong emphasis - example 469 mdast: type: root children: - type: paragraph children: - type: emphasis children: - type: text value: 'foo ' - type: strong children: - type: text value: bar *baz bim - type: text value: ' bam' myst: | *foo __bar *baz bim__ bam* html: |- <p><em>foo <strong>bar *baz bim</strong> bam</em></p> - title: Emphasis and strong emphasis - example 470 mdast: type: root children: - type: paragraph children: - type: text value: '**foo ' - type: strong children: - type: text value: bar baz myst: | **foo **bar baz** html: |- <p>**foo <strong>bar baz</strong></p> - title: Emphasis and strong emphasis - example 471 mdast: type: root children: - type: paragraph children: - type: text value: '*foo ' - type: emphasis children: - type: text value: bar baz myst: | *foo *bar baz* html: |- <p>*foo <em>bar baz</em></p> - title: Emphasis and strong emphasis - example 472 mdast: type: root children: - type: paragraph children: - type: text value: '*' - type: link url: /url children: - type: text value: bar* myst: | *[bar*](/url) html: |- <p>*<a href="/url">bar*</a></p> - title: Emphasis and strong emphasis - example 473 mdast: type: root children: - type: paragraph children: - type: text value: '_foo ' - type: link url: /url children: - type: text value: bar_ myst: | _foo [bar_](/url) html: |- <p>_foo <a href="/url">bar_</a></p> - title: Emphasis and strong emphasis - example 474 mdast: type: root children: - type: paragraph children: - type: text value: '*' - type: html value: <img src="foo" title="*"/> myst: | *<img src="foo" title="*"/> html: |- <p>*<img src="foo" title="*"/></p> - title: Emphasis and strong emphasis - example 475 mdast: type: root children: - type: paragraph children: - type: text value: '**' - type: html value: <a href="**"> myst: | **<a href="**"> html: |- <p>**<a href="**"></p> - title: Emphasis and strong emphasis - example 476 mdast: type: root children: - type: paragraph children: - type: text value: __ - type: html value: <a href="__"> myst: | __<a href="__"> html: |- <p>__<a href="__"></p> - title: Emphasis and strong emphasis - example 477 mdast: type: root children: - type: paragraph children: - type: emphasis children: - type: text value: 'a ' - type: inlineCode value: '*' myst: | *a `*`* html: |- <p><em>a <code>*</code></em></p> - title: Emphasis and strong emphasis - example 478 mdast: type: root children: - type: paragraph children: - type: emphasis children: - type: text value: 'a ' - type: inlineCode value: _ myst: | _a `_`_ html: |- <p><em>a <code>_</code></em></p> - title: Emphasis and strong emphasis - example 479 mdast: type: root children: - type: paragraph children: - type: text value: '**a' - type: link url: http://foo.bar/?q=** children: - type: text value: http://foo.bar/?q=** myst: | **a<http://foo.bar/?q=**> html: |- <p>**a<a href="http://foo.bar/?q=**">http://foo.bar/?q=**</a></p> - title: Emphasis and strong emphasis - example 480 mdast: type: root children: - type: paragraph children: - type: text value: __a - type: link url: http://foo.bar/?q=__ children: - type: text value: http://foo.bar/?q=__ myst: | __a<http://foo.bar/?q=__> html: |- <p>__a<a href="http://foo.bar/?q=__">http://foo.bar/?q=__</a></p> - title: Links - example 481 mdast: type: root children: - type: paragraph children: - type: link url: /uri title: title children: - type: text value: link myst: | [link](/uri "title") html: |- <p><a href="/uri" title="title">link</a></p> - title: Links - example 482 mdast: type: root children: - type: paragraph children: - type: link url: /uri children: - type: text value: link myst: | [link](/uri) html: |- <p><a href="/uri">link</a></p> - title: Links - example 483 mdast: type: root children: - type: paragraph children: - type: link url: ./target.md children: [] myst: | [](./target.md) html: |- <p><a href="./target.md"></a></p> - title: Links - example 484 mdast: type: root children: - type: paragraph children: - type: link url: '' children: - type: text value: link myst: | [link]() html: |- <p><a href="">link</a></p> - title: Links - example 485 mdast: type: root children: - type: paragraph children: - type: link url: '' children: - type: text value: link myst: | [link](<>) html: |- <p><a href="">link</a></p> - title: Links - example 486 mdast: type: root children: - type: paragraph children: - type: link url: '' children: [] myst: | []() html: |- <p><a href=""></a></p> - title: Links - example 487 mdast: type: root children: - type: paragraph children: - type: text value: '[link](/my uri)' myst: | [link](/my uri) html: |- <p>[link](/my uri)</p> - title: Links - example 488 mdast: type: root children: - type: paragraph children: - type: link url: /my%20uri children: - type: text value: link myst: | [link](</my uri>) html: |- <p><a href="/my%20uri">link</a></p> - title: Links - example 489 mdast: type: root children: - type: paragraph children: - type: text value: |- [link](foo bar) myst: | [link](foo bar) html: |- <p>[link](foo bar)</p> - title: Links - example 490 mdast: type: root children: - type: paragraph children: - type: text value: '[link](' - type: html value: |- <foo bar> - type: text value: ) myst: | [link](<foo bar>) html: |- <p>[link](<foo bar>)</p> - title: Links - example 491 mdast: type: root children: - type: paragraph children: - type: link url: b)c children: - type: text value: a myst: | [a](<b)c>) html: |- <p><a href="b)c">a</a></p> - title: Links - example 492 mdast: type: root children: - type: paragraph children: - type: text value: '[link](<foo>)' myst: | [link](<foo\>) html: |- <p>[link](&lt;foo&gt;)</p> - title: Links - example 493 mdast: type: root children: - type: paragraph children: - type: text value: |- [a](<b)c [a](<b)c> [a]( - type: html value: <b> - type: text value: c) myst: | [a](<b)c [a](<b)c> [a](<b>c) html: |- <p>[a](&lt;b)c [a](&lt;b)c&gt; [a](<b>c)</p> - title: Links - example 494 mdast: type: root children: - type: paragraph children: - type: link url: (foo) children: - type: text value: link myst: | [link](\(foo\)) html: |- <p><a href="(foo)">link</a></p> - title: Links - example 495 mdast: type: root children: - type: paragraph children: - type: link url: foo(and(bar)) children: - type: text value: link myst: | [link](foo(and(bar))) html: |- <p><a href="foo(and(bar))">link</a></p> - title: Links - example 496 mdast: type: root children: - type: paragraph children: - type: text value: '[link](foo(and(bar))' myst: | [link](foo(and(bar)) html: |- <p>[link](foo(and(bar))</p> - title: Links - example 497 mdast: type: root children: - type: paragraph children: - type: link url: foo(and(bar) children: - type: text value: link myst: | [link](foo\(and\(bar\)) html: |- <p><a href="foo(and(bar)">link</a></p> - title: Links - example 498 mdast: type: root children: - type: paragraph children: - type: link url: foo(and(bar) children: - type: text value: link myst: | [link](<foo(and(bar)>) html: |- <p><a href="foo(and(bar)">link</a></p> - title: Links - example 499 mdast: type: root children: - type: paragraph children: - type: link url: 'foo):' children: - type: text value: link myst: | [link](foo\)\:) html: |- <p><a href="foo):">link</a></p> - title: Links - example 500 mdast: type: root children: - type: paragraph children: - type: link url: '#fragment' children: - type: text value: link - type: paragraph children: - type: link url: http://example.com#fragment children: - type: text value: link - type: paragraph children: - type: link url: http://example.com?foo=3#frag children: - type: text value: link myst: | [link](#fragment) [link](http://example.com#fragment) [link](http://example.com?foo=3#frag) html: |- <p><a href="#fragment">link</a></p> <p><a href="http://example.com#fragment">link</a></p> <p><a href="http://example.com?foo=3#frag">link</a></p> - title: Links - example 501 mdast: type: root children: - type: paragraph children: - type: link url: foo%5Cbar children: - type: text value: link myst: | [link](foo\bar) html: |- <p><a href="foo%5Cbar">link</a></p> - title: Links - example 502 mdast: type: root children: - type: paragraph children: - type: link url: foo%20b%C3%A4 children: - type: text value: link myst: | [link](foo%20b&auml;) html: |- <p><a href="foo%20b%C3%A4">link</a></p> - title: Links - example 503 mdast: type: root children: - type: paragraph children: - type: link url: '%22title%22' children: - type: text value: link myst: | [link]("title") html: |- <p><a href="%22title%22">link</a></p> - title: Links - example 504 mdast: type: root children: - type: paragraph children: - type: link url: /url title: title children: - type: text value: link - type: text value: |+ - type: link url: /url title: title children: - type: text value: link - type: text value: |+ - type: link url: /url title: title children: - type: text value: link myst: | [link](/url "title") [link](/url 'title') [link](/url (title)) html: |- <p><a href="/url" title="title">link</a> <a href="/url" title="title">link</a> <a href="/url" title="title">link</a></p> - title: Links - example 505 mdast: type: root children: - type: paragraph children: - type: link url: /url title: title "" children: - type: text value: link myst: | [link](/url "title \"&quot;") html: |- <p><a href="/url" title="title &quot;&quot;">link</a></p> - title: Links - example 506 mdast: type: root children: - type: paragraph children: - type: link url: "/url\u00A0\"title\"" children: - type: text value: link myst: | [link](/url "title") html: |- <p><a href="/url%C2%A0%22title%22">link</a></p> - title: Links - example 507 mdast: type: root children: - type: paragraph children: - type: text value: '[link](/url "title "and" title")' myst: | [link](/url "title "and" title") html: |- <p>[link](/url &quot;title &quot;and&quot; title&quot;)</p> - title: Links - example 508 mdast: type: root children: - type: paragraph children: - type: link url: /url title: title "and" title children: - type: text value: link myst: | [link](/url 'title "and" title') html: |- <p><a href="/url" title="title &quot;and&quot; title">link</a></p> - title: Links - example 509 mdast: type: root children: - type: paragraph children: - type: link url: /uri title: title children: - type: text value: link myst: | [link]( /uri "title" ) html: |- <p><a href="/uri" title="title">link</a></p> - title: Links - example 510 mdast: type: root children: - type: paragraph children: - type: text value: '[link] (/uri)' myst: | [link] (/uri) html: |- <p>[link] (/uri)</p> - title: Links - example 511 mdast: type: root children: - type: paragraph children: - type: link url: /uri children: - type: text value: link [foo [bar]] myst: | [link [foo [bar]]](/uri) html: |- <p><a href="/uri">link [foo [bar]]</a></p> - title: Links - example 512 mdast: type: root children: - type: paragraph children: - type: text value: '[link] bar](/uri)' myst: | [link] bar](/uri) html: |- <p>[link] bar](/uri)</p> - title: Links - example 513 mdast: type: root children: - type: paragraph children: - type: text value: '[link ' - type: link url: /uri children: - type: text value: bar myst: | [link [bar](/uri) html: |- <p>[link <a href="/uri">bar</a></p> - title: Links - example 514 mdast: type: root children: - type: paragraph children: - type: link url: /uri children: - type: text value: link [bar myst: | [link \[bar](/uri) html: |- <p><a href="/uri">link [bar</a></p> - title: Links - example 515 mdast: type: root children: - type: paragraph children: - type: link url: /uri children: - type: text value: 'link ' - type: emphasis children: - type: text value: 'foo ' - type: strong children: - type: text value: bar - type: text value: ' ' - type: inlineCode value: '#' myst: | [link *foo **bar** `#`*](/uri) html: > <p><a href="/uri">link <em>foo <strong>bar</strong> <code>#</code></em></a></p> - title: Links - example 516 mdast: type: root children: - type: paragraph children: - type: link url: /uri children: - type: image url: moon.jpg alt: moon myst: | [![moon](moon.jpg)](/uri) html: |- <p><a href="/uri"><img src="moon.jpg" alt="moon" /></a></p> - title: Links - example 517 mdast: type: root children: - type: paragraph children: - type: text value: '[foo ' - type: link url: /uri children: - type: text value: bar - type: text value: '](/uri)' myst: | [foo [bar](/uri)](/uri) html: |- <p>[foo <a href="/uri">bar</a>](/uri)</p> - title: Links - example 518 mdast: type: root children: - type: paragraph children: - type: text value: '[foo ' - type: emphasis children: - type: text value: '[bar ' - type: link url: /uri children: - type: text value: baz - type: text value: '](/uri)' - type: text value: '](/uri)' myst: | [foo *[bar [baz](/uri)](/uri)*](/uri) html: |- <p>[foo <em>[bar <a href="/uri">baz</a>](/uri)</em>](/uri)</p> - title: Links - example 519 mdast: type: root children: - type: paragraph children: - type: image url: uri3 alt: '[foo](uri2)' myst: | ![[[foo](uri1)](uri2)](uri3) html: |- <p><img src="uri3" alt="[foo](uri2)" /></p> - title: Links - example 520 mdast: type: root children: - type: paragraph children: - type: text value: '*' - type: link url: /uri children: - type: text value: foo* myst: | *[foo*](/uri) html: |- <p>*<a href="/uri">foo*</a></p> - title: Links - example 521 mdast: type: root children: - type: paragraph children: - type: link url: baz* children: - type: text value: foo *bar myst: | [foo *bar](baz*) html: |- <p><a href="baz*">foo *bar</a></p> - title: Links - example 522 mdast: type: root children: - type: paragraph children: - type: emphasis children: - type: text value: foo [bar - type: text value: ' baz]' myst: | *foo [bar* baz] html: |- <p><em>foo [bar</em> baz]</p> - title: Links - example 523 mdast: type: root children: - type: paragraph children: - type: text value: '[foo ' - type: html value: <bar attr="](baz)"> myst: | [foo <bar attr="](baz)"> html: |- <p>[foo <bar attr="](baz)"></p> - title: Links - example 524 mdast: type: root children: - type: paragraph children: - type: text value: '[foo' - type: inlineCode value: '](/uri)' myst: | [foo`](/uri)` html: |- <p>[foo<code>](/uri)</code></p> - title: Links - example 525 mdast: type: root children: - type: paragraph children: - type: text value: '[foo' - type: link url: http://example.com/?search=%5D(uri) children: - type: text value: http://example.com/?search=](uri) myst: | [foo<http://example.com/?search=](uri)> html: > <p>[foo<a href="http://example.com/?search=%5D(uri)">http://example.com/?search=](uri)</a></p> - title: Links - example 526 mdast: type: root children: - type: paragraph children: - type: link url: /url title: title children: - type: text value: foo myst: | [foo][bar] [bar]: /url "title" html: |- <p><a href="/url" title="title">foo</a></p> - title: Links - example 527 mdast: type: root children: - type: paragraph children: - type: link url: /uri children: - type: text value: link [foo [bar]] myst: | [link [foo [bar]]][ref] [ref]: /uri html: |- <p><a href="/uri">link [foo [bar]]</a></p> - title: Links - example 528 mdast: type: root children: - type: paragraph children: - type: link url: /uri children: - type: text value: link [bar myst: | [link \[bar][ref] [ref]: /uri html: |- <p><a href="/uri">link [bar</a></p> - title: Links - example 529 mdast: type: root children: - type: paragraph children: - type: link url: /uri children: - type: text value: 'link ' - type: emphasis children: - type: text value: 'foo ' - type: strong children: - type: text value: bar - type: text value: ' ' - type: inlineCode value: '#' myst: | [link *foo **bar** `#`*][ref] [ref]: /uri html: > <p><a href="/uri">link <em>foo <strong>bar</strong> <code>#</code></em></a></p> - title: Links - example 530 mdast: type: root children: - type: paragraph children: - type: link url: /uri children: - type: image url: moon.jpg alt: moon myst: | [![moon](moon.jpg)][ref] [ref]: /uri html: |- <p><a href="/uri"><img src="moon.jpg" alt="moon" /></a></p> - title: Links - example 531 mdast: type: root children: - type: paragraph children: - type: text value: '[foo ' - type: link url: /uri children: - type: text value: bar - type: text value: ']' - type: link url: /uri children: - type: text value: ref myst: | [foo [bar](/uri)][ref] [ref]: /uri html: |- <p>[foo <a href="/uri">bar</a>]<a href="/uri">ref</a></p> - title: Links - example 532 mdast: type: root children: - type: paragraph children: - type: text value: '[foo ' - type: emphasis children: - type: text value: 'bar ' - type: link url: /uri children: - type: text value: baz - type: text value: ']' - type: link url: /uri children: - type: text value: ref myst: | [foo *bar [baz][ref]*][ref] [ref]: /uri html: |- <p>[foo <em>bar <a href="/uri">baz</a></em>]<a href="/uri">ref</a></p> - title: Links - example 533 mdast: type: root children: - type: paragraph children: - type: text value: '*' - type: link url: /uri children: - type: text value: foo* myst: | *[foo*][ref] [ref]: /uri html: |- <p>*<a href="/uri">foo*</a></p> - title: Links - example 534 mdast: type: root children: - type: paragraph children: - type: link url: /uri children: - type: text value: foo *bar - type: text value: '*' myst: | [foo *bar][ref]* [ref]: /uri html: |- <p><a href="/uri">foo *bar</a>*</p> - title: Links - example 535 mdast: type: root children: - type: paragraph children: - type: text value: '[foo ' - type: html value: <bar attr="][ref]"> myst: | [foo <bar attr="][ref]"> [ref]: /uri html: |- <p>[foo <bar attr="][ref]"></p> - title: Links - example 536 mdast: type: root children: - type: paragraph children: - type: text value: '[foo' - type: inlineCode value: '][ref]' myst: | [foo`][ref]` [ref]: /uri html: |- <p>[foo<code>][ref]</code></p> - title: Links - example 537 mdast: type: root children: - type: paragraph children: - type: text value: '[foo' - type: link url: http://example.com/?search=%5D%5Bref%5D children: - type: text value: http://example.com/?search=][ref] myst: | [foo<http://example.com/?search=][ref]> [ref]: /uri html: > <p>[foo<a href="http://example.com/?search=%5D%5Bref%5D">http://example.com/?search=][ref]</a></p> - title: Links - example 538 mdast: type: root children: - type: paragraph children: - type: link url: /url title: title children: - type: text value: foo myst: | [foo][BaR] [bar]: /url "title" html: |- <p><a href="/url" title="title">foo</a></p> - title: Links - example 539 mdast: type: root children: - type: paragraph children: - type: link url: /url children: - type: text value: myst: | [ẞ] [SS]: /url html: |- <p><a href="/url">ẞ</a></p> - title: Links - example 540 mdast: type: root children: - type: paragraph children: - type: link url: /url children: - type: text value: Baz myst: | [Foo bar]: /url [Baz][Foo bar] html: |- <p><a href="/url">Baz</a></p> - title: Links - example 541 mdast: type: root children: - type: paragraph children: - type: text value: '[foo] ' - type: link url: /url title: title children: - type: text value: bar myst: | [foo] [bar] [bar]: /url "title" html: |- <p>[foo] <a href="/url" title="title">bar</a></p> - title: Links - example 542 mdast: type: root children: - type: paragraph children: - type: text value: | [foo] - type: link url: /url title: title children: - type: text value: bar myst: | [foo] [bar] [bar]: /url "title" html: |- <p>[foo] <a href="/url" title="title">bar</a></p> - title: Links - example 543 mdast: type: root children: - type: paragraph children: - type: link url: /url1 children: - type: text value: bar myst: | [foo]: /url1 [foo]: /url2 [bar][foo] html: |- <p><a href="/url1">bar</a></p> - title: Links - example 544 mdast: type: root children: - type: paragraph children: - type: text value: '[bar][foo!]' myst: | [bar][foo\!] [foo!]: /url html: |- <p>[bar][foo!]</p> - title: Links - example 545 mdast: type: root children: - type: paragraph children: - type: text value: '[foo][ref[]' - type: paragraph children: - type: text value: '[ref[]: /uri' myst: | [foo][ref[] [ref[]: /uri html: |- <p>[foo][ref[]</p> <p>[ref[]: /uri</p> - title: Links - example 546 mdast: type: root children: - type: paragraph children: - type: text value: '[foo][ref[bar]]' - type: paragraph children: - type: text value: '[ref[bar]]: /uri' myst: | [foo][ref[bar]] [ref[bar]]: /uri html: |- <p>[foo][ref[bar]]</p> <p>[ref[bar]]: /uri</p> - title: Links - example 547 mdast: type: root children: - type: paragraph children: - type: text value: '[[[foo]]]' - type: paragraph children: - type: text value: '[[[foo]]]: /url' myst: | [[[foo]]] [[[foo]]]: /url html: |- <p>[[[foo]]]</p> <p>[[[foo]]]: /url</p> - title: Links - example 548 mdast: type: root children: - type: paragraph children: - type: link url: /uri children: - type: text value: foo myst: | [foo][ref\[] [ref\[]: /uri html: |- <p><a href="/uri">foo</a></p> - title: Links - example 549 mdast: type: root children: - type: paragraph children: - type: link url: /uri children: - type: text value: bar\ myst: | [bar\\]: /uri [bar\\] html: |- <p><a href="/uri">bar\</a></p> - title: Links - example 550 mdast: type: root children: - type: paragraph children: - type: text value: '[]' - type: paragraph children: - type: text value: '[]: /uri' myst: | [] []: /uri html: |- <p>[]</p> <p>[]: /uri</p> - title: Links - example 551 mdast: type: root children: - type: paragraph children: - type: text value: |- [ ] - type: paragraph children: - type: text value: |- [ ]: /uri myst: | [ ] [ ]: /uri html: |- <p>[ ]</p> <p>[ ]: /uri</p> - title: Links - example 552 mdast: type: root children: - type: paragraph children: - type: link url: /url title: title children: - type: text value: foo myst: | [foo][] [foo]: /url "title" html: |- <p><a href="/url" title="title">foo</a></p> - title: Links - example 553 mdast: type: root children: - type: paragraph children: - type: link url: /url title: title children: - type: emphasis children: - type: text value: foo - type: text value: ' bar' myst: | [*foo* bar][] [*foo* bar]: /url "title" html: |- <p><a href="/url" title="title"><em>foo</em> bar</a></p> - title: Links - example 554 mdast: type: root children: - type: paragraph children: - type: link url: /url title: title children: - type: text value: Foo myst: | [Foo][] [foo]: /url "title" html: |- <p><a href="/url" title="title">Foo</a></p> - title: Links - example 555 mdast: type: root children: - type: paragraph children: - type: link url: /url title: title children: - type: text value: foo - type: text value: |- [] myst: | [foo] [] [foo]: /url "title" html: |- <p><a href="/url" title="title">foo</a> []</p> - title: Links - example 556 mdast: type: root children: - type: paragraph children: - type: link url: /url title: title children: - type: text value: foo myst: | [foo] [foo]: /url "title" html: |- <p><a href="/url" title="title">foo</a></p> - title: Links - example 557 mdast: type: root children: - type: paragraph children: - type: link url: /url title: title children: - type: emphasis children: - type: text value: foo - type: text value: ' bar' myst: | [*foo* bar] [*foo* bar]: /url "title" html: |- <p><a href="/url" title="title"><em>foo</em> bar</a></p> - title: Links - example 558 mdast: type: root children: - type: paragraph children: - type: text value: '[' - type: link url: /url title: title children: - type: emphasis children: - type: text value: foo - type: text value: ' bar' - type: text value: ']' myst: | [[*foo* bar]] [*foo* bar]: /url "title" html: |- <p>[<a href="/url" title="title"><em>foo</em> bar</a>]</p> - title: Links - example 559 mdast: type: root children: - type: paragraph children: - type: text value: '[[bar ' - type: link url: /url children: - type: text value: foo myst: | [[bar [foo] [foo]: /url html: |- <p>[[bar <a href="/url">foo</a></p> - title: Links - example 560 mdast: type: root children: - type: paragraph children: - type: link url: /url title: title children: - type: text value: Foo myst: | [Foo] [foo]: /url "title" html: |- <p><a href="/url" title="title">Foo</a></p> - title: Links - example 561 mdast: type: root children: - type: paragraph children: - type: link url: /url children: - type: text value: foo - type: text value: ' bar' myst: | [foo] bar [foo]: /url html: |- <p><a href="/url">foo</a> bar</p> - title: Links - example 562 mdast: type: root children: - type: paragraph children: - type: text value: '[foo]' myst: | \[foo] [foo]: /url "title" html: |- <p>[foo]</p> - title: Links - example 563 mdast: type: root children: - type: paragraph children: - type: text value: '*' - type: link url: /url children: - type: text value: foo* myst: | [foo*]: /url *[foo*] html: |- <p>*<a href="/url">foo*</a></p> - title: Links - example 564 mdast: type: root children: - type: paragraph children: - type: link url: /url2 children: - type: text value: foo myst: | [foo][bar] [foo]: /url1 [bar]: /url2 html: |- <p><a href="/url2">foo</a></p> - title: Links - example 565 mdast: type: root children: - type: paragraph children: - type: link url: /url1 children: - type: text value: foo myst: | [foo][] [foo]: /url1 html: |- <p><a href="/url1">foo</a></p> - title: Links - example 566 mdast: type: root children: - type: paragraph children: - type: link url: '' children: - type: text value: foo myst: | [foo]() [foo]: /url1 html: |- <p><a href="">foo</a></p> - title: Links - example 567 mdast: type: root children: - type: paragraph children: - type: link url: /url1 children: - type: text value: foo - type: text value: (not a link) myst: | [foo](not a link) [foo]: /url1 html: |- <p><a href="/url1">foo</a>(not a link)</p> - title: Links - example 568 mdast: type: root children: - type: paragraph children: - type: text value: '[foo]' - type: link url: /url children: - type: text value: bar myst: | [foo][bar][baz] [baz]: /url html: |- <p>[foo]<a href="/url">bar</a></p> - title: Links - example 569 mdast: type: root children: - type: paragraph children: - type: link url: /url2 children: - type: text value: foo - type: link url: /url1 children: - type: text value: baz myst: | [foo][bar][baz] [baz]: /url1 [bar]: /url2 html: |- <p><a href="/url2">foo</a><a href="/url1">baz</a></p> - title: Links - example 570 mdast: type: root children: - type: paragraph children: - type: text value: '[foo]' - type: link url: /url1 children: - type: text value: bar myst: | [foo][bar][baz] [baz]: /url1 [foo]: /url2 html: |- <p>[foo]<a href="/url1">bar</a></p> - title: Images - example 571 mdast: type: root children: - type: paragraph children: - type: image url: /url alt: foo title: title myst: | ![foo](/url "title") html: |- <p><img src="/url" alt="foo" title="title" /></p> - title: Images - example 572 mdast: type: root children: - type: paragraph children: - type: image url: train.jpg alt: foo bar title: train & tracks myst: | ![foo *bar*] [foo *bar*]: train.jpg "train & tracks" html: |- <p><img src="train.jpg" alt="foo bar" title="train &amp; tracks" /></p> - title: Images - example 573 mdast: type: root children: - type: paragraph children: - type: image url: /url2 alt: foo bar myst: | ![foo ![bar](/url)](/url2) html: |- <p><img src="/url2" alt="foo bar" /></p> - title: Images - example 574 mdast: type: root children: - type: paragraph children: - type: image url: /url2 alt: foo bar myst: | ![foo [bar](/url)](/url2) html: |- <p><img src="/url2" alt="foo bar" /></p> - title: Images - example 575 mdast: type: root children: - type: paragraph children: - type: image url: train.jpg alt: foo bar title: train & tracks myst: | ![foo *bar*][] [foo *bar*]: train.jpg "train & tracks" html: |- <p><img src="train.jpg" alt="foo bar" title="train &amp; tracks" /></p> - title: Images - example 576 mdast: type: root children: - type: paragraph children: - type: image url: train.jpg alt: foo bar title: train & tracks myst: | ![foo *bar*][foobar] [FOOBAR]: train.jpg "train & tracks" html: |- <p><img src="train.jpg" alt="foo bar" title="train &amp; tracks" /></p> - title: Images - example 577 mdast: type: root children: - type: paragraph children: - type: image url: train.jpg alt: foo myst: | ![foo](train.jpg) html: |- <p><img src="train.jpg" alt="foo" /></p> - title: Images - example 578 mdast: type: root children: - type: paragraph children: - type: text value: 'My ' - type: image url: /path/to/train.jpg alt: foo bar title: title myst: | My ![foo bar](/path/to/train.jpg "title" ) html: |- <p>My <img src="/path/to/train.jpg" alt="foo bar" title="title" /></p> - title: Images - example 579 mdast: type: root children: - type: paragraph children: - type: image url: url alt: foo myst: | ![foo](<url>) html: |- <p><img src="url" alt="foo" /></p> - title: Images - example 580 mdast: type: root children: - type: paragraph children: - type: image url: /url myst: | ![](/url) html: |- <p><img src="/url" alt="" /></p> - title: Images - example 581 mdast: type: root children: - type: paragraph children: - type: image url: /url alt: foo myst: | ![foo][bar] [bar]: /url html: |- <p><img src="/url" alt="foo" /></p> - title: Images - example 582 mdast: type: root children: - type: paragraph children: - type: image url: /url alt: foo myst: | ![foo][bar] [BAR]: /url html: |- <p><img src="/url" alt="foo" /></p> - title: Images - example 583 mdast: type: root children: - type: paragraph children: - type: image url: /url alt: foo title: title myst: | ![foo][] [foo]: /url "title" html: |- <p><img src="/url" alt="foo" title="title" /></p> - title: Images - example 584 mdast: type: root children: - type: paragraph children: - type: image url: /url alt: foo bar title: title myst: | ![*foo* bar][] [*foo* bar]: /url "title" html: |- <p><img src="/url" alt="foo bar" title="title" /></p> - title: Images - example 585 mdast: type: root children: - type: paragraph children: - type: image url: /url alt: Foo title: title myst: | ![Foo][] [foo]: /url "title" html: |- <p><img src="/url" alt="Foo" title="title" /></p> - title: Images - example 586 mdast: type: root children: - type: paragraph children: - type: image url: /url alt: foo title: title - type: text value: |- [] myst: | ![foo] [] [foo]: /url "title" html: |- <p><img src="/url" alt="foo" title="title" /> []</p> - title: Images - example 587 mdast: type: root children: - type: paragraph children: - type: image url: /url alt: foo title: title myst: | ![foo] [foo]: /url "title" html: |- <p><img src="/url" alt="foo" title="title" /></p> - title: Images - example 588 mdast: type: root children: - type: paragraph children: - type: image url: /url alt: foo bar title: title myst: | ![*foo* bar] [*foo* bar]: /url "title" html: |- <p><img src="/url" alt="foo bar" title="title" /></p> - title: Images - example 589 mdast: type: root children: - type: paragraph children: - type: text value: '![[foo]]' - type: paragraph children: - type: text value: '[[foo]]: /url "title"' myst: | ![[foo]] [[foo]]: /url "title" html: |- <p>![[foo]]</p> <p>[[foo]]: /url &quot;title&quot;</p> - title: Images - example 590 mdast: type: root children: - type: paragraph children: - type: image url: /url alt: Foo title: title myst: | ![Foo] [foo]: /url "title" html: |- <p><img src="/url" alt="Foo" title="title" /></p> - title: Images - example 591 mdast: type: root children: - type: paragraph children: - type: text value: '![foo]' myst: | !\[foo] [foo]: /url "title" html: |- <p>![foo]</p> - title: Images - example 592 mdast: type: root children: - type: paragraph children: - type: text value: '!' - type: link url: /url title: title children: - type: text value: foo myst: | \![foo] [foo]: /url "title" html: |- <p>!<a href="/url" title="title">foo</a></p> - title: Autolinks - example 593 mdast: type: root children: - type: paragraph children: - type: link url: http://foo.bar.baz children: - type: text value: http://foo.bar.baz myst: | <http://foo.bar.baz> html: |- <p><a href="http://foo.bar.baz">http://foo.bar.baz</a></p> - title: Autolinks - example 594 mdast: type: root children: - type: paragraph children: - type: link url: http://foo.bar.baz/test?q=hello&id=22&boolean children: - type: text value: http://foo.bar.baz/test?q=hello&id=22&boolean myst: | <http://foo.bar.baz/test?q=hello&id=22&boolean> html: > <p><a href="http://foo.bar.baz/test?q=hello&amp;id=22&amp;boolean">http://foo.bar.baz/test?q=hello&amp;id=22&amp;boolean</a></p> - title: Autolinks - example 595 mdast: type: root children: - type: paragraph children: - type: link url: irc://foo.bar:2233/baz children: - type: text value: irc://foo.bar:2233/baz myst: | <irc://foo.bar:2233/baz> html: |- <p><a href="irc://foo.bar:2233/baz">irc://foo.bar:2233/baz</a></p> - title: Autolinks - example 596 mdast: type: root children: - type: paragraph children: - type: link url: MAILTO:FOO@BAR.BAZ children: - type: text value: MAILTO:FOO@BAR.BAZ myst: | <MAILTO:FOO@BAR.BAZ> html: |- <p><a href="MAILTO:FOO@BAR.BAZ">MAILTO:FOO@BAR.BAZ</a></p> - title: Autolinks - example 597 mdast: type: root children: - type: paragraph children: - type: link url: a+b+c:d children: - type: text value: a+b+c:d myst: | <a+b+c:d> html: |- <p><a href="a+b+c:d">a+b+c:d</a></p> - title: Autolinks - example 598 mdast: type: root children: - type: paragraph children: - type: link url: made-up-scheme://foo,bar children: - type: text value: made-up-scheme://foo,bar myst: | <made-up-scheme://foo,bar> html: |- <p><a href="made-up-scheme://foo,bar">made-up-scheme://foo,bar</a></p> - title: Autolinks - example 599 mdast: type: root children: - type: paragraph children: - type: link url: http://../ children: - type: text value: http://../ myst: | <http://../> html: |- <p><a href="http://../">http://../</a></p> - title: Autolinks - example 600 mdast: type: root children: - type: paragraph children: - type: link url: localhost:5001/foo children: - type: text value: localhost:5001/foo myst: | <localhost:5001/foo> html: |- <p><a href="localhost:5001/foo">localhost:5001/foo</a></p> - title: Autolinks - example 601 mdast: type: root children: - type: paragraph children: - type: text value: <http://foo.bar/baz bim> myst: | <http://foo.bar/baz bim> html: |- <p>&lt;http://foo.bar/baz bim&gt;</p> - title: Autolinks - example 602 mdast: type: root children: - type: paragraph children: - type: link url: http://example.com/%5C%5B%5C children: - type: text value: http://example.com/\[\ myst: | <http://example.com/\[\> html: |- <p><a href="http://example.com/%5C%5B%5C">http://example.com/\[\</a></p> - title: Autolinks - example 603 mdast: type: root children: - type: paragraph children: - type: link url: mailto:foo@bar.example.com children: - type: text value: foo@bar.example.com myst: | <foo@bar.example.com> html: |- <p><a href="mailto:foo@bar.example.com">foo@bar.example.com</a></p> - title: Autolinks - example 604 mdast: type: root children: - type: paragraph children: - type: link url: mailto:foo+special@Bar.baz-bar0.com children: - type: text value: foo+special@Bar.baz-bar0.com myst: | <foo+special@Bar.baz-bar0.com> html: > <p><a href="mailto:foo+special@Bar.baz-bar0.com">foo+special@Bar.baz-bar0.com</a></p> - title: Autolinks - example 605 mdast: type: root children: - type: paragraph children: - type: text value: <foo+@bar.example.com> myst: | <foo\+@bar.example.com> html: |- <p>&lt;foo+@bar.example.com&gt;</p> - title: Autolinks - example 606 mdast: type: root children: - type: paragraph children: - type: text value: <> myst: | <> html: |- <p>&lt;&gt;</p> - title: Autolinks - example 607 mdast: type: root children: - type: paragraph children: - type: text value: < http://foo.bar > myst: | < http://foo.bar > html: |- <p>&lt; http://foo.bar &gt;</p> - title: Autolinks - example 608 mdast: type: root children: - type: paragraph children: - type: text value: <m:abc> myst: | <m:abc> html: |- <p>&lt;m:abc&gt;</p> - title: Autolinks - example 609 mdast: type: root children: - type: paragraph children: - type: text value: <foo.bar.baz> myst: | <foo.bar.baz> html: |- <p>&lt;foo.bar.baz&gt;</p> - title: Autolinks - example 610 mdast: type: root children: - type: paragraph children: - type: text value: http://example.com myst: | http://example.com html: |- <p>http://example.com</p> - title: Autolinks - example 611 mdast: type: root children: - type: paragraph children: - type: text value: foo@bar.example.com myst: | foo@bar.example.com html: |- <p>foo@bar.example.com</p> - title: Raw HTML - example 612 mdast: type: root children: - type: paragraph children: - type: html value: <a> - type: html value: <bab> - type: html value: <c2c> myst: | <a><bab><c2c> html: |- <p><a><bab><c2c></p> - title: Raw HTML - example 613 mdast: type: root children: - type: paragraph children: - type: html value: <a/> - type: html value: <b2/> myst: | <a/><b2/> html: |- <p><a/><b2/></p> - title: Raw HTML - example 614 mdast: type: root children: - type: paragraph children: - type: html value: <a /> - type: html value: |- <b2 data="foo" > myst: | <a /><b2 data="foo" > html: |- <p><a /><b2 data="foo" ></p> - title: Raw HTML - example 615 mdast: type: root children: - type: paragraph children: - type: html value: |- <a foo="bar" bam = 'baz <em>"</em>' _boolean zoop:33=zoop:33 /> myst: | <a foo="bar" bam = 'baz <em>"</em>' _boolean zoop:33=zoop:33 /> html: |- <p><a foo="bar" bam = 'baz <em>"</em>' _boolean zoop:33=zoop:33 /></p> - title: Raw HTML - example 616 mdast: type: root children: - type: paragraph children: - type: text value: 'Foo ' - type: html value: <responsive-image src="foo.jpg" /> myst: | Foo <responsive-image src="foo.jpg" /> html: |- <p>Foo <responsive-image src="foo.jpg" /></p> - title: Raw HTML - example 617 mdast: type: root children: - type: paragraph children: - type: text value: <33> <__> myst: | <33> <__> html: |- <p>&lt;33&gt; &lt;__&gt;</p> - title: Raw HTML - example 618 mdast: type: root children: - type: paragraph children: - type: text value: <a h*#ref="hi"> myst: | <a h*#ref="hi"> html: |- <p>&lt;a h*#ref=&quot;hi&quot;&gt;</p> - title: Raw HTML - example 619 mdast: type: root children: - type: paragraph children: - type: text value: <a href="hi'> <a href=hi'> myst: | <a href="hi'> <a href=hi'> html: |- <p>&lt;a href=&quot;hi'&gt; &lt;a href=hi'&gt;</p> - title: Raw HTML - example 620 mdast: type: root children: - type: paragraph children: - type: text value: |- < a>< foo><bar/ > <foo bar=baz bim!bop /> myst: | < a>< foo><bar/ > <foo bar=baz bim!bop /> html: |- <p>&lt; a&gt;&lt; foo&gt;&lt;bar/ &gt; &lt;foo bar=baz bim!bop /&gt;</p> - title: Raw HTML - example 621 mdast: type: root children: - type: paragraph children: - type: text value: <a href='bar'title=title> myst: | <a href='bar'title=title> html: |- <p>&lt;a href='bar'title=title&gt;</p> - title: Raw HTML - example 622 mdast: type: root children: - type: paragraph children: - type: html value: </a> - type: html value: </foo > myst: | </a></foo > html: |- <p></a></foo ></p> - title: Raw HTML - example 623 mdast: type: root children: - type: paragraph children: - type: text value: </a href="foo"> myst: | </a href="foo"> html: |- <p>&lt;/a href=&quot;foo&quot;&gt;</p> - title: Raw HTML - example 624 mdast: type: root children: - type: paragraph children: - type: text value: 'foo ' - type: html value: |- <!-- this is a comment - with hyphen --> myst: | foo <!-- this is a comment - with hyphen --> html: |- <p>foo <!-- this is a comment - with hyphen --></p> - title: Raw HTML - example 625 mdast: type: root children: - type: paragraph children: - type: text value: foo <!-- not a comment -- two hyphens --> myst: | foo <!-- not a comment -- two hyphens --> html: |- <p>foo &lt;!-- not a comment -- two hyphens --&gt;</p> - title: Raw HTML - example 626 mdast: type: root children: - type: paragraph children: - type: text value: foo <!--> foo --> - type: paragraph children: - type: text value: foo <!-- foo---> myst: | foo <!--> foo --> foo <!-- foo---> html: |- <p>foo &lt;!--&gt; foo --&gt;</p> <p>foo &lt;!-- foo---&gt;</p> - title: Raw HTML - example 627 mdast: type: root children: - type: paragraph children: - type: text value: 'foo ' - type: html value: <?php echo $a; ?> myst: | foo <?php echo $a; ?> html: |- <p>foo <?php echo $a; ?></p> - title: Raw HTML - example 628 mdast: type: root children: - type: paragraph children: - type: text value: 'foo ' - type: html value: <!ELEMENT br EMPTY> myst: | foo <!ELEMENT br EMPTY> html: |- <p>foo <!ELEMENT br EMPTY></p> - title: Raw HTML - example 629 mdast: type: root children: - type: paragraph children: - type: text value: 'foo ' - type: html value: <![CDATA[>&<]]> myst: | foo <![CDATA[>&<]]> html: |- <p>foo <![CDATA[>&<]]></p> - title: Raw HTML - example 630 mdast: type: root children: - type: paragraph children: - type: text value: 'foo ' - type: html value: <a href="&ouml;"> myst: | foo <a href="&ouml;"> html: |- <p>foo <a href="&ouml;"></p> - title: Raw HTML - example 631 mdast: type: root children: - type: paragraph children: - type: text value: 'foo ' - type: html value: <a href="\*"> myst: | foo <a href="\*"> html: |- <p>foo <a href="\*"></p> - title: Raw HTML - example 632 mdast: type: root children: - type: paragraph children: - type: text value: <a href="""> myst: | <a href="\""> html: |- <p>&lt;a href=&quot;&quot;&quot;&gt;</p> - title: Hard line breaks - example 633 mdast: type: root children: - type: paragraph children: - type: text value: foo - type: break - type: text value: baz myst: | foo baz html: |- <p>foo<br /> baz</p> - title: Hard line breaks - example 634 mdast: type: root children: - type: paragraph children: - type: text value: foo - type: break - type: text value: baz myst: | foo\ baz html: |- <p>foo<br /> baz</p> - title: Hard line breaks - example 635 mdast: type: root children: - type: paragraph children: - type: text value: foo - type: break - type: text value: baz myst: | foo baz html: |- <p>foo<br /> baz</p> - title: Hard line breaks - example 636 mdast: type: root children: - type: paragraph children: - type: text value: foo - type: break - type: text value: bar myst: | foo bar html: |- <p>foo<br /> bar</p> - title: Hard line breaks - example 637 mdast: type: root children: - type: paragraph children: - type: text value: foo - type: break - type: text value: bar myst: | foo\ bar html: |- <p>foo<br /> bar</p> - title: Hard line breaks - example 638 mdast: type: root children: - type: paragraph children: - type: emphasis children: - type: text value: foo - type: break - type: text value: bar myst: | *foo bar* html: |- <p><em>foo<br /> bar</em></p> - title: Hard line breaks - example 639 mdast: type: root children: - type: paragraph children: - type: emphasis children: - type: text value: foo - type: break - type: text value: bar myst: | *foo\ bar* html: |- <p><em>foo<br /> bar</em></p> - title: Hard line breaks - example 640 mdast: type: root children: - type: paragraph children: - type: inlineCode value: code span myst: | `code span` html: |- <p><code>code span</code></p> - title: Hard line breaks - example 641 mdast: type: root children: - type: paragraph children: - type: inlineCode value: code\ span myst: | `code\ span` html: |- <p><code>code\ span</code></p> - title: Hard line breaks - example 642 mdast: type: root children: - type: paragraph children: - type: html value: |- <a href="foo bar"> myst: | <a href="foo bar"> html: |- <p><a href="foo bar"></p> - title: Hard line breaks - example 643 mdast: type: root children: - type: paragraph children: - type: html value: |- <a href="foo\ bar"> myst: | <a href="foo\ bar"> html: |- <p><a href="foo\ bar"></p> - title: Hard line breaks - example 644 mdast: type: root children: - type: paragraph children: - type: text value: foo\ myst: | foo\ html: |- <p>foo\</p> - title: Hard line breaks - example 645 mdast: type: root children: - type: paragraph children: - type: text value: foo myst: | foo html: |- <p>foo</p> - title: Hard line breaks - example 646 mdast: type: root children: - type: heading depth: 3 children: - type: text value: foo\ myst: | ### foo\ html: |- <h3>foo\</h3> - title: Hard line breaks - example 647 mdast: type: root children: - type: heading depth: 3 children: - type: text value: foo myst: | ### foo html: |- <h3>foo</h3> - title: Soft line breaks - example 648 mdast: type: root children: - type: paragraph children: - type: text value: |- foo baz myst: | foo baz html: |- <p>foo baz</p> - title: Soft line breaks - example 649 mdast: type: root children: - type: paragraph children: - type: text value: |- foo baz myst: | foo baz html: |- <p>foo baz</p> - title: Textual content - example 650 mdast: type: root children: - type: paragraph children: - type: text value: hello $.;'there myst: | hello $.;'there html: |- <p>hello $.;'there</p> - title: Textual content - example 651 mdast: type: root children: - type: paragraph children: - type: text value: Foo χρῆν myst: | Foo χρῆν html: |- <p>Foo χρῆν</p> - title: Textual content - example 652 mdast: type: root children: - type: paragraph children: - type: text value: Multiple spaces myst: | Multiple spaces html: |- <p>Multiple spaces</p>