1 | [
|
2 | {
|
3 | "title": "blocks: block break node",
|
4 | "mdast": {
|
5 | "type": "root",
|
6 | "children": [
|
7 | {
|
8 | "type": "blockBreak"
|
9 | }
|
10 | ]
|
11 | },
|
12 | "myst": "+++"
|
13 | },
|
14 | {
|
15 | "title": "blocks: block break node - with metadata",
|
16 | "mdast": {
|
17 | "type": "root",
|
18 | "children": [
|
19 | {
|
20 | "type": "blockBreak",
|
21 | "meta": "{\"meta\": \"data\"}"
|
22 | }
|
23 | ]
|
24 | },
|
25 | "myst": "+++ {\"meta\": \"data\"}"
|
26 | },
|
27 | {
|
28 | "title": "blocks: block break node - with broken metadata",
|
29 | "mdast": {
|
30 | "type": "root",
|
31 | "children": [
|
32 | {
|
33 | "type": "blockBreak",
|
34 | "meta": "{\"meta: data}"
|
35 | }
|
36 | ]
|
37 | },
|
38 | "myst": "+++ {\"meta: data}"
|
39 | },
|
40 | {
|
41 | "title": "blocks: block break nodes - dividing flow content",
|
42 | "mdast": {
|
43 | "type": "root",
|
44 | "children": [
|
45 | {
|
46 | "type": "blockBreak"
|
47 | },
|
48 | {
|
49 | "type": "heading",
|
50 | "depth": 1,
|
51 | "children": [
|
52 | {
|
53 | "type": "text",
|
54 | "value": "Heading!"
|
55 | }
|
56 | ]
|
57 | },
|
58 | {
|
59 | "type": "blockBreak"
|
60 | }
|
61 | ]
|
62 | },
|
63 | "myst": "+++\n# Heading!\n+++"
|
64 | },
|
65 | {
|
66 | "title": "cmark_spec_0.30: Tabs - example 1",
|
67 | "mdast": {
|
68 | "type": "root",
|
69 | "children": [
|
70 | {
|
71 | "type": "code",
|
72 | "lang": "",
|
73 | "value": "foo\tbaz\t\tbim"
|
74 | }
|
75 | ]
|
76 | },
|
77 | "myst": "\tfoo\tbaz\t\tbim\n",
|
78 | "html": "<pre><code>foo\tbaz\t\tbim\n</code></pre>\n"
|
79 | },
|
80 | {
|
81 | "title": "cmark_spec_0.30: Tabs - example 2",
|
82 | "mdast": {
|
83 | "type": "root",
|
84 | "children": [
|
85 | {
|
86 | "type": "code",
|
87 | "lang": "",
|
88 | "value": "foo\tbaz\t\tbim"
|
89 | }
|
90 | ]
|
91 | },
|
92 | "myst": " \tfoo\tbaz\t\tbim\n",
|
93 | "html": "<pre><code>foo\tbaz\t\tbim\n</code></pre>\n"
|
94 | },
|
95 | {
|
96 | "title": "cmark_spec_0.30: Tabs - example 3",
|
97 | "mdast": {
|
98 | "type": "root",
|
99 | "children": [
|
100 | {
|
101 | "type": "code",
|
102 | "lang": "",
|
103 | "value": "a\ta\nὐ\ta"
|
104 | }
|
105 | ]
|
106 | },
|
107 | "myst": " a\ta\n ὐ\ta\n",
|
108 | "html": "<pre><code>a\ta\nὐ\ta\n</code></pre>\n"
|
109 | },
|
110 | {
|
111 | "title": "cmark_spec_0.30: Tabs - example 4",
|
112 | "mdast": {
|
113 | "type": "root",
|
114 | "children": [
|
115 | {
|
116 | "type": "list",
|
117 | "ordered": false,
|
118 | "spread": false,
|
119 | "children": [
|
120 | {
|
121 | "type": "listItem",
|
122 | "spread": true,
|
123 | "children": [
|
124 | {
|
125 | "type": "paragraph",
|
126 | "children": [
|
127 | {
|
128 | "type": "text",
|
129 | "value": "foo"
|
130 | }
|
131 | ]
|
132 | },
|
133 | {
|
134 | "type": "paragraph",
|
135 | "children": [
|
136 | {
|
137 | "type": "text",
|
138 | "value": "bar"
|
139 | }
|
140 | ]
|
141 | }
|
142 | ]
|
143 | }
|
144 | ]
|
145 | }
|
146 | ]
|
147 | },
|
148 | "myst": " - foo\n\n\tbar\n",
|
149 | "html": "<ul>\n<li>\n<p>foo</p>\n<p>bar</p>\n</li>\n</ul>\n"
|
150 | },
|
151 | {
|
152 | "title": "cmark_spec_0.30: Tabs - example 5",
|
153 | "mdast": {
|
154 | "type": "root",
|
155 | "children": [
|
156 | {
|
157 | "type": "list",
|
158 | "ordered": false,
|
159 | "spread": false,
|
160 | "children": [
|
161 | {
|
162 | "type": "listItem",
|
163 | "spread": true,
|
164 | "children": [
|
165 | {
|
166 | "type": "paragraph",
|
167 | "children": [
|
168 | {
|
169 | "type": "text",
|
170 | "value": "foo"
|
171 | }
|
172 | ]
|
173 | },
|
174 | {
|
175 | "type": "code",
|
176 | "lang": "",
|
177 | "value": " bar"
|
178 | }
|
179 | ]
|
180 | }
|
181 | ]
|
182 | }
|
183 | ]
|
184 | },
|
185 | "myst": "- foo\n\n\t\tbar\n",
|
186 | "html": "<ul>\n<li>\n<p>foo</p>\n<pre><code> bar\n</code></pre>\n</li>\n</ul>\n"
|
187 | },
|
188 | {
|
189 | "title": "cmark_spec_0.30: Tabs - example 6",
|
190 | "mdast": {
|
191 | "type": "root",
|
192 | "children": [
|
193 | {
|
194 | "type": "blockquote",
|
195 | "children": [
|
196 | {
|
197 | "type": "code",
|
198 | "lang": "",
|
199 | "value": " foo"
|
200 | }
|
201 | ]
|
202 | }
|
203 | ]
|
204 | },
|
205 | "myst": ">\t\tfoo\n",
|
206 | "html": "<blockquote>\n<pre><code> foo\n</code></pre>\n</blockquote>\n"
|
207 | },
|
208 | {
|
209 | "title": "cmark_spec_0.30: Tabs - example 7",
|
210 | "mdast": {
|
211 | "type": "root",
|
212 | "children": [
|
213 | {
|
214 | "type": "list",
|
215 | "ordered": false,
|
216 | "spread": false,
|
217 | "children": [
|
218 | {
|
219 | "type": "listItem",
|
220 | "spread": true,
|
221 | "children": [
|
222 | {
|
223 | "type": "code",
|
224 | "lang": "",
|
225 | "value": " foo"
|
226 | }
|
227 | ]
|
228 | }
|
229 | ]
|
230 | }
|
231 | ]
|
232 | },
|
233 | "myst": "-\t\tfoo\n",
|
234 | "html": "<ul>\n<li>\n<pre><code> foo\n</code></pre>\n</li>\n</ul>\n"
|
235 | },
|
236 | {
|
237 | "title": "cmark_spec_0.30: Tabs - example 8",
|
238 | "mdast": {
|
239 | "type": "root",
|
240 | "children": [
|
241 | {
|
242 | "type": "code",
|
243 | "lang": "",
|
244 | "value": "foo\nbar"
|
245 | }
|
246 | ]
|
247 | },
|
248 | "myst": " foo\n\tbar\n",
|
249 | "html": "<pre><code>foo\nbar\n</code></pre>\n"
|
250 | },
|
251 | {
|
252 | "title": "cmark_spec_0.30: Tabs - example 9",
|
253 | "mdast": {
|
254 | "type": "root",
|
255 | "children": [
|
256 | {
|
257 | "type": "list",
|
258 | "ordered": false,
|
259 | "spread": false,
|
260 | "children": [
|
261 | {
|
262 | "type": "listItem",
|
263 | "spread": true,
|
264 | "children": [
|
265 | {
|
266 | "type": "text",
|
267 | "value": "foo"
|
268 | },
|
269 | {
|
270 | "type": "list",
|
271 | "ordered": false,
|
272 | "spread": false,
|
273 | "children": [
|
274 | {
|
275 | "type": "listItem",
|
276 | "spread": true,
|
277 | "children": [
|
278 | {
|
279 | "type": "text",
|
280 | "value": "bar"
|
281 | },
|
282 | {
|
283 | "type": "list",
|
284 | "ordered": false,
|
285 | "spread": false,
|
286 | "children": [
|
287 | {
|
288 | "type": "listItem",
|
289 | "spread": true,
|
290 | "children": [
|
291 | {
|
292 | "type": "text",
|
293 | "value": "baz"
|
294 | }
|
295 | ]
|
296 | }
|
297 | ]
|
298 | }
|
299 | ]
|
300 | }
|
301 | ]
|
302 | }
|
303 | ]
|
304 | }
|
305 | ]
|
306 | }
|
307 | ]
|
308 | },
|
309 | "myst": " - foo\n - bar\n\t - baz\n",
|
310 | "html": "<ul>\n<li>foo\n<ul>\n<li>bar\n<ul>\n<li>baz</li>\n</ul>\n</li>\n</ul>\n</li>\n</ul>\n"
|
311 | },
|
312 | {
|
313 | "title": "cmark_spec_0.30: Tabs - example 10",
|
314 | "mdast": {
|
315 | "type": "root",
|
316 | "children": [
|
317 | {
|
318 | "type": "heading",
|
319 | "depth": 1,
|
320 | "children": [
|
321 | {
|
322 | "type": "text",
|
323 | "value": "Foo"
|
324 | }
|
325 | ]
|
326 | }
|
327 | ]
|
328 | },
|
329 | "myst": "#\tFoo\n",
|
330 | "html": "<h1>Foo</h1>\n"
|
331 | },
|
332 | {
|
333 | "title": "cmark_spec_0.30: Tabs - example 11",
|
334 | "mdast": {
|
335 | "type": "root",
|
336 | "children": [
|
337 | {
|
338 | "type": "thematicBreak"
|
339 | }
|
340 | ]
|
341 | },
|
342 | "myst": "*\t*\t*\t\n",
|
343 | "html": "<hr />\n"
|
344 | },
|
345 | {
|
346 | "title": "cmark_spec_0.30: Backslash escapes - example 12",
|
347 | "mdast": {
|
348 | "type": "root",
|
349 | "children": [
|
350 | {
|
351 | "type": "paragraph",
|
352 | "children": [
|
353 | {
|
354 | "type": "text",
|
355 | "value": "!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~"
|
356 | }
|
357 | ]
|
358 | }
|
359 | ]
|
360 | },
|
361 | "myst": "\\!\\\"\\#\\$\\%\\&\\'\\(\\)\\*\\+\\,\\-\\.\\/\\:\\;\\<\\=\\>\\?\\@\\[\\\\\\]\\^\\_\\`\\{\\|\\}\\~\n",
|
362 | "html": "<p>!"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~</p>\n"
|
363 | },
|
364 | {
|
365 | "title": "cmark_spec_0.30: Backslash escapes - example 13",
|
366 | "mdast": {
|
367 | "type": "root",
|
368 | "children": [
|
369 | {
|
370 | "type": "paragraph",
|
371 | "children": [
|
372 | {
|
373 | "type": "text",
|
374 | "value": "\\\t\\A\\a\\ \\3\\φ\\«"
|
375 | }
|
376 | ]
|
377 | }
|
378 | ]
|
379 | },
|
380 | "myst": "\\\t\\A\\a\\ \\3\\φ\\«\n",
|
381 | "html": "<p>\\\t\\A\\a\\ \\3\\φ\\«</p>\n"
|
382 | },
|
383 | {
|
384 | "title": "cmark_spec_0.30: Backslash escapes - example 14",
|
385 | "mdast": {
|
386 | "type": "root",
|
387 | "children": [
|
388 | {
|
389 | "type": "paragraph",
|
390 | "children": [
|
391 | {
|
392 | "type": "text",
|
393 | "value": "*not emphasized*\n<br/> not a tag\n[not a link](/foo)\n`not code`\n1. not a list\n* not a list\n# not a heading\n[foo]: /url \"not a reference\"\nö not a character entity"
|
394 | }
|
395 | ]
|
396 | }
|
397 | ]
|
398 | },
|
399 | "myst": "\\*not emphasized*\n\\<br/> not a tag\n\\[not a link](/foo)\n\\`not code`\n1\\. not a list\n\\* not a list\n\\# not a heading\n\\[foo]: /url \"not a reference\"\n\\ö not a character entity\n",
|
400 | "html": "<p>*not emphasized*\n<br/> not a tag\n[not a link](/foo)\n`not code`\n1. not a list\n* not a list\n# not a heading\n[foo]: /url "not a reference"\n&ouml; not a character entity</p>\n"
|
401 | },
|
402 | {
|
403 | "title": "cmark_spec_0.30: Backslash escapes - example 15",
|
404 | "mdast": {
|
405 | "type": "root",
|
406 | "children": [
|
407 | {
|
408 | "type": "paragraph",
|
409 | "children": [
|
410 | {
|
411 | "type": "text",
|
412 | "value": "\\"
|
413 | },
|
414 | {
|
415 | "type": "emphasis",
|
416 | "children": [
|
417 | {
|
418 | "type": "text",
|
419 | "value": "emphasis"
|
420 | }
|
421 | ]
|
422 | }
|
423 | ]
|
424 | }
|
425 | ]
|
426 | },
|
427 | "myst": "\\\\*emphasis*\n",
|
428 | "html": "<p>\\<em>emphasis</em></p>\n"
|
429 | },
|
430 | {
|
431 | "title": "cmark_spec_0.30: Backslash escapes - example 16",
|
432 | "mdast": {
|
433 | "type": "root",
|
434 | "children": [
|
435 | {
|
436 | "type": "paragraph",
|
437 | "children": [
|
438 | {
|
439 | "type": "text",
|
440 | "value": "foo"
|
441 | },
|
442 | {
|
443 | "type": "break"
|
444 | },
|
445 | {
|
446 | "type": "text",
|
447 | "value": "bar"
|
448 | }
|
449 | ]
|
450 | }
|
451 | ]
|
452 | },
|
453 | "myst": "foo\\\nbar\n",
|
454 | "html": "<p>foo<br />\nbar</p>\n"
|
455 | },
|
456 | {
|
457 | "title": "cmark_spec_0.30: Backslash escapes - example 17",
|
458 | "mdast": {
|
459 | "type": "root",
|
460 | "children": [
|
461 | {
|
462 | "type": "paragraph",
|
463 | "children": [
|
464 | {
|
465 | "type": "inlineCode",
|
466 | "value": "\\[\\`"
|
467 | }
|
468 | ]
|
469 | }
|
470 | ]
|
471 | },
|
472 | "myst": "`` \\[\\` ``\n",
|
473 | "html": "<p><code>\\[\\`</code></p>\n"
|
474 | },
|
475 | {
|
476 | "title": "cmark_spec_0.30: Backslash escapes - example 18",
|
477 | "mdast": {
|
478 | "type": "root",
|
479 | "children": [
|
480 | {
|
481 | "type": "code",
|
482 | "lang": "",
|
483 | "value": "\\[\\]"
|
484 | }
|
485 | ]
|
486 | },
|
487 | "myst": " \\[\\]\n",
|
488 | "html": "<pre><code>\\[\\]\n</code></pre>\n"
|
489 | },
|
490 | {
|
491 | "title": "cmark_spec_0.30: Backslash escapes - example 19",
|
492 | "mdast": {
|
493 | "type": "root",
|
494 | "children": [
|
495 | {
|
496 | "type": "code",
|
497 | "lang": "",
|
498 | "value": "\\[\\]"
|
499 | }
|
500 | ]
|
501 | },
|
502 | "myst": "~~~\n\\[\\]\n~~~\n",
|
503 | "html": "<pre><code>\\[\\]\n</code></pre>\n"
|
504 | },
|
505 | {
|
506 | "title": "cmark_spec_0.30: Backslash escapes - example 20",
|
507 | "mdast": {
|
508 | "type": "root",
|
509 | "children": [
|
510 | {
|
511 | "type": "paragraph",
|
512 | "children": [
|
513 | {
|
514 | "type": "link",
|
515 | "url": "http://example.com?find=%5C*",
|
516 | "children": [
|
517 | {
|
518 | "type": "text",
|
519 | "value": "http://example.com?find=\\*"
|
520 | }
|
521 | ]
|
522 | }
|
523 | ]
|
524 | }
|
525 | ]
|
526 | },
|
527 | "myst": "<http://example.com?find=\\*>\n",
|
528 | "html": "<p><a href=\"http://example.com?find=%5C*\">http://example.com?find=\\*</a></p>\n"
|
529 | },
|
530 | {
|
531 | "title": "cmark_spec_0.30: Backslash escapes - example 21",
|
532 | "mdast": {
|
533 | "type": "root",
|
534 | "children": [
|
535 | {
|
536 | "type": "html",
|
537 | "value": "<a href=\"/bar\\/)\">"
|
538 | }
|
539 | ]
|
540 | },
|
541 | "myst": "<a href=\"/bar\\/)\">\n",
|
542 | "html": "<a href=\"/bar\\/)\">\n"
|
543 | },
|
544 | {
|
545 | "title": "cmark_spec_0.30: Backslash escapes - example 22",
|
546 | "mdast": {
|
547 | "type": "root",
|
548 | "children": [
|
549 | {
|
550 | "type": "paragraph",
|
551 | "children": [
|
552 | {
|
553 | "type": "link",
|
554 | "url": "/bar*",
|
555 | "title": "ti*tle",
|
556 | "children": [
|
557 | {
|
558 | "type": "text",
|
559 | "value": "foo"
|
560 | }
|
561 | ]
|
562 | }
|
563 | ]
|
564 | }
|
565 | ]
|
566 | },
|
567 | "myst": "[foo](/bar\\* \"ti\\*tle\")\n",
|
568 | "html": "<p><a href=\"/bar*\" title=\"ti*tle\">foo</a></p>\n"
|
569 | },
|
570 | {
|
571 | "title": "cmark_spec_0.30: Backslash escapes - example 23",
|
572 | "mdast": {
|
573 | "type": "root",
|
574 | "children": [
|
575 | {
|
576 | "type": "paragraph",
|
577 | "children": [
|
578 | {
|
579 | "type": "link",
|
580 | "url": "/bar*",
|
581 | "title": "ti*tle",
|
582 | "children": [
|
583 | {
|
584 | "type": "text",
|
585 | "value": "foo"
|
586 | }
|
587 | ]
|
588 | }
|
589 | ]
|
590 | }
|
591 | ]
|
592 | },
|
593 | "myst": "[foo]\n\n[foo]: /bar\\* \"ti\\*tle\"\n",
|
594 | "html": "<p><a href=\"/bar*\" title=\"ti*tle\">foo</a></p>\n"
|
595 | },
|
596 | {
|
597 | "title": "cmark_spec_0.30: Backslash escapes - example 24",
|
598 | "mdast": {
|
599 | "type": "root",
|
600 | "children": [
|
601 | {
|
602 | "type": "code",
|
603 | "lang": "foo+bar",
|
604 | "value": "foo"
|
605 | }
|
606 | ]
|
607 | },
|
608 | "myst": "``` foo\\+bar\nfoo\n```\n",
|
609 | "html": "<pre><code class=\"language-foo+bar\">foo\n</code></pre>\n"
|
610 | },
|
611 | {
|
612 | "title": "cmark_spec_0.30: Entity and numeric character references - example 25",
|
613 | "mdast": {
|
614 | "type": "root",
|
615 | "children": [
|
616 | {
|
617 | "type": "paragraph",
|
618 | "children": [
|
619 | {
|
620 | "type": "text",
|
621 | "value": " & © Æ Ď\n¾ ℋ ⅆ\n∲ ≧̸"
|
622 | }
|
623 | ]
|
624 | }
|
625 | ]
|
626 | },
|
627 | "myst": " & © Æ Ď\n¾ ℋ ⅆ\n∲ ≧̸\n",
|
628 | "html": "<p> & © Æ Ď\n¾ ℋ ⅆ\n∲ ≧̸</p>\n"
|
629 | },
|
630 | {
|
631 | "title": "cmark_spec_0.30: Entity and numeric character references - example 26",
|
632 | "mdast": {
|
633 | "type": "root",
|
634 | "children": [
|
635 | {
|
636 | "type": "paragraph",
|
637 | "children": [
|
638 | {
|
639 | "type": "text",
|
640 | "value": "# Ӓ Ϡ �"
|
641 | }
|
642 | ]
|
643 | }
|
644 | ]
|
645 | },
|
646 | "myst": "# Ӓ Ϡ �\n",
|
647 | "html": "<p># Ӓ Ϡ �</p>\n"
|
648 | },
|
649 | {
|
650 | "title": "cmark_spec_0.30: Entity and numeric character references - example 27",
|
651 | "mdast": {
|
652 | "type": "root",
|
653 | "children": [
|
654 | {
|
655 | "type": "paragraph",
|
656 | "children": [
|
657 | {
|
658 | "type": "text",
|
659 | "value": "\" ആ ಫ"
|
660 | }
|
661 | ]
|
662 | }
|
663 | ]
|
664 | },
|
665 | "myst": "" ആ ಫ\n",
|
666 | "html": "<p>" ആ ಫ</p>\n"
|
667 | },
|
668 | {
|
669 | "title": "cmark_spec_0.30: Entity and numeric character references - example 28",
|
670 | "mdast": {
|
671 | "type": "root",
|
672 | "children": [
|
673 | {
|
674 | "type": "paragraph",
|
675 | "children": [
|
676 | {
|
677 | "type": "text",
|
678 | "value": "  &x; &#; &#x;\n�\n&#abcdef0;\n&ThisIsNotDefined; &hi?;"
|
679 | }
|
680 | ]
|
681 | }
|
682 | ]
|
683 | },
|
684 | "myst": "  &x; &#; &#x;\n�\n&#abcdef0;\n&ThisIsNotDefined; &hi?;\n",
|
685 | "html": "<p>&nbsp &x; &#; &#x;\n&#87654321;\n&#abcdef0;\n&ThisIsNotDefined; &hi?;</p>\n"
|
686 | },
|
687 | {
|
688 | "title": "cmark_spec_0.30: Entity and numeric character references - example 29",
|
689 | "mdast": {
|
690 | "type": "root",
|
691 | "children": [
|
692 | {
|
693 | "type": "paragraph",
|
694 | "children": [
|
695 | {
|
696 | "type": "text",
|
697 | "value": "©"
|
698 | }
|
699 | ]
|
700 | }
|
701 | ]
|
702 | },
|
703 | "myst": "©\n",
|
704 | "html": "<p>&copy</p>\n"
|
705 | },
|
706 | {
|
707 | "title": "cmark_spec_0.30: Entity and numeric character references - example 30",
|
708 | "mdast": {
|
709 | "type": "root",
|
710 | "children": [
|
711 | {
|
712 | "type": "paragraph",
|
713 | "children": [
|
714 | {
|
715 | "type": "text",
|
716 | "value": "&MadeUpEntity;"
|
717 | }
|
718 | ]
|
719 | }
|
720 | ]
|
721 | },
|
722 | "myst": "&MadeUpEntity;\n",
|
723 | "html": "<p>&MadeUpEntity;</p>\n"
|
724 | },
|
725 | {
|
726 | "title": "cmark_spec_0.30: Entity and numeric character references - example 31",
|
727 | "mdast": {
|
728 | "type": "root",
|
729 | "children": [
|
730 | {
|
731 | "type": "html",
|
732 | "value": "<a href=\"öö.html\">"
|
733 | }
|
734 | ]
|
735 | },
|
736 | "myst": "<a href=\"öö.html\">\n",
|
737 | "html": "<a href=\"öö.html\">\n"
|
738 | },
|
739 | {
|
740 | "title": "cmark_spec_0.30: Entity and numeric character references - example 32",
|
741 | "mdast": {
|
742 | "type": "root",
|
743 | "children": [
|
744 | {
|
745 | "type": "paragraph",
|
746 | "children": [
|
747 | {
|
748 | "type": "link",
|
749 | "url": "/f%C3%B6%C3%B6",
|
750 | "title": "föö",
|
751 | "children": [
|
752 | {
|
753 | "type": "text",
|
754 | "value": "foo"
|
755 | }
|
756 | ]
|
757 | }
|
758 | ]
|
759 | }
|
760 | ]
|
761 | },
|
762 | "myst": "[foo](/föö \"föö\")\n",
|
763 | "html": "<p><a href=\"/f%C3%B6%C3%B6\" title=\"föö\">foo</a></p>\n"
|
764 | },
|
765 | {
|
766 | "title": "cmark_spec_0.30: Entity and numeric character references - example 33",
|
767 | "mdast": {
|
768 | "type": "root",
|
769 | "children": [
|
770 | {
|
771 | "type": "paragraph",
|
772 | "children": [
|
773 | {
|
774 | "type": "link",
|
775 | "url": "/f%C3%B6%C3%B6",
|
776 | "title": "föö",
|
777 | "children": [
|
778 | {
|
779 | "type": "text",
|
780 | "value": "foo"
|
781 | }
|
782 | ]
|
783 | }
|
784 | ]
|
785 | }
|
786 | ]
|
787 | },
|
788 | "myst": "[foo]\n\n[foo]: /föö \"föö\"\n",
|
789 | "html": "<p><a href=\"/f%C3%B6%C3%B6\" title=\"föö\">foo</a></p>\n"
|
790 | },
|
791 | {
|
792 | "title": "cmark_spec_0.30: Entity and numeric character references - example 34",
|
793 | "mdast": {
|
794 | "type": "root",
|
795 | "children": [
|
796 | {
|
797 | "type": "code",
|
798 | "lang": "föö",
|
799 | "value": "foo"
|
800 | }
|
801 | ]
|
802 | },
|
803 | "myst": "``` föö\nfoo\n```\n",
|
804 | "html": "<pre><code class=\"language-föö\">foo\n</code></pre>\n"
|
805 | },
|
806 | {
|
807 | "title": "cmark_spec_0.30: Entity and numeric character references - example 35",
|
808 | "mdast": {
|
809 | "type": "root",
|
810 | "children": [
|
811 | {
|
812 | "type": "paragraph",
|
813 | "children": [
|
814 | {
|
815 | "type": "inlineCode",
|
816 | "value": "föö"
|
817 | }
|
818 | ]
|
819 | }
|
820 | ]
|
821 | },
|
822 | "myst": "`föö`\n",
|
823 | "html": "<p><code>f&ouml;&ouml;</code></p>\n"
|
824 | },
|
825 | {
|
826 | "title": "cmark_spec_0.30: Entity and numeric character references - example 36",
|
827 | "mdast": {
|
828 | "type": "root",
|
829 | "children": [
|
830 | {
|
831 | "type": "code",
|
832 | "lang": "",
|
833 | "value": "föfö"
|
834 | }
|
835 | ]
|
836 | },
|
837 | "myst": " föfö\n",
|
838 | "html": "<pre><code>f&ouml;f&ouml;\n</code></pre>\n"
|
839 | },
|
840 | {
|
841 | "title": "cmark_spec_0.30: Entity and numeric character references - example 37",
|
842 | "mdast": {
|
843 | "type": "root",
|
844 | "children": [
|
845 | {
|
846 | "type": "paragraph",
|
847 | "children": [
|
848 | {
|
849 | "type": "text",
|
850 | "value": "*foo*\n"
|
851 | },
|
852 | {
|
853 | "type": "emphasis",
|
854 | "children": [
|
855 | {
|
856 | "type": "text",
|
857 | "value": "foo"
|
858 | }
|
859 | ]
|
860 | }
|
861 | ]
|
862 | }
|
863 | ]
|
864 | },
|
865 | "myst": "*foo*\n*foo*\n",
|
866 | "html": "<p>*foo*\n<em>foo</em></p>\n"
|
867 | },
|
868 | {
|
869 | "title": "cmark_spec_0.30: Entity and numeric character references - example 38",
|
870 | "mdast": {
|
871 | "type": "root",
|
872 | "children": [
|
873 | {
|
874 | "type": "paragraph",
|
875 | "children": [
|
876 | {
|
877 | "type": "text",
|
878 | "value": "* foo"
|
879 | }
|
880 | ]
|
881 | },
|
882 | {
|
883 | "type": "list",
|
884 | "ordered": false,
|
885 | "spread": false,
|
886 | "children": [
|
887 | {
|
888 | "type": "listItem",
|
889 | "spread": true,
|
890 | "children": [
|
891 | {
|
892 | "type": "text",
|
893 | "value": "foo"
|
894 | }
|
895 | ]
|
896 | }
|
897 | ]
|
898 | }
|
899 | ]
|
900 | },
|
901 | "myst": "* foo\n\n* foo\n",
|
902 | "html": "<p>* foo</p>\n<ul>\n<li>foo</li>\n</ul>\n"
|
903 | },
|
904 | {
|
905 | "title": "cmark_spec_0.30: Entity and numeric character references - example 39",
|
906 | "mdast": {
|
907 | "type": "root",
|
908 | "children": [
|
909 | {
|
910 | "type": "paragraph",
|
911 | "children": [
|
912 | {
|
913 | "type": "text",
|
914 | "value": "foo\n\nbar"
|
915 | }
|
916 | ]
|
917 | }
|
918 | ]
|
919 | },
|
920 | "myst": "foo bar\n",
|
921 | "html": "<p>foo\n\nbar</p>\n"
|
922 | },
|
923 | {
|
924 | "title": "cmark_spec_0.30: Entity and numeric character references - example 40",
|
925 | "mdast": {
|
926 | "type": "root",
|
927 | "children": [
|
928 | {
|
929 | "type": "paragraph",
|
930 | "children": [
|
931 | {
|
932 | "type": "text",
|
933 | "value": "\tfoo"
|
934 | }
|
935 | ]
|
936 | }
|
937 | ]
|
938 | },
|
939 | "myst": "	foo\n",
|
940 | "html": "<p>\tfoo</p>\n"
|
941 | },
|
942 | {
|
943 | "title": "cmark_spec_0.30: Entity and numeric character references - example 41",
|
944 | "mdast": {
|
945 | "type": "root",
|
946 | "children": [
|
947 | {
|
948 | "type": "paragraph",
|
949 | "children": [
|
950 | {
|
951 | "type": "text",
|
952 | "value": "[a](url \"tit\")"
|
953 | }
|
954 | ]
|
955 | }
|
956 | ]
|
957 | },
|
958 | "myst": "[a](url "tit")\n",
|
959 | "html": "<p>[a](url "tit")</p>\n"
|
960 | },
|
961 | {
|
962 | "title": "cmark_spec_0.30: Precedence - example 42",
|
963 | "mdast": {
|
964 | "type": "root",
|
965 | "children": [
|
966 | {
|
967 | "type": "list",
|
968 | "ordered": false,
|
969 | "spread": false,
|
970 | "children": [
|
971 | {
|
972 | "type": "listItem",
|
973 | "spread": true,
|
974 | "children": [
|
975 | {
|
976 | "type": "text",
|
977 | "value": "`one"
|
978 | }
|
979 | ]
|
980 | },
|
981 | {
|
982 | "type": "listItem",
|
983 | "spread": true,
|
984 | "children": [
|
985 | {
|
986 | "type": "text",
|
987 | "value": "two`"
|
988 | }
|
989 | ]
|
990 | }
|
991 | ]
|
992 | }
|
993 | ]
|
994 | },
|
995 | "myst": "- `one\n- two`\n",
|
996 | "html": "<ul>\n<li>`one</li>\n<li>two`</li>\n</ul>\n"
|
997 | },
|
998 | {
|
999 | "title": "cmark_spec_0.30: Thematic breaks - example 43",
|
1000 | "mdast": {
|
1001 | "type": "root",
|
1002 | "children": [
|
1003 | {
|
1004 | "type": "thematicBreak"
|
1005 | },
|
1006 | {
|
1007 | "type": "thematicBreak"
|
1008 | },
|
1009 | {
|
1010 | "type": "thematicBreak"
|
1011 | }
|
1012 | ]
|
1013 | },
|
1014 | "myst": "***\n---\n___\n",
|
1015 | "html": "<hr />\n<hr />\n<hr />\n"
|
1016 | },
|
1017 | {
|
1018 | "title": "cmark_spec_0.30: Thematic breaks - example 45",
|
1019 | "mdast": {
|
1020 | "type": "root",
|
1021 | "children": [
|
1022 | {
|
1023 | "type": "paragraph",
|
1024 | "children": [
|
1025 | {
|
1026 | "type": "text",
|
1027 | "value": "==="
|
1028 | }
|
1029 | ]
|
1030 | }
|
1031 | ]
|
1032 | },
|
1033 | "myst": "===\n",
|
1034 | "html": "<p>===</p>\n"
|
1035 | },
|
1036 | {
|
1037 | "title": "cmark_spec_0.30: Thematic breaks - example 46",
|
1038 | "mdast": {
|
1039 | "type": "root",
|
1040 | "children": [
|
1041 | {
|
1042 | "type": "paragraph",
|
1043 | "children": [
|
1044 | {
|
1045 | "type": "text",
|
1046 | "value": "--\n**\n__"
|
1047 | }
|
1048 | ]
|
1049 | }
|
1050 | ]
|
1051 | },
|
1052 | "myst": "--\n**\n__\n",
|
1053 | "html": "<p>--\n**\n__</p>\n"
|
1054 | },
|
1055 | {
|
1056 | "title": "cmark_spec_0.30: Thematic breaks - example 47",
|
1057 | "mdast": {
|
1058 | "type": "root",
|
1059 | "children": [
|
1060 | {
|
1061 | "type": "thematicBreak"
|
1062 | },
|
1063 | {
|
1064 | "type": "thematicBreak"
|
1065 | },
|
1066 | {
|
1067 | "type": "thematicBreak"
|
1068 | }
|
1069 | ]
|
1070 | },
|
1071 | "myst": " ***\n ***\n ***\n",
|
1072 | "html": "<hr />\n<hr />\n<hr />\n"
|
1073 | },
|
1074 | {
|
1075 | "title": "cmark_spec_0.30: Thematic breaks - example 48",
|
1076 | "mdast": {
|
1077 | "type": "root",
|
1078 | "children": [
|
1079 | {
|
1080 | "type": "code",
|
1081 | "lang": "",
|
1082 | "value": "***"
|
1083 | }
|
1084 | ]
|
1085 | },
|
1086 | "myst": " ***\n",
|
1087 | "html": "<pre><code>***\n</code></pre>\n"
|
1088 | },
|
1089 | {
|
1090 | "title": "cmark_spec_0.30: Thematic breaks - example 49",
|
1091 | "mdast": {
|
1092 | "type": "root",
|
1093 | "children": [
|
1094 | {
|
1095 | "type": "paragraph",
|
1096 | "children": [
|
1097 | {
|
1098 | "type": "text",
|
1099 | "value": "Foo\n***"
|
1100 | }
|
1101 | ]
|
1102 | }
|
1103 | ]
|
1104 | },
|
1105 | "myst": "Foo\n ***\n",
|
1106 | "html": "<p>Foo\n***</p>\n"
|
1107 | },
|
1108 | {
|
1109 | "title": "cmark_spec_0.30: Thematic breaks - example 50",
|
1110 | "mdast": {
|
1111 | "type": "root",
|
1112 | "children": [
|
1113 | {
|
1114 | "type": "thematicBreak"
|
1115 | }
|
1116 | ]
|
1117 | },
|
1118 | "myst": "_____________________________________\n",
|
1119 | "html": "<hr />\n"
|
1120 | },
|
1121 | {
|
1122 | "title": "cmark_spec_0.30: Thematic breaks - example 51",
|
1123 | "mdast": {
|
1124 | "type": "root",
|
1125 | "children": [
|
1126 | {
|
1127 | "type": "thematicBreak"
|
1128 | }
|
1129 | ]
|
1130 | },
|
1131 | "myst": " - - -\n",
|
1132 | "html": "<hr />\n"
|
1133 | },
|
1134 | {
|
1135 | "title": "cmark_spec_0.30: Thematic breaks - example 52",
|
1136 | "mdast": {
|
1137 | "type": "root",
|
1138 | "children": [
|
1139 | {
|
1140 | "type": "thematicBreak"
|
1141 | }
|
1142 | ]
|
1143 | },
|
1144 | "myst": " ** * ** * ** * **\n",
|
1145 | "html": "<hr />\n"
|
1146 | },
|
1147 | {
|
1148 | "title": "cmark_spec_0.30: Thematic breaks - example 53",
|
1149 | "mdast": {
|
1150 | "type": "root",
|
1151 | "children": [
|
1152 | {
|
1153 | "type": "thematicBreak"
|
1154 | }
|
1155 | ]
|
1156 | },
|
1157 | "myst": "- - - -\n",
|
1158 | "html": "<hr />\n"
|
1159 | },
|
1160 | {
|
1161 | "title": "cmark_spec_0.30: Thematic breaks - example 54",
|
1162 | "mdast": {
|
1163 | "type": "root",
|
1164 | "children": [
|
1165 | {
|
1166 | "type": "thematicBreak"
|
1167 | }
|
1168 | ]
|
1169 | },
|
1170 | "myst": "- - - -\n",
|
1171 | "html": "<hr />\n"
|
1172 | },
|
1173 | {
|
1174 | "title": "cmark_spec_0.30: Thematic breaks - example 55",
|
1175 | "mdast": {
|
1176 | "type": "root",
|
1177 | "children": [
|
1178 | {
|
1179 | "type": "paragraph",
|
1180 | "children": [
|
1181 | {
|
1182 | "type": "text",
|
1183 | "value": "_ _ _ _ a"
|
1184 | }
|
1185 | ]
|
1186 | },
|
1187 | {
|
1188 | "type": "paragraph",
|
1189 | "children": [
|
1190 | {
|
1191 | "type": "text",
|
1192 | "value": "a------"
|
1193 | }
|
1194 | ]
|
1195 | },
|
1196 | {
|
1197 | "type": "paragraph",
|
1198 | "children": [
|
1199 | {
|
1200 | "type": "text",
|
1201 | "value": "---a---"
|
1202 | }
|
1203 | ]
|
1204 | }
|
1205 | ]
|
1206 | },
|
1207 | "myst": "_ _ _ _ a\n\na------\n\n---a---\n",
|
1208 | "html": "<p>_ _ _ _ a</p>\n<p>a------</p>\n<p>---a---</p>\n"
|
1209 | },
|
1210 | {
|
1211 | "title": "cmark_spec_0.30: Thematic breaks - example 56",
|
1212 | "mdast": {
|
1213 | "type": "root",
|
1214 | "children": [
|
1215 | {
|
1216 | "type": "paragraph",
|
1217 | "children": [
|
1218 | {
|
1219 | "type": "emphasis",
|
1220 | "children": [
|
1221 | {
|
1222 | "type": "text",
|
1223 | "value": "-"
|
1224 | }
|
1225 | ]
|
1226 | }
|
1227 | ]
|
1228 | }
|
1229 | ]
|
1230 | },
|
1231 | "myst": " *-*\n",
|
1232 | "html": "<p><em>-</em></p>\n"
|
1233 | },
|
1234 | {
|
1235 | "title": "cmark_spec_0.30: Thematic breaks - example 57",
|
1236 | "mdast": {
|
1237 | "type": "root",
|
1238 | "children": [
|
1239 | {
|
1240 | "type": "list",
|
1241 | "ordered": false,
|
1242 | "spread": false,
|
1243 | "children": [
|
1244 | {
|
1245 | "type": "listItem",
|
1246 | "spread": true,
|
1247 | "children": [
|
1248 | {
|
1249 | "type": "text",
|
1250 | "value": "foo"
|
1251 | }
|
1252 | ]
|
1253 | }
|
1254 | ]
|
1255 | },
|
1256 | {
|
1257 | "type": "thematicBreak"
|
1258 | },
|
1259 | {
|
1260 | "type": "list",
|
1261 | "ordered": false,
|
1262 | "spread": false,
|
1263 | "children": [
|
1264 | {
|
1265 | "type": "listItem",
|
1266 | "spread": true,
|
1267 | "children": [
|
1268 | {
|
1269 | "type": "text",
|
1270 | "value": "bar"
|
1271 | }
|
1272 | ]
|
1273 | }
|
1274 | ]
|
1275 | }
|
1276 | ]
|
1277 | },
|
1278 | "myst": "- foo\n***\n- bar\n",
|
1279 | "html": "<ul>\n<li>foo</li>\n</ul>\n<hr />\n<ul>\n<li>bar</li>\n</ul>\n"
|
1280 | },
|
1281 | {
|
1282 | "title": "cmark_spec_0.30: Thematic breaks - example 58",
|
1283 | "mdast": {
|
1284 | "type": "root",
|
1285 | "children": [
|
1286 | {
|
1287 | "type": "paragraph",
|
1288 | "children": [
|
1289 | {
|
1290 | "type": "text",
|
1291 | "value": "Foo"
|
1292 | }
|
1293 | ]
|
1294 | },
|
1295 | {
|
1296 | "type": "thematicBreak"
|
1297 | },
|
1298 | {
|
1299 | "type": "paragraph",
|
1300 | "children": [
|
1301 | {
|
1302 | "type": "text",
|
1303 | "value": "bar"
|
1304 | }
|
1305 | ]
|
1306 | }
|
1307 | ]
|
1308 | },
|
1309 | "myst": "Foo\n***\nbar\n",
|
1310 | "html": "<p>Foo</p>\n<hr />\n<p>bar</p>\n"
|
1311 | },
|
1312 | {
|
1313 | "title": "cmark_spec_0.30: Thematic breaks - example 59",
|
1314 | "mdast": {
|
1315 | "type": "root",
|
1316 | "children": [
|
1317 | {
|
1318 | "type": "heading",
|
1319 | "depth": 2,
|
1320 | "children": [
|
1321 | {
|
1322 | "type": "text",
|
1323 | "value": "Foo"
|
1324 | }
|
1325 | ]
|
1326 | },
|
1327 | {
|
1328 | "type": "paragraph",
|
1329 | "children": [
|
1330 | {
|
1331 | "type": "text",
|
1332 | "value": "bar"
|
1333 | }
|
1334 | ]
|
1335 | }
|
1336 | ]
|
1337 | },
|
1338 | "myst": "Foo\n---\nbar\n",
|
1339 | "html": "<h2>Foo</h2>\n<p>bar</p>\n"
|
1340 | },
|
1341 | {
|
1342 | "title": "cmark_spec_0.30: Thematic breaks - example 60",
|
1343 | "mdast": {
|
1344 | "type": "root",
|
1345 | "children": [
|
1346 | {
|
1347 | "type": "list",
|
1348 | "ordered": false,
|
1349 | "spread": false,
|
1350 | "children": [
|
1351 | {
|
1352 | "type": "listItem",
|
1353 | "spread": true,
|
1354 | "children": [
|
1355 | {
|
1356 | "type": "text",
|
1357 | "value": "Foo"
|
1358 | }
|
1359 | ]
|
1360 | }
|
1361 | ]
|
1362 | },
|
1363 | {
|
1364 | "type": "thematicBreak"
|
1365 | },
|
1366 | {
|
1367 | "type": "list",
|
1368 | "ordered": false,
|
1369 | "spread": false,
|
1370 | "children": [
|
1371 | {
|
1372 | "type": "listItem",
|
1373 | "spread": true,
|
1374 | "children": [
|
1375 | {
|
1376 | "type": "text",
|
1377 | "value": "Bar"
|
1378 | }
|
1379 | ]
|
1380 | }
|
1381 | ]
|
1382 | }
|
1383 | ]
|
1384 | },
|
1385 | "myst": "* Foo\n* * *\n* Bar\n",
|
1386 | "html": "<ul>\n<li>Foo</li>\n</ul>\n<hr />\n<ul>\n<li>Bar</li>\n</ul>\n"
|
1387 | },
|
1388 | {
|
1389 | "title": "cmark_spec_0.30: Thematic breaks - example 61",
|
1390 | "mdast": {
|
1391 | "type": "root",
|
1392 | "children": [
|
1393 | {
|
1394 | "type": "list",
|
1395 | "ordered": false,
|
1396 | "spread": false,
|
1397 | "children": [
|
1398 | {
|
1399 | "type": "listItem",
|
1400 | "spread": true,
|
1401 | "children": [
|
1402 | {
|
1403 | "type": "text",
|
1404 | "value": "Foo"
|
1405 | }
|
1406 | ]
|
1407 | },
|
1408 | {
|
1409 | "type": "listItem",
|
1410 | "spread": true,
|
1411 | "children": [
|
1412 | {
|
1413 | "type": "thematicBreak"
|
1414 | }
|
1415 | ]
|
1416 | }
|
1417 | ]
|
1418 | }
|
1419 | ]
|
1420 | },
|
1421 | "myst": "- Foo\n- * * *\n",
|
1422 | "html": "<ul>\n<li>Foo</li>\n<li>\n<hr />\n</li>\n</ul>\n"
|
1423 | },
|
1424 | {
|
1425 | "title": "cmark_spec_0.30: ATX headings - example 62",
|
1426 | "mdast": {
|
1427 | "type": "root",
|
1428 | "children": [
|
1429 | {
|
1430 | "type": "heading",
|
1431 | "depth": 1,
|
1432 | "children": [
|
1433 | {
|
1434 | "type": "text",
|
1435 | "value": "foo"
|
1436 | }
|
1437 | ]
|
1438 | },
|
1439 | {
|
1440 | "type": "heading",
|
1441 | "depth": 2,
|
1442 | "children": [
|
1443 | {
|
1444 | "type": "text",
|
1445 | "value": "foo"
|
1446 | }
|
1447 | ]
|
1448 | },
|
1449 | {
|
1450 | "type": "heading",
|
1451 | "depth": 3,
|
1452 | "children": [
|
1453 | {
|
1454 | "type": "text",
|
1455 | "value": "foo"
|
1456 | }
|
1457 | ]
|
1458 | },
|
1459 | {
|
1460 | "type": "heading",
|
1461 | "depth": 4,
|
1462 | "children": [
|
1463 | {
|
1464 | "type": "text",
|
1465 | "value": "foo"
|
1466 | }
|
1467 | ]
|
1468 | },
|
1469 | {
|
1470 | "type": "heading",
|
1471 | "depth": 5,
|
1472 | "children": [
|
1473 | {
|
1474 | "type": "text",
|
1475 | "value": "foo"
|
1476 | }
|
1477 | ]
|
1478 | },
|
1479 | {
|
1480 | "type": "heading",
|
1481 | "depth": 6,
|
1482 | "children": [
|
1483 | {
|
1484 | "type": "text",
|
1485 | "value": "foo"
|
1486 | }
|
1487 | ]
|
1488 | }
|
1489 | ]
|
1490 | },
|
1491 | "myst": "# foo\n## foo\n### foo\n#### foo\n##### foo\n###### foo\n",
|
1492 | "html": "<h1>foo</h1>\n<h2>foo</h2>\n<h3>foo</h3>\n<h4>foo</h4>\n<h5>foo</h5>\n<h6>foo</h6>\n"
|
1493 | },
|
1494 | {
|
1495 | "title": "cmark_spec_0.30: ATX headings - example 63",
|
1496 | "mdast": {
|
1497 | "type": "root",
|
1498 | "children": [
|
1499 | {
|
1500 | "type": "paragraph",
|
1501 | "children": [
|
1502 | {
|
1503 | "type": "text",
|
1504 | "value": "####### foo"
|
1505 | }
|
1506 | ]
|
1507 | }
|
1508 | ]
|
1509 | },
|
1510 | "myst": "####### foo\n",
|
1511 | "html": "<p>####### foo</p>\n"
|
1512 | },
|
1513 | {
|
1514 | "title": "cmark_spec_0.30: ATX headings - example 64",
|
1515 | "mdast": {
|
1516 | "type": "root",
|
1517 | "children": [
|
1518 | {
|
1519 | "type": "paragraph",
|
1520 | "children": [
|
1521 | {
|
1522 | "type": "text",
|
1523 | "value": "#5 bolt"
|
1524 | }
|
1525 | ]
|
1526 | },
|
1527 | {
|
1528 | "type": "paragraph",
|
1529 | "children": [
|
1530 | {
|
1531 | "type": "text",
|
1532 | "value": "#hashtag"
|
1533 | }
|
1534 | ]
|
1535 | }
|
1536 | ]
|
1537 | },
|
1538 | "myst": "#5 bolt\n\n#hashtag\n",
|
1539 | "html": "<p>#5 bolt</p>\n<p>#hashtag</p>\n"
|
1540 | },
|
1541 | {
|
1542 | "title": "cmark_spec_0.30: ATX headings - example 65",
|
1543 | "mdast": {
|
1544 | "type": "root",
|
1545 | "children": [
|
1546 | {
|
1547 | "type": "paragraph",
|
1548 | "children": [
|
1549 | {
|
1550 | "type": "text",
|
1551 | "value": "## foo"
|
1552 | }
|
1553 | ]
|
1554 | }
|
1555 | ]
|
1556 | },
|
1557 | "myst": "\\## foo\n",
|
1558 | "html": "<p>## foo</p>\n"
|
1559 | },
|
1560 | {
|
1561 | "title": "cmark_spec_0.30: ATX headings - example 66",
|
1562 | "mdast": {
|
1563 | "type": "root",
|
1564 | "children": [
|
1565 | {
|
1566 | "type": "heading",
|
1567 | "depth": 1,
|
1568 | "children": [
|
1569 | {
|
1570 | "type": "text",
|
1571 | "value": "foo "
|
1572 | },
|
1573 | {
|
1574 | "type": "emphasis",
|
1575 | "children": [
|
1576 | {
|
1577 | "type": "text",
|
1578 | "value": "bar"
|
1579 | }
|
1580 | ]
|
1581 | },
|
1582 | {
|
1583 | "type": "text",
|
1584 | "value": " *baz*"
|
1585 | }
|
1586 | ]
|
1587 | }
|
1588 | ]
|
1589 | },
|
1590 | "myst": "# foo *bar* \\*baz\\*\n",
|
1591 | "html": "<h1>foo <em>bar</em> *baz*</h1>\n"
|
1592 | },
|
1593 | {
|
1594 | "title": "cmark_spec_0.30: ATX headings - example 67",
|
1595 | "mdast": {
|
1596 | "type": "root",
|
1597 | "children": [
|
1598 | {
|
1599 | "type": "heading",
|
1600 | "depth": 1,
|
1601 | "children": [
|
1602 | {
|
1603 | "type": "text",
|
1604 | "value": "foo"
|
1605 | }
|
1606 | ]
|
1607 | }
|
1608 | ]
|
1609 | },
|
1610 | "myst": "# foo\n",
|
1611 | "html": "<h1>foo</h1>\n"
|
1612 | },
|
1613 | {
|
1614 | "title": "cmark_spec_0.30: ATX headings - example 68",
|
1615 | "mdast": {
|
1616 | "type": "root",
|
1617 | "children": [
|
1618 | {
|
1619 | "type": "heading",
|
1620 | "depth": 3,
|
1621 | "children": [
|
1622 | {
|
1623 | "type": "text",
|
1624 | "value": "foo"
|
1625 | }
|
1626 | ]
|
1627 | },
|
1628 | {
|
1629 | "type": "heading",
|
1630 | "depth": 2,
|
1631 | "children": [
|
1632 | {
|
1633 | "type": "text",
|
1634 | "value": "foo"
|
1635 | }
|
1636 | ]
|
1637 | },
|
1638 | {
|
1639 | "type": "heading",
|
1640 | "depth": 1,
|
1641 | "children": [
|
1642 | {
|
1643 | "type": "text",
|
1644 | "value": "foo"
|
1645 | }
|
1646 | ]
|
1647 | }
|
1648 | ]
|
1649 | },
|
1650 | "myst": " ### foo\n ## foo\n # foo\n",
|
1651 | "html": "<h3>foo</h3>\n<h2>foo</h2>\n<h1>foo</h1>\n"
|
1652 | },
|
1653 | {
|
1654 | "title": "cmark_spec_0.30: ATX headings - example 69",
|
1655 | "mdast": {
|
1656 | "type": "root",
|
1657 | "children": [
|
1658 | {
|
1659 | "type": "code",
|
1660 | "lang": "",
|
1661 | "value": "# foo"
|
1662 | }
|
1663 | ]
|
1664 | },
|
1665 | "myst": " # foo\n",
|
1666 | "html": "<pre><code># foo\n</code></pre>\n"
|
1667 | },
|
1668 | {
|
1669 | "title": "cmark_spec_0.30: ATX headings - example 70",
|
1670 | "mdast": {
|
1671 | "type": "root",
|
1672 | "children": [
|
1673 | {
|
1674 | "type": "paragraph",
|
1675 | "children": [
|
1676 | {
|
1677 | "type": "text",
|
1678 | "value": "foo\n# bar"
|
1679 | }
|
1680 | ]
|
1681 | }
|
1682 | ]
|
1683 | },
|
1684 | "myst": "foo\n # bar\n",
|
1685 | "html": "<p>foo\n# bar</p>\n"
|
1686 | },
|
1687 | {
|
1688 | "title": "cmark_spec_0.30: ATX headings - example 71",
|
1689 | "mdast": {
|
1690 | "type": "root",
|
1691 | "children": [
|
1692 | {
|
1693 | "type": "heading",
|
1694 | "depth": 2,
|
1695 | "children": [
|
1696 | {
|
1697 | "type": "text",
|
1698 | "value": "foo"
|
1699 | }
|
1700 | ]
|
1701 | },
|
1702 | {
|
1703 | "type": "heading",
|
1704 | "depth": 3,
|
1705 | "children": [
|
1706 | {
|
1707 | "type": "text",
|
1708 | "value": "bar"
|
1709 | }
|
1710 | ]
|
1711 | }
|
1712 | ]
|
1713 | },
|
1714 | "myst": "## foo ##\n ### bar ###\n",
|
1715 | "html": "<h2>foo</h2>\n<h3>bar</h3>\n"
|
1716 | },
|
1717 | {
|
1718 | "title": "cmark_spec_0.30: ATX headings - example 72",
|
1719 | "mdast": {
|
1720 | "type": "root",
|
1721 | "children": [
|
1722 | {
|
1723 | "type": "heading",
|
1724 | "depth": 1,
|
1725 | "children": [
|
1726 | {
|
1727 | "type": "text",
|
1728 | "value": "foo"
|
1729 | }
|
1730 | ]
|
1731 | },
|
1732 | {
|
1733 | "type": "heading",
|
1734 | "depth": 5,
|
1735 | "children": [
|
1736 | {
|
1737 | "type": "text",
|
1738 | "value": "foo"
|
1739 | }
|
1740 | ]
|
1741 | }
|
1742 | ]
|
1743 | },
|
1744 | "myst": "# foo ##################################\n##### foo ##\n",
|
1745 | "html": "<h1>foo</h1>\n<h5>foo</h5>\n"
|
1746 | },
|
1747 | {
|
1748 | "title": "cmark_spec_0.30: ATX headings - example 73",
|
1749 | "mdast": {
|
1750 | "type": "root",
|
1751 | "children": [
|
1752 | {
|
1753 | "type": "heading",
|
1754 | "depth": 3,
|
1755 | "children": [
|
1756 | {
|
1757 | "type": "text",
|
1758 | "value": "foo"
|
1759 | }
|
1760 | ]
|
1761 | }
|
1762 | ]
|
1763 | },
|
1764 | "myst": "### foo ###\n",
|
1765 | "html": "<h3>foo</h3>\n"
|
1766 | },
|
1767 | {
|
1768 | "title": "cmark_spec_0.30: ATX headings - example 74",
|
1769 | "mdast": {
|
1770 | "type": "root",
|
1771 | "children": [
|
1772 | {
|
1773 | "type": "heading",
|
1774 | "depth": 3,
|
1775 | "children": [
|
1776 | {
|
1777 | "type": "text",
|
1778 | "value": "foo ### b"
|
1779 | }
|
1780 | ]
|
1781 | }
|
1782 | ]
|
1783 | },
|
1784 | "myst": "### foo ### b\n",
|
1785 | "html": "<h3>foo ### b</h3>\n"
|
1786 | },
|
1787 | {
|
1788 | "title": "cmark_spec_0.30: ATX headings - example 75",
|
1789 | "mdast": {
|
1790 | "type": "root",
|
1791 | "children": [
|
1792 | {
|
1793 | "type": "heading",
|
1794 | "depth": 1,
|
1795 | "children": [
|
1796 | {
|
1797 | "type": "text",
|
1798 | "value": "foo#"
|
1799 | }
|
1800 | ]
|
1801 | }
|
1802 | ]
|
1803 | },
|
1804 | "myst": "# foo#\n",
|
1805 | "html": "<h1>foo#</h1>\n"
|
1806 | },
|
1807 | {
|
1808 | "title": "cmark_spec_0.30: ATX headings - example 76",
|
1809 | "mdast": {
|
1810 | "type": "root",
|
1811 | "children": [
|
1812 | {
|
1813 | "type": "heading",
|
1814 | "depth": 3,
|
1815 | "children": [
|
1816 | {
|
1817 | "type": "text",
|
1818 | "value": "foo ###"
|
1819 | }
|
1820 | ]
|
1821 | },
|
1822 | {
|
1823 | "type": "heading",
|
1824 | "depth": 2,
|
1825 | "children": [
|
1826 | {
|
1827 | "type": "text",
|
1828 | "value": "foo ###"
|
1829 | }
|
1830 | ]
|
1831 | },
|
1832 | {
|
1833 | "type": "heading",
|
1834 | "depth": 1,
|
1835 | "children": [
|
1836 | {
|
1837 | "type": "text",
|
1838 | "value": "foo #"
|
1839 | }
|
1840 | ]
|
1841 | }
|
1842 | ]
|
1843 | },
|
1844 | "myst": "### foo \\###\n## foo #\\##\n# foo \\#\n",
|
1845 | "html": "<h3>foo ###</h3>\n<h2>foo ###</h2>\n<h1>foo #</h1>\n"
|
1846 | },
|
1847 | {
|
1848 | "title": "cmark_spec_0.30: ATX headings - example 77",
|
1849 | "mdast": {
|
1850 | "type": "root",
|
1851 | "children": [
|
1852 | {
|
1853 | "type": "thematicBreak"
|
1854 | },
|
1855 | {
|
1856 | "type": "heading",
|
1857 | "depth": 2,
|
1858 | "children": [
|
1859 | {
|
1860 | "type": "text",
|
1861 | "value": "foo"
|
1862 | }
|
1863 | ]
|
1864 | },
|
1865 | {
|
1866 | "type": "thematicBreak"
|
1867 | }
|
1868 | ]
|
1869 | },
|
1870 | "myst": "****\n## foo\n****\n",
|
1871 | "html": "<hr />\n<h2>foo</h2>\n<hr />\n"
|
1872 | },
|
1873 | {
|
1874 | "title": "cmark_spec_0.30: ATX headings - example 78",
|
1875 | "mdast": {
|
1876 | "type": "root",
|
1877 | "children": [
|
1878 | {
|
1879 | "type": "paragraph",
|
1880 | "children": [
|
1881 | {
|
1882 | "type": "text",
|
1883 | "value": "Foo bar"
|
1884 | }
|
1885 | ]
|
1886 | },
|
1887 | {
|
1888 | "type": "heading",
|
1889 | "depth": 1,
|
1890 | "children": [
|
1891 | {
|
1892 | "type": "text",
|
1893 | "value": "baz"
|
1894 | }
|
1895 | ]
|
1896 | },
|
1897 | {
|
1898 | "type": "paragraph",
|
1899 | "children": [
|
1900 | {
|
1901 | "type": "text",
|
1902 | "value": "Bar foo"
|
1903 | }
|
1904 | ]
|
1905 | }
|
1906 | ]
|
1907 | },
|
1908 | "myst": "Foo bar\n# baz\nBar foo\n",
|
1909 | "html": "<p>Foo bar</p>\n<h1>baz</h1>\n<p>Bar foo</p>\n"
|
1910 | },
|
1911 | {
|
1912 | "title": "cmark_spec_0.30: ATX headings - example 79",
|
1913 | "mdast": {
|
1914 | "type": "root",
|
1915 | "children": [
|
1916 | {
|
1917 | "type": "heading",
|
1918 | "depth": 2,
|
1919 | "children": []
|
1920 | },
|
1921 | {
|
1922 | "type": "heading",
|
1923 | "depth": 1,
|
1924 | "children": []
|
1925 | },
|
1926 | {
|
1927 | "type": "heading",
|
1928 | "depth": 3,
|
1929 | "children": []
|
1930 | }
|
1931 | ]
|
1932 | },
|
1933 | "myst": "## \n#\n### ###\n",
|
1934 | "html": "<h2></h2>\n<h1></h1>\n<h3></h3>\n"
|
1935 | },
|
1936 | {
|
1937 | "title": "cmark_spec_0.30: Setext headings - example 80",
|
1938 | "mdast": {
|
1939 | "type": "root",
|
1940 | "children": [
|
1941 | {
|
1942 | "type": "heading",
|
1943 | "depth": 1,
|
1944 | "children": [
|
1945 | {
|
1946 | "type": "text",
|
1947 | "value": "Foo "
|
1948 | },
|
1949 | {
|
1950 | "type": "emphasis",
|
1951 | "children": [
|
1952 | {
|
1953 | "type": "text",
|
1954 | "value": "bar"
|
1955 | }
|
1956 | ]
|
1957 | }
|
1958 | ]
|
1959 | },
|
1960 | {
|
1961 | "type": "heading",
|
1962 | "depth": 2,
|
1963 | "children": [
|
1964 | {
|
1965 | "type": "text",
|
1966 | "value": "Foo "
|
1967 | },
|
1968 | {
|
1969 | "type": "emphasis",
|
1970 | "children": [
|
1971 | {
|
1972 | "type": "text",
|
1973 | "value": "bar"
|
1974 | }
|
1975 | ]
|
1976 | }
|
1977 | ]
|
1978 | }
|
1979 | ]
|
1980 | },
|
1981 | "myst": "Foo *bar*\n=========\n\nFoo *bar*\n---------\n",
|
1982 | "html": "<h1>Foo <em>bar</em></h1>\n<h2>Foo <em>bar</em></h2>\n"
|
1983 | },
|
1984 | {
|
1985 | "title": "cmark_spec_0.30: Setext headings - example 81",
|
1986 | "mdast": {
|
1987 | "type": "root",
|
1988 | "children": [
|
1989 | {
|
1990 | "type": "heading",
|
1991 | "depth": 1,
|
1992 | "children": [
|
1993 | {
|
1994 | "type": "text",
|
1995 | "value": "Foo "
|
1996 | },
|
1997 | {
|
1998 | "type": "emphasis",
|
1999 | "children": [
|
2000 | {
|
2001 | "type": "text",
|
2002 | "value": "bar\nbaz"
|
2003 | }
|
2004 | ]
|
2005 | }
|
2006 | ]
|
2007 | }
|
2008 | ]
|
2009 | },
|
2010 | "myst": "Foo *bar\nbaz*\n====\n",
|
2011 | "html": "<h1>Foo <em>bar\nbaz</em></h1>\n"
|
2012 | },
|
2013 | {
|
2014 | "title": "cmark_spec_0.30: Setext headings - example 82",
|
2015 | "mdast": {
|
2016 | "type": "root",
|
2017 | "children": [
|
2018 | {
|
2019 | "type": "heading",
|
2020 | "depth": 1,
|
2021 | "children": [
|
2022 | {
|
2023 | "type": "text",
|
2024 | "value": "Foo "
|
2025 | },
|
2026 | {
|
2027 | "type": "emphasis",
|
2028 | "children": [
|
2029 | {
|
2030 | "type": "text",
|
2031 | "value": "bar\nbaz"
|
2032 | }
|
2033 | ]
|
2034 | }
|
2035 | ]
|
2036 | }
|
2037 | ]
|
2038 | },
|
2039 | "myst": " Foo *bar\nbaz*\t\n====\n",
|
2040 | "html": "<h1>Foo <em>bar\nbaz</em></h1>\n"
|
2041 | },
|
2042 | {
|
2043 | "title": "cmark_spec_0.30: Setext headings - example 83",
|
2044 | "mdast": {
|
2045 | "type": "root",
|
2046 | "children": [
|
2047 | {
|
2048 | "type": "heading",
|
2049 | "depth": 2,
|
2050 | "children": [
|
2051 | {
|
2052 | "type": "text",
|
2053 | "value": "Foo"
|
2054 | }
|
2055 | ]
|
2056 | },
|
2057 | {
|
2058 | "type": "heading",
|
2059 | "depth": 1,
|
2060 | "children": [
|
2061 | {
|
2062 | "type": "text",
|
2063 | "value": "Foo"
|
2064 | }
|
2065 | ]
|
2066 | }
|
2067 | ]
|
2068 | },
|
2069 | "myst": "Foo\n-------------------------\n\nFoo\n=\n",
|
2070 | "html": "<h2>Foo</h2>\n<h1>Foo</h1>\n"
|
2071 | },
|
2072 | {
|
2073 | "title": "cmark_spec_0.30: Setext headings - example 84",
|
2074 | "mdast": {
|
2075 | "type": "root",
|
2076 | "children": [
|
2077 | {
|
2078 | "type": "heading",
|
2079 | "depth": 2,
|
2080 | "children": [
|
2081 | {
|
2082 | "type": "text",
|
2083 | "value": "Foo"
|
2084 | }
|
2085 | ]
|
2086 | },
|
2087 | {
|
2088 | "type": "heading",
|
2089 | "depth": 2,
|
2090 | "children": [
|
2091 | {
|
2092 | "type": "text",
|
2093 | "value": "Foo"
|
2094 | }
|
2095 | ]
|
2096 | },
|
2097 | {
|
2098 | "type": "heading",
|
2099 | "depth": 1,
|
2100 | "children": [
|
2101 | {
|
2102 | "type": "text",
|
2103 | "value": "Foo"
|
2104 | }
|
2105 | ]
|
2106 | }
|
2107 | ]
|
2108 | },
|
2109 | "myst": " Foo\n---\n\n Foo\n-----\n\n Foo\n ===\n",
|
2110 | "html": "<h2>Foo</h2>\n<h2>Foo</h2>\n<h1>Foo</h1>\n"
|
2111 | },
|
2112 | {
|
2113 | "title": "cmark_spec_0.30: Setext headings - example 85",
|
2114 | "mdast": {
|
2115 | "type": "root",
|
2116 | "children": [
|
2117 | {
|
2118 | "type": "code",
|
2119 | "lang": "",
|
2120 | "value": "Foo\n---\n\nFoo"
|
2121 | },
|
2122 | {
|
2123 | "type": "thematicBreak"
|
2124 | }
|
2125 | ]
|
2126 | },
|
2127 | "myst": " Foo\n ---\n\n Foo\n---\n",
|
2128 | "html": "<pre><code>Foo\n---\n\nFoo\n</code></pre>\n<hr />\n"
|
2129 | },
|
2130 | {
|
2131 | "title": "cmark_spec_0.30: Setext headings - example 86",
|
2132 | "mdast": {
|
2133 | "type": "root",
|
2134 | "children": [
|
2135 | {
|
2136 | "type": "heading",
|
2137 | "depth": 2,
|
2138 | "children": [
|
2139 | {
|
2140 | "type": "text",
|
2141 | "value": "Foo"
|
2142 | }
|
2143 | ]
|
2144 | }
|
2145 | ]
|
2146 | },
|
2147 | "myst": "Foo\n ----\n",
|
2148 | "html": "<h2>Foo</h2>\n"
|
2149 | },
|
2150 | {
|
2151 | "title": "cmark_spec_0.30: Setext headings - example 87",
|
2152 | "mdast": {
|
2153 | "type": "root",
|
2154 | "children": [
|
2155 | {
|
2156 | "type": "paragraph",
|
2157 | "children": [
|
2158 | {
|
2159 | "type": "text",
|
2160 | "value": "Foo\n---"
|
2161 | }
|
2162 | ]
|
2163 | }
|
2164 | ]
|
2165 | },
|
2166 | "myst": "Foo\n ---\n",
|
2167 | "html": "<p>Foo\n---</p>\n"
|
2168 | },
|
2169 | {
|
2170 | "title": "cmark_spec_0.30: Setext headings - example 88",
|
2171 | "mdast": {
|
2172 | "type": "root",
|
2173 | "children": [
|
2174 | {
|
2175 | "type": "paragraph",
|
2176 | "children": [
|
2177 | {
|
2178 | "type": "text",
|
2179 | "value": "Foo\n= ="
|
2180 | }
|
2181 | ]
|
2182 | },
|
2183 | {
|
2184 | "type": "paragraph",
|
2185 | "children": [
|
2186 | {
|
2187 | "type": "text",
|
2188 | "value": "Foo"
|
2189 | }
|
2190 | ]
|
2191 | },
|
2192 | {
|
2193 | "type": "thematicBreak"
|
2194 | }
|
2195 | ]
|
2196 | },
|
2197 | "myst": "Foo\n= =\n\nFoo\n--- -\n",
|
2198 | "html": "<p>Foo\n= =</p>\n<p>Foo</p>\n<hr />\n"
|
2199 | },
|
2200 | {
|
2201 | "title": "cmark_spec_0.30: Setext headings - example 89",
|
2202 | "mdast": {
|
2203 | "type": "root",
|
2204 | "children": [
|
2205 | {
|
2206 | "type": "heading",
|
2207 | "depth": 2,
|
2208 | "children": [
|
2209 | {
|
2210 | "type": "text",
|
2211 | "value": "Foo"
|
2212 | }
|
2213 | ]
|
2214 | }
|
2215 | ]
|
2216 | },
|
2217 | "myst": "Foo \n-----\n",
|
2218 | "html": "<h2>Foo</h2>\n"
|
2219 | },
|
2220 | {
|
2221 | "title": "cmark_spec_0.30: Setext headings - example 90",
|
2222 | "mdast": {
|
2223 | "type": "root",
|
2224 | "children": [
|
2225 | {
|
2226 | "type": "heading",
|
2227 | "depth": 2,
|
2228 | "children": [
|
2229 | {
|
2230 | "type": "text",
|
2231 | "value": "Foo\\"
|
2232 | }
|
2233 | ]
|
2234 | }
|
2235 | ]
|
2236 | },
|
2237 | "myst": "Foo\\\n----\n",
|
2238 | "html": "<h2>Foo\\</h2>\n"
|
2239 | },
|
2240 | {
|
2241 | "title": "cmark_spec_0.30: Setext headings - example 91",
|
2242 | "mdast": {
|
2243 | "type": "root",
|
2244 | "children": [
|
2245 | {
|
2246 | "type": "heading",
|
2247 | "depth": 2,
|
2248 | "children": [
|
2249 | {
|
2250 | "type": "text",
|
2251 | "value": "`Foo"
|
2252 | }
|
2253 | ]
|
2254 | },
|
2255 | {
|
2256 | "type": "paragraph",
|
2257 | "children": [
|
2258 | {
|
2259 | "type": "text",
|
2260 | "value": "`"
|
2261 | }
|
2262 | ]
|
2263 | },
|
2264 | {
|
2265 | "type": "heading",
|
2266 | "depth": 2,
|
2267 | "children": [
|
2268 | {
|
2269 | "type": "text",
|
2270 | "value": "<a title=\"a lot"
|
2271 | }
|
2272 | ]
|
2273 | },
|
2274 | {
|
2275 | "type": "paragraph",
|
2276 | "children": [
|
2277 | {
|
2278 | "type": "text",
|
2279 | "value": "of dashes\"/>"
|
2280 | }
|
2281 | ]
|
2282 | }
|
2283 | ]
|
2284 | },
|
2285 | "myst": "`Foo\n----\n`\n\n<a title=\"a lot\n---\nof dashes\"/>\n",
|
2286 | "html": "<h2>`Foo</h2>\n<p>`</p>\n<h2><a title="a lot</h2>\n<p>of dashes"/></p>\n"
|
2287 | },
|
2288 | {
|
2289 | "title": "cmark_spec_0.30: Setext headings - example 92",
|
2290 | "mdast": {
|
2291 | "type": "root",
|
2292 | "children": [
|
2293 | {
|
2294 | "type": "blockquote",
|
2295 | "children": [
|
2296 | {
|
2297 | "type": "paragraph",
|
2298 | "children": [
|
2299 | {
|
2300 | "type": "text",
|
2301 | "value": "Foo"
|
2302 | }
|
2303 | ]
|
2304 | }
|
2305 | ]
|
2306 | },
|
2307 | {
|
2308 | "type": "thematicBreak"
|
2309 | }
|
2310 | ]
|
2311 | },
|
2312 | "myst": "> Foo\n---\n",
|
2313 | "html": "<blockquote>\n<p>Foo</p>\n</blockquote>\n<hr />\n"
|
2314 | },
|
2315 | {
|
2316 | "title": "cmark_spec_0.30: Setext headings - example 93",
|
2317 | "mdast": {
|
2318 | "type": "root",
|
2319 | "children": [
|
2320 | {
|
2321 | "type": "blockquote",
|
2322 | "children": [
|
2323 | {
|
2324 | "type": "paragraph",
|
2325 | "children": [
|
2326 | {
|
2327 | "type": "text",
|
2328 | "value": "foo\nbar\n==="
|
2329 | }
|
2330 | ]
|
2331 | }
|
2332 | ]
|
2333 | }
|
2334 | ]
|
2335 | },
|
2336 | "myst": "> foo\nbar\n===\n",
|
2337 | "html": "<blockquote>\n<p>foo\nbar\n===</p>\n</blockquote>\n"
|
2338 | },
|
2339 | {
|
2340 | "title": "cmark_spec_0.30: Setext headings - example 94",
|
2341 | "mdast": {
|
2342 | "type": "root",
|
2343 | "children": [
|
2344 | {
|
2345 | "type": "list",
|
2346 | "ordered": false,
|
2347 | "spread": false,
|
2348 | "children": [
|
2349 | {
|
2350 | "type": "listItem",
|
2351 | "spread": true,
|
2352 | "children": [
|
2353 | {
|
2354 | "type": "text",
|
2355 | "value": "Foo"
|
2356 | }
|
2357 | ]
|
2358 | }
|
2359 | ]
|
2360 | },
|
2361 | {
|
2362 | "type": "thematicBreak"
|
2363 | }
|
2364 | ]
|
2365 | },
|
2366 | "myst": "- Foo\n---\n",
|
2367 | "html": "<ul>\n<li>Foo</li>\n</ul>\n<hr />\n"
|
2368 | },
|
2369 | {
|
2370 | "title": "cmark_spec_0.30: Setext headings - example 95",
|
2371 | "mdast": {
|
2372 | "type": "root",
|
2373 | "children": [
|
2374 | {
|
2375 | "type": "heading",
|
2376 | "depth": 2,
|
2377 | "children": [
|
2378 | {
|
2379 | "type": "text",
|
2380 | "value": "Foo\nBar"
|
2381 | }
|
2382 | ]
|
2383 | }
|
2384 | ]
|
2385 | },
|
2386 | "myst": "Foo\nBar\n---\n",
|
2387 | "html": "<h2>Foo\nBar</h2>\n"
|
2388 | },
|
2389 | {
|
2390 | "title": "cmark_spec_0.30: Setext headings - example 96",
|
2391 | "mdast": {
|
2392 | "type": "root",
|
2393 | "children": [
|
2394 | {
|
2395 | "type": "thematicBreak"
|
2396 | },
|
2397 | {
|
2398 | "type": "heading",
|
2399 | "depth": 2,
|
2400 | "children": [
|
2401 | {
|
2402 | "type": "text",
|
2403 | "value": "Foo"
|
2404 | }
|
2405 | ]
|
2406 | },
|
2407 | {
|
2408 | "type": "heading",
|
2409 | "depth": 2,
|
2410 | "children": [
|
2411 | {
|
2412 | "type": "text",
|
2413 | "value": "Bar"
|
2414 | }
|
2415 | ]
|
2416 | },
|
2417 | {
|
2418 | "type": "paragraph",
|
2419 | "children": [
|
2420 | {
|
2421 | "type": "text",
|
2422 | "value": "Baz"
|
2423 | }
|
2424 | ]
|
2425 | }
|
2426 | ]
|
2427 | },
|
2428 | "myst": "---\nFoo\n---\nBar\n---\nBaz\n",
|
2429 | "html": "<hr />\n<h2>Foo</h2>\n<h2>Bar</h2>\n<p>Baz</p>\n"
|
2430 | },
|
2431 | {
|
2432 | "title": "cmark_spec_0.30: Setext headings - example 97",
|
2433 | "mdast": {
|
2434 | "type": "root",
|
2435 | "children": [
|
2436 | {
|
2437 | "type": "paragraph",
|
2438 | "children": [
|
2439 | {
|
2440 | "type": "text",
|
2441 | "value": "===="
|
2442 | }
|
2443 | ]
|
2444 | }
|
2445 | ]
|
2446 | },
|
2447 | "myst": "\n====\n",
|
2448 | "html": "<p>====</p>\n"
|
2449 | },
|
2450 | {
|
2451 | "title": "cmark_spec_0.30: Setext headings - example 98",
|
2452 | "mdast": {
|
2453 | "type": "root",
|
2454 | "children": [
|
2455 | {
|
2456 | "type": "thematicBreak"
|
2457 | },
|
2458 | {
|
2459 | "type": "thematicBreak"
|
2460 | }
|
2461 | ]
|
2462 | },
|
2463 | "myst": "---\n---\n",
|
2464 | "html": "<hr />\n<hr />\n"
|
2465 | },
|
2466 | {
|
2467 | "title": "cmark_spec_0.30: Setext headings - example 99",
|
2468 | "mdast": {
|
2469 | "type": "root",
|
2470 | "children": [
|
2471 | {
|
2472 | "type": "list",
|
2473 | "ordered": false,
|
2474 | "spread": false,
|
2475 | "children": [
|
2476 | {
|
2477 | "type": "listItem",
|
2478 | "spread": true,
|
2479 | "children": [
|
2480 | {
|
2481 | "type": "text",
|
2482 | "value": "foo"
|
2483 | }
|
2484 | ]
|
2485 | }
|
2486 | ]
|
2487 | },
|
2488 | {
|
2489 | "type": "thematicBreak"
|
2490 | }
|
2491 | ]
|
2492 | },
|
2493 | "myst": "- foo\n-----\n",
|
2494 | "html": "<ul>\n<li>foo</li>\n</ul>\n<hr />\n"
|
2495 | },
|
2496 | {
|
2497 | "title": "cmark_spec_0.30: Setext headings - example 100",
|
2498 | "mdast": {
|
2499 | "type": "root",
|
2500 | "children": [
|
2501 | {
|
2502 | "type": "code",
|
2503 | "lang": "",
|
2504 | "value": "foo"
|
2505 | },
|
2506 | {
|
2507 | "type": "thematicBreak"
|
2508 | }
|
2509 | ]
|
2510 | },
|
2511 | "myst": " foo\n---\n",
|
2512 | "html": "<pre><code>foo\n</code></pre>\n<hr />\n"
|
2513 | },
|
2514 | {
|
2515 | "title": "cmark_spec_0.30: Setext headings - example 101",
|
2516 | "mdast": {
|
2517 | "type": "root",
|
2518 | "children": [
|
2519 | {
|
2520 | "type": "blockquote",
|
2521 | "children": [
|
2522 | {
|
2523 | "type": "paragraph",
|
2524 | "children": [
|
2525 | {
|
2526 | "type": "text",
|
2527 | "value": "foo"
|
2528 | }
|
2529 | ]
|
2530 | }
|
2531 | ]
|
2532 | },
|
2533 | {
|
2534 | "type": "thematicBreak"
|
2535 | }
|
2536 | ]
|
2537 | },
|
2538 | "myst": "> foo\n-----\n",
|
2539 | "html": "<blockquote>\n<p>foo</p>\n</blockquote>\n<hr />\n"
|
2540 | },
|
2541 | {
|
2542 | "title": "cmark_spec_0.30: Setext headings - example 102",
|
2543 | "mdast": {
|
2544 | "type": "root",
|
2545 | "children": [
|
2546 | {
|
2547 | "type": "heading",
|
2548 | "depth": 2,
|
2549 | "children": [
|
2550 | {
|
2551 | "type": "text",
|
2552 | "value": "> foo"
|
2553 | }
|
2554 | ]
|
2555 | }
|
2556 | ]
|
2557 | },
|
2558 | "myst": "\\> foo\n------\n",
|
2559 | "html": "<h2>> foo</h2>\n"
|
2560 | },
|
2561 | {
|
2562 | "title": "cmark_spec_0.30: Setext headings - example 103",
|
2563 | "mdast": {
|
2564 | "type": "root",
|
2565 | "children": [
|
2566 | {
|
2567 | "type": "paragraph",
|
2568 | "children": [
|
2569 | {
|
2570 | "type": "text",
|
2571 | "value": "Foo"
|
2572 | }
|
2573 | ]
|
2574 | },
|
2575 | {
|
2576 | "type": "heading",
|
2577 | "depth": 2,
|
2578 | "children": [
|
2579 | {
|
2580 | "type": "text",
|
2581 | "value": "bar"
|
2582 | }
|
2583 | ]
|
2584 | },
|
2585 | {
|
2586 | "type": "paragraph",
|
2587 | "children": [
|
2588 | {
|
2589 | "type": "text",
|
2590 | "value": "baz"
|
2591 | }
|
2592 | ]
|
2593 | }
|
2594 | ]
|
2595 | },
|
2596 | "myst": "Foo\n\nbar\n---\nbaz\n",
|
2597 | "html": "<p>Foo</p>\n<h2>bar</h2>\n<p>baz</p>\n"
|
2598 | },
|
2599 | {
|
2600 | "title": "cmark_spec_0.30: Setext headings - example 104",
|
2601 | "mdast": {
|
2602 | "type": "root",
|
2603 | "children": [
|
2604 | {
|
2605 | "type": "paragraph",
|
2606 | "children": [
|
2607 | {
|
2608 | "type": "text",
|
2609 | "value": "Foo\nbar"
|
2610 | }
|
2611 | ]
|
2612 | },
|
2613 | {
|
2614 | "type": "thematicBreak"
|
2615 | },
|
2616 | {
|
2617 | "type": "paragraph",
|
2618 | "children": [
|
2619 | {
|
2620 | "type": "text",
|
2621 | "value": "baz"
|
2622 | }
|
2623 | ]
|
2624 | }
|
2625 | ]
|
2626 | },
|
2627 | "myst": "Foo\nbar\n\n---\n\nbaz\n",
|
2628 | "html": "<p>Foo\nbar</p>\n<hr />\n<p>baz</p>\n"
|
2629 | },
|
2630 | {
|
2631 | "title": "cmark_spec_0.30: Setext headings - example 105",
|
2632 | "mdast": {
|
2633 | "type": "root",
|
2634 | "children": [
|
2635 | {
|
2636 | "type": "paragraph",
|
2637 | "children": [
|
2638 | {
|
2639 | "type": "text",
|
2640 | "value": "Foo\nbar"
|
2641 | }
|
2642 | ]
|
2643 | },
|
2644 | {
|
2645 | "type": "thematicBreak"
|
2646 | },
|
2647 | {
|
2648 | "type": "paragraph",
|
2649 | "children": [
|
2650 | {
|
2651 | "type": "text",
|
2652 | "value": "baz"
|
2653 | }
|
2654 | ]
|
2655 | }
|
2656 | ]
|
2657 | },
|
2658 | "myst": "Foo\nbar\n* * *\nbaz\n",
|
2659 | "html": "<p>Foo\nbar</p>\n<hr />\n<p>baz</p>\n"
|
2660 | },
|
2661 | {
|
2662 | "title": "cmark_spec_0.30: Setext headings - example 106",
|
2663 | "mdast": {
|
2664 | "type": "root",
|
2665 | "children": [
|
2666 | {
|
2667 | "type": "paragraph",
|
2668 | "children": [
|
2669 | {
|
2670 | "type": "text",
|
2671 | "value": "Foo\nbar\n---\nbaz"
|
2672 | }
|
2673 | ]
|
2674 | }
|
2675 | ]
|
2676 | },
|
2677 | "myst": "Foo\nbar\n\\---\nbaz\n",
|
2678 | "html": "<p>Foo\nbar\n---\nbaz</p>\n"
|
2679 | },
|
2680 | {
|
2681 | "title": "cmark_spec_0.30: Indented code blocks - example 107",
|
2682 | "mdast": {
|
2683 | "type": "root",
|
2684 | "children": [
|
2685 | {
|
2686 | "type": "code",
|
2687 | "lang": "",
|
2688 | "value": "a simple\n indented code block"
|
2689 | }
|
2690 | ]
|
2691 | },
|
2692 | "myst": " a simple\n indented code block\n",
|
2693 | "html": "<pre><code>a simple\n indented code block\n</code></pre>\n"
|
2694 | },
|
2695 | {
|
2696 | "title": "cmark_spec_0.30: Indented code blocks - example 108",
|
2697 | "mdast": {
|
2698 | "type": "root",
|
2699 | "children": [
|
2700 | {
|
2701 | "type": "list",
|
2702 | "ordered": false,
|
2703 | "spread": false,
|
2704 | "children": [
|
2705 | {
|
2706 | "type": "listItem",
|
2707 | "spread": true,
|
2708 | "children": [
|
2709 | {
|
2710 | "type": "paragraph",
|
2711 | "children": [
|
2712 | {
|
2713 | "type": "text",
|
2714 | "value": "foo"
|
2715 | }
|
2716 | ]
|
2717 | },
|
2718 | {
|
2719 | "type": "paragraph",
|
2720 | "children": [
|
2721 | {
|
2722 | "type": "text",
|
2723 | "value": "bar"
|
2724 | }
|
2725 | ]
|
2726 | }
|
2727 | ]
|
2728 | }
|
2729 | ]
|
2730 | }
|
2731 | ]
|
2732 | },
|
2733 | "myst": " - foo\n\n bar\n",
|
2734 | "html": "<ul>\n<li>\n<p>foo</p>\n<p>bar</p>\n</li>\n</ul>\n"
|
2735 | },
|
2736 | {
|
2737 | "title": "cmark_spec_0.30: Indented code blocks - example 109",
|
2738 | "mdast": {
|
2739 | "type": "root",
|
2740 | "children": [
|
2741 | {
|
2742 | "type": "list",
|
2743 | "ordered": true,
|
2744 | "start": 1,
|
2745 | "spread": false,
|
2746 | "children": [
|
2747 | {
|
2748 | "type": "listItem",
|
2749 | "spread": true,
|
2750 | "children": [
|
2751 | {
|
2752 | "type": "paragraph",
|
2753 | "children": [
|
2754 | {
|
2755 | "type": "text",
|
2756 | "value": "foo"
|
2757 | }
|
2758 | ]
|
2759 | },
|
2760 | {
|
2761 | "type": "list",
|
2762 | "ordered": false,
|
2763 | "spread": false,
|
2764 | "children": [
|
2765 | {
|
2766 | "type": "listItem",
|
2767 | "spread": true,
|
2768 | "children": [
|
2769 | {
|
2770 | "type": "text",
|
2771 | "value": "bar"
|
2772 | }
|
2773 | ]
|
2774 | }
|
2775 | ]
|
2776 | }
|
2777 | ]
|
2778 | }
|
2779 | ]
|
2780 | }
|
2781 | ]
|
2782 | },
|
2783 | "myst": "1. foo\n\n - bar\n",
|
2784 | "html": "<ol>\n<li>\n<p>foo</p>\n<ul>\n<li>bar</li>\n</ul>\n</li>\n</ol>\n"
|
2785 | },
|
2786 | {
|
2787 | "title": "cmark_spec_0.30: Indented code blocks - example 110",
|
2788 | "mdast": {
|
2789 | "type": "root",
|
2790 | "children": [
|
2791 | {
|
2792 | "type": "code",
|
2793 | "lang": "",
|
2794 | "value": "<a/>\n*hi*\n\n- one"
|
2795 | }
|
2796 | ]
|
2797 | },
|
2798 | "myst": " <a/>\n *hi*\n\n - one\n",
|
2799 | "html": "<pre><code><a/>\n*hi*\n\n- one\n</code></pre>\n"
|
2800 | },
|
2801 | {
|
2802 | "title": "cmark_spec_0.30: Indented code blocks - example 111",
|
2803 | "mdast": {
|
2804 | "type": "root",
|
2805 | "children": [
|
2806 | {
|
2807 | "type": "code",
|
2808 | "lang": "",
|
2809 | "value": "chunk1\n\nchunk2\n\n\n\nchunk3"
|
2810 | }
|
2811 | ]
|
2812 | },
|
2813 | "myst": " chunk1\n\n chunk2\n \n \n \n chunk3\n",
|
2814 | "html": "<pre><code>chunk1\n\nchunk2\n\n\n\nchunk3\n</code></pre>\n"
|
2815 | },
|
2816 | {
|
2817 | "title": "cmark_spec_0.30: Indented code blocks - example 112",
|
2818 | "mdast": {
|
2819 | "type": "root",
|
2820 | "children": [
|
2821 | {
|
2822 | "type": "code",
|
2823 | "lang": "",
|
2824 | "value": "chunk1\n \n chunk2"
|
2825 | }
|
2826 | ]
|
2827 | },
|
2828 | "myst": " chunk1\n \n chunk2\n",
|
2829 | "html": "<pre><code>chunk1\n \n chunk2\n</code></pre>\n"
|
2830 | },
|
2831 | {
|
2832 | "title": "cmark_spec_0.30: Indented code blocks - example 113",
|
2833 | "mdast": {
|
2834 | "type": "root",
|
2835 | "children": [
|
2836 | {
|
2837 | "type": "paragraph",
|
2838 | "children": [
|
2839 | {
|
2840 | "type": "text",
|
2841 | "value": "Foo\nbar"
|
2842 | }
|
2843 | ]
|
2844 | }
|
2845 | ]
|
2846 | },
|
2847 | "myst": "Foo\n bar\n\n",
|
2848 | "html": "<p>Foo\nbar</p>\n"
|
2849 | },
|
2850 | {
|
2851 | "title": "cmark_spec_0.30: Indented code blocks - example 114",
|
2852 | "mdast": {
|
2853 | "type": "root",
|
2854 | "children": [
|
2855 | {
|
2856 | "type": "code",
|
2857 | "lang": "",
|
2858 | "value": "foo"
|
2859 | },
|
2860 | {
|
2861 | "type": "paragraph",
|
2862 | "children": [
|
2863 | {
|
2864 | "type": "text",
|
2865 | "value": "bar"
|
2866 | }
|
2867 | ]
|
2868 | }
|
2869 | ]
|
2870 | },
|
2871 | "myst": " foo\nbar\n",
|
2872 | "html": "<pre><code>foo\n</code></pre>\n<p>bar</p>\n"
|
2873 | },
|
2874 | {
|
2875 | "title": "cmark_spec_0.30: Indented code blocks - example 115",
|
2876 | "mdast": {
|
2877 | "type": "root",
|
2878 | "children": [
|
2879 | {
|
2880 | "type": "heading",
|
2881 | "depth": 1,
|
2882 | "children": [
|
2883 | {
|
2884 | "type": "text",
|
2885 | "value": "Heading"
|
2886 | }
|
2887 | ]
|
2888 | },
|
2889 | {
|
2890 | "type": "code",
|
2891 | "lang": "",
|
2892 | "value": "foo"
|
2893 | },
|
2894 | {
|
2895 | "type": "heading",
|
2896 | "depth": 2,
|
2897 | "children": [
|
2898 | {
|
2899 | "type": "text",
|
2900 | "value": "Heading"
|
2901 | }
|
2902 | ]
|
2903 | },
|
2904 | {
|
2905 | "type": "code",
|
2906 | "lang": "",
|
2907 | "value": "foo"
|
2908 | },
|
2909 | {
|
2910 | "type": "thematicBreak"
|
2911 | }
|
2912 | ]
|
2913 | },
|
2914 | "myst": "# Heading\n foo\nHeading\n------\n foo\n----\n",
|
2915 | "html": "<h1>Heading</h1>\n<pre><code>foo\n</code></pre>\n<h2>Heading</h2>\n<pre><code>foo\n</code></pre>\n<hr />\n"
|
2916 | },
|
2917 | {
|
2918 | "title": "cmark_spec_0.30: Indented code blocks - example 116",
|
2919 | "mdast": {
|
2920 | "type": "root",
|
2921 | "children": [
|
2922 | {
|
2923 | "type": "code",
|
2924 | "lang": "",
|
2925 | "value": " foo\nbar"
|
2926 | }
|
2927 | ]
|
2928 | },
|
2929 | "myst": " foo\n bar\n",
|
2930 | "html": "<pre><code> foo\nbar\n</code></pre>\n"
|
2931 | },
|
2932 | {
|
2933 | "title": "cmark_spec_0.30: Indented code blocks - example 117",
|
2934 | "mdast": {
|
2935 | "type": "root",
|
2936 | "children": [
|
2937 | {
|
2938 | "type": "code",
|
2939 | "lang": "",
|
2940 | "value": "foo"
|
2941 | }
|
2942 | ]
|
2943 | },
|
2944 | "myst": "\n \n foo\n \n\n",
|
2945 | "html": "<pre><code>foo\n</code></pre>\n"
|
2946 | },
|
2947 | {
|
2948 | "title": "cmark_spec_0.30: Indented code blocks - example 118",
|
2949 | "mdast": {
|
2950 | "type": "root",
|
2951 | "children": [
|
2952 | {
|
2953 | "type": "code",
|
2954 | "lang": "",
|
2955 | "value": "foo "
|
2956 | }
|
2957 | ]
|
2958 | },
|
2959 | "myst": " foo ",
|
2960 | "html": "<pre><code>foo \n</code></pre>\n"
|
2961 | },
|
2962 | {
|
2963 | "title": "cmark_spec_0.30: Fenced code blocks - example 119",
|
2964 | "mdast": {
|
2965 | "type": "root",
|
2966 | "children": [
|
2967 | {
|
2968 | "type": "code",
|
2969 | "lang": "",
|
2970 | "value": "<\n >"
|
2971 | }
|
2972 | ]
|
2973 | },
|
2974 | "myst": "```\n<\n >\n```\n",
|
2975 | "html": "<pre><code><\n >\n</code></pre>\n"
|
2976 | },
|
2977 | {
|
2978 | "title": "cmark_spec_0.30: Fenced code blocks - example 120",
|
2979 | "mdast": {
|
2980 | "type": "root",
|
2981 | "children": [
|
2982 | {
|
2983 | "type": "code",
|
2984 | "lang": "",
|
2985 | "value": "<\n >"
|
2986 | }
|
2987 | ]
|
2988 | },
|
2989 | "myst": "~~~\n<\n >\n~~~\n",
|
2990 | "html": "<pre><code><\n >\n</code></pre>\n"
|
2991 | },
|
2992 | {
|
2993 | "title": "cmark_spec_0.30: Fenced code blocks - example 121",
|
2994 | "mdast": {
|
2995 | "type": "root",
|
2996 | "children": [
|
2997 | {
|
2998 | "type": "paragraph",
|
2999 | "children": [
|
3000 | {
|
3001 | "type": "inlineCode",
|
3002 | "value": "foo"
|
3003 | }
|
3004 | ]
|
3005 | }
|
3006 | ]
|
3007 | },
|
3008 | "myst": "``\nfoo\n``\n",
|
3009 | "html": "<p><code>foo</code></p>\n"
|
3010 | },
|
3011 | {
|
3012 | "title": "cmark_spec_0.30: Fenced code blocks - example 122",
|
3013 | "mdast": {
|
3014 | "type": "root",
|
3015 | "children": [
|
3016 | {
|
3017 | "type": "code",
|
3018 | "lang": "",
|
3019 | "value": "aaa\n~~~"
|
3020 | }
|
3021 | ]
|
3022 | },
|
3023 | "myst": "```\naaa\n~~~\n```\n",
|
3024 | "html": "<pre><code>aaa\n~~~\n</code></pre>\n"
|
3025 | },
|
3026 | {
|
3027 | "title": "cmark_spec_0.30: Fenced code blocks - example 123",
|
3028 | "mdast": {
|
3029 | "type": "root",
|
3030 | "children": [
|
3031 | {
|
3032 | "type": "code",
|
3033 | "lang": "",
|
3034 | "value": "aaa\n```"
|
3035 | }
|
3036 | ]
|
3037 | },
|
3038 | "myst": "~~~\naaa\n```\n~~~\n",
|
3039 | "html": "<pre><code>aaa\n```\n</code></pre>\n"
|
3040 | },
|
3041 | {
|
3042 | "title": "cmark_spec_0.30: Fenced code blocks - example 124",
|
3043 | "mdast": {
|
3044 | "type": "root",
|
3045 | "children": [
|
3046 | {
|
3047 | "type": "code",
|
3048 | "lang": "",
|
3049 | "value": "aaa\n```"
|
3050 | }
|
3051 | ]
|
3052 | },
|
3053 | "myst": "````\naaa\n```\n``````\n",
|
3054 | "html": "<pre><code>aaa\n```\n</code></pre>\n"
|
3055 | },
|
3056 | {
|
3057 | "title": "cmark_spec_0.30: Fenced code blocks - example 125",
|
3058 | "mdast": {
|
3059 | "type": "root",
|
3060 | "children": [
|
3061 | {
|
3062 | "type": "code",
|
3063 | "lang": "",
|
3064 | "value": "aaa\n~~~"
|
3065 | }
|
3066 | ]
|
3067 | },
|
3068 | "myst": "~~~~\naaa\n~~~\n~~~~\n",
|
3069 | "html": "<pre><code>aaa\n~~~\n</code></pre>\n"
|
3070 | },
|
3071 | {
|
3072 | "title": "cmark_spec_0.30: Fenced code blocks - example 126",
|
3073 | "mdast": {
|
3074 | "type": "root",
|
3075 | "children": [
|
3076 | {
|
3077 | "type": "code",
|
3078 | "lang": "",
|
3079 | "value": ""
|
3080 | }
|
3081 | ]
|
3082 | },
|
3083 | "myst": "```\n",
|
3084 | "html": "<pre><code></code></pre>\n"
|
3085 | },
|
3086 | {
|
3087 | "title": "cmark_spec_0.30: Fenced code blocks - example 127",
|
3088 | "mdast": {
|
3089 | "type": "root",
|
3090 | "children": [
|
3091 | {
|
3092 | "type": "code",
|
3093 | "lang": "",
|
3094 | "value": "\n```\naaa"
|
3095 | }
|
3096 | ]
|
3097 | },
|
3098 | "myst": "`````\n\n```\naaa\n",
|
3099 | "html": "<pre><code>\n```\naaa\n</code></pre>\n"
|
3100 | },
|
3101 | {
|
3102 | "title": "cmark_spec_0.30: Fenced code blocks - example 128",
|
3103 | "mdast": {
|
3104 | "type": "root",
|
3105 | "children": [
|
3106 | {
|
3107 | "type": "blockquote",
|
3108 | "children": [
|
3109 | {
|
3110 | "type": "code",
|
3111 | "lang": "",
|
3112 | "value": "aaa"
|
3113 | }
|
3114 | ]
|
3115 | },
|
3116 | {
|
3117 | "type": "paragraph",
|
3118 | "children": [
|
3119 | {
|
3120 | "type": "text",
|
3121 | "value": "bbb"
|
3122 | }
|
3123 | ]
|
3124 | }
|
3125 | ]
|
3126 | },
|
3127 | "myst": "> ```\n> aaa\n\nbbb\n",
|
3128 | "html": "<blockquote>\n<pre><code>aaa\n</code></pre>\n</blockquote>\n<p>bbb</p>\n"
|
3129 | },
|
3130 | {
|
3131 | "title": "cmark_spec_0.30: Fenced code blocks - example 129",
|
3132 | "mdast": {
|
3133 | "type": "root",
|
3134 | "children": [
|
3135 | {
|
3136 | "type": "code",
|
3137 | "lang": "",
|
3138 | "value": "\n "
|
3139 | }
|
3140 | ]
|
3141 | },
|
3142 | "myst": "```\n\n \n```\n",
|
3143 | "html": "<pre><code>\n \n</code></pre>\n"
|
3144 | },
|
3145 | {
|
3146 | "title": "cmark_spec_0.30: Fenced code blocks - example 130",
|
3147 | "mdast": {
|
3148 | "type": "root",
|
3149 | "children": [
|
3150 | {
|
3151 | "type": "code",
|
3152 | "lang": "",
|
3153 | "value": ""
|
3154 | }
|
3155 | ]
|
3156 | },
|
3157 | "myst": "```\n```\n",
|
3158 | "html": "<pre><code></code></pre>\n"
|
3159 | },
|
3160 | {
|
3161 | "title": "cmark_spec_0.30: Fenced code blocks - example 131",
|
3162 | "mdast": {
|
3163 | "type": "root",
|
3164 | "children": [
|
3165 | {
|
3166 | "type": "code",
|
3167 | "lang": "",
|
3168 | "value": "aaa\naaa"
|
3169 | }
|
3170 | ]
|
3171 | },
|
3172 | "myst": " ```\n aaa\naaa\n```\n",
|
3173 | "html": "<pre><code>aaa\naaa\n</code></pre>\n"
|
3174 | },
|
3175 | {
|
3176 | "title": "cmark_spec_0.30: Fenced code blocks - example 132",
|
3177 | "mdast": {
|
3178 | "type": "root",
|
3179 | "children": [
|
3180 | {
|
3181 | "type": "code",
|
3182 | "lang": "",
|
3183 | "value": "aaa\naaa\naaa"
|
3184 | }
|
3185 | ]
|
3186 | },
|
3187 | "myst": " ```\naaa\n aaa\naaa\n ```\n",
|
3188 | "html": "<pre><code>aaa\naaa\naaa\n</code></pre>\n"
|
3189 | },
|
3190 | {
|
3191 | "title": "cmark_spec_0.30: Fenced code blocks - example 133",
|
3192 | "mdast": {
|
3193 | "type": "root",
|
3194 | "children": [
|
3195 | {
|
3196 | "type": "code",
|
3197 | "lang": "",
|
3198 | "value": "aaa\n aaa\naaa"
|
3199 | }
|
3200 | ]
|
3201 | },
|
3202 | "myst": " ```\n aaa\n aaa\n aaa\n ```\n",
|
3203 | "html": "<pre><code>aaa\n aaa\naaa\n</code></pre>\n"
|
3204 | },
|
3205 | {
|
3206 | "title": "cmark_spec_0.30: Fenced code blocks - example 134",
|
3207 | "mdast": {
|
3208 | "type": "root",
|
3209 | "children": [
|
3210 | {
|
3211 | "type": "code",
|
3212 | "lang": "",
|
3213 | "value": "```\naaa\n```"
|
3214 | }
|
3215 | ]
|
3216 | },
|
3217 | "myst": " ```\n aaa\n ```\n",
|
3218 | "html": "<pre><code>```\naaa\n```\n</code></pre>\n"
|
3219 | },
|
3220 | {
|
3221 | "title": "cmark_spec_0.30: Fenced code blocks - example 135",
|
3222 | "mdast": {
|
3223 | "type": "root",
|
3224 | "children": [
|
3225 | {
|
3226 | "type": "code",
|
3227 | "lang": "",
|
3228 | "value": "aaa"
|
3229 | }
|
3230 | ]
|
3231 | },
|
3232 | "myst": "```\naaa\n ```\n",
|
3233 | "html": "<pre><code>aaa\n</code></pre>\n"
|
3234 | },
|
3235 | {
|
3236 | "title": "cmark_spec_0.30: Fenced code blocks - example 136",
|
3237 | "mdast": {
|
3238 | "type": "root",
|
3239 | "children": [
|
3240 | {
|
3241 | "type": "code",
|
3242 | "lang": "",
|
3243 | "value": "aaa"
|
3244 | }
|
3245 | ]
|
3246 | },
|
3247 | "myst": " ```\naaa\n ```\n",
|
3248 | "html": "<pre><code>aaa\n</code></pre>\n"
|
3249 | },
|
3250 | {
|
3251 | "title": "cmark_spec_0.30: Fenced code blocks - example 137",
|
3252 | "mdast": {
|
3253 | "type": "root",
|
3254 | "children": [
|
3255 | {
|
3256 | "type": "code",
|
3257 | "lang": "",
|
3258 | "value": "aaa\n ```"
|
3259 | }
|
3260 | ]
|
3261 | },
|
3262 | "myst": "```\naaa\n ```\n",
|
3263 | "html": "<pre><code>aaa\n ```\n</code></pre>\n"
|
3264 | },
|
3265 | {
|
3266 | "title": "cmark_spec_0.30: Fenced code blocks - example 138",
|
3267 | "mdast": {
|
3268 | "type": "root",
|
3269 | "children": [
|
3270 | {
|
3271 | "type": "paragraph",
|
3272 | "children": [
|
3273 | {
|
3274 | "type": "inlineCode",
|
3275 | "value": " "
|
3276 | },
|
3277 | {
|
3278 | "type": "text",
|
3279 | "value": "\naaa"
|
3280 | }
|
3281 | ]
|
3282 | }
|
3283 | ]
|
3284 | },
|
3285 | "myst": "``` ```\naaa\n",
|
3286 | "html": "<p><code> </code>\naaa</p>\n"
|
3287 | },
|
3288 | {
|
3289 | "title": "cmark_spec_0.30: Fenced code blocks - example 139",
|
3290 | "mdast": {
|
3291 | "type": "root",
|
3292 | "children": [
|
3293 | {
|
3294 | "type": "code",
|
3295 | "lang": "",
|
3296 | "value": "aaa\n~~~ ~~"
|
3297 | }
|
3298 | ]
|
3299 | },
|
3300 | "myst": "~~~~~~\naaa\n~~~ ~~\n",
|
3301 | "html": "<pre><code>aaa\n~~~ ~~\n</code></pre>\n"
|
3302 | },
|
3303 | {
|
3304 | "title": "cmark_spec_0.30: Fenced code blocks - example 140",
|
3305 | "mdast": {
|
3306 | "type": "root",
|
3307 | "children": [
|
3308 | {
|
3309 | "type": "paragraph",
|
3310 | "children": [
|
3311 | {
|
3312 | "type": "text",
|
3313 | "value": "foo"
|
3314 | }
|
3315 | ]
|
3316 | },
|
3317 | {
|
3318 | "type": "code",
|
3319 | "lang": "",
|
3320 | "value": "bar"
|
3321 | },
|
3322 | {
|
3323 | "type": "paragraph",
|
3324 | "children": [
|
3325 | {
|
3326 | "type": "text",
|
3327 | "value": "baz"
|
3328 | }
|
3329 | ]
|
3330 | }
|
3331 | ]
|
3332 | },
|
3333 | "myst": "foo\n```\nbar\n```\nbaz\n",
|
3334 | "html": "<p>foo</p>\n<pre><code>bar\n</code></pre>\n<p>baz</p>\n"
|
3335 | },
|
3336 | {
|
3337 | "title": "cmark_spec_0.30: Fenced code blocks - example 141",
|
3338 | "mdast": {
|
3339 | "type": "root",
|
3340 | "children": [
|
3341 | {
|
3342 | "type": "heading",
|
3343 | "depth": 2,
|
3344 | "children": [
|
3345 | {
|
3346 | "type": "text",
|
3347 | "value": "foo"
|
3348 | }
|
3349 | ]
|
3350 | },
|
3351 | {
|
3352 | "type": "code",
|
3353 | "lang": "",
|
3354 | "value": "bar"
|
3355 | },
|
3356 | {
|
3357 | "type": "heading",
|
3358 | "depth": 1,
|
3359 | "children": [
|
3360 | {
|
3361 | "type": "text",
|
3362 | "value": "baz"
|
3363 | }
|
3364 | ]
|
3365 | }
|
3366 | ]
|
3367 | },
|
3368 | "myst": "foo\n---\n~~~\nbar\n~~~\n# baz\n",
|
3369 | "html": "<h2>foo</h2>\n<pre><code>bar\n</code></pre>\n<h1>baz</h1>\n"
|
3370 | },
|
3371 | {
|
3372 | "title": "cmark_spec_0.30: Fenced code blocks - example 142",
|
3373 | "mdast": {
|
3374 | "type": "root",
|
3375 | "children": [
|
3376 | {
|
3377 | "type": "code",
|
3378 | "lang": "ruby",
|
3379 | "value": "def foo(x)\n return 3\nend"
|
3380 | }
|
3381 | ]
|
3382 | },
|
3383 | "myst": "```ruby\ndef foo(x)\n return 3\nend\n```\n",
|
3384 | "html": "<pre><code class=\"language-ruby\">def foo(x)\n return 3\nend\n</code></pre>\n"
|
3385 | },
|
3386 | {
|
3387 | "title": "cmark_spec_0.30: Fenced code blocks - example 143",
|
3388 | "mdast": {
|
3389 | "type": "root",
|
3390 | "children": [
|
3391 | {
|
3392 | "type": "code",
|
3393 | "lang": "ruby",
|
3394 | "value": "def foo(x)\n return 3\nend"
|
3395 | }
|
3396 | ]
|
3397 | },
|
3398 | "myst": "~~~~ ruby startline=3 $%@#$\ndef foo(x)\n return 3\nend\n~~~~~~~\n",
|
3399 | "html": "<pre><code class=\"language-ruby\">def foo(x)\n return 3\nend\n</code></pre>\n"
|
3400 | },
|
3401 | {
|
3402 | "title": "cmark_spec_0.30: Fenced code blocks - example 144",
|
3403 | "mdast": {
|
3404 | "type": "root",
|
3405 | "children": [
|
3406 | {
|
3407 | "type": "code",
|
3408 | "lang": ";",
|
3409 | "value": ""
|
3410 | }
|
3411 | ]
|
3412 | },
|
3413 | "myst": "````;\n````\n",
|
3414 | "html": "<pre><code class=\"language-;\"></code></pre>\n"
|
3415 | },
|
3416 | {
|
3417 | "title": "cmark_spec_0.30: Fenced code blocks - example 145",
|
3418 | "mdast": {
|
3419 | "type": "root",
|
3420 | "children": [
|
3421 | {
|
3422 | "type": "paragraph",
|
3423 | "children": [
|
3424 | {
|
3425 | "type": "inlineCode",
|
3426 | "value": "aa"
|
3427 | },
|
3428 | {
|
3429 | "type": "text",
|
3430 | "value": "\nfoo"
|
3431 | }
|
3432 | ]
|
3433 | }
|
3434 | ]
|
3435 | },
|
3436 | "myst": "``` aa ```\nfoo\n",
|
3437 | "html": "<p><code>aa</code>\nfoo</p>\n"
|
3438 | },
|
3439 | {
|
3440 | "title": "cmark_spec_0.30: Fenced code blocks - example 146",
|
3441 | "mdast": {
|
3442 | "type": "root",
|
3443 | "children": [
|
3444 | {
|
3445 | "type": "code",
|
3446 | "lang": "aa",
|
3447 | "value": "foo"
|
3448 | }
|
3449 | ]
|
3450 | },
|
3451 | "myst": "~~~ aa ``` ~~~\nfoo\n~~~\n",
|
3452 | "html": "<pre><code class=\"language-aa\">foo\n</code></pre>\n"
|
3453 | },
|
3454 | {
|
3455 | "title": "cmark_spec_0.30: Fenced code blocks - example 147",
|
3456 | "mdast": {
|
3457 | "type": "root",
|
3458 | "children": [
|
3459 | {
|
3460 | "type": "code",
|
3461 | "lang": "",
|
3462 | "value": "``` aaa"
|
3463 | }
|
3464 | ]
|
3465 | },
|
3466 | "myst": "```\n``` aaa\n```\n",
|
3467 | "html": "<pre><code>``` aaa\n</code></pre>\n"
|
3468 | },
|
3469 | {
|
3470 | "title": "cmark_spec_0.30: HTML blocks - example 148",
|
3471 | "mdast": {
|
3472 | "type": "root",
|
3473 | "children": [
|
3474 | {
|
3475 | "type": "html",
|
3476 | "value": "<table><tr><td>\n<pre>\n**Hello**,"
|
3477 | },
|
3478 | {
|
3479 | "type": "paragraph",
|
3480 | "children": [
|
3481 | {
|
3482 | "type": "emphasis",
|
3483 | "children": [
|
3484 | {
|
3485 | "type": "text",
|
3486 | "value": "world"
|
3487 | }
|
3488 | ]
|
3489 | },
|
3490 | {
|
3491 | "type": "text",
|
3492 | "value": ".\n"
|
3493 | },
|
3494 | {
|
3495 | "type": "html",
|
3496 | "value": "</pre>"
|
3497 | }
|
3498 | ]
|
3499 | },
|
3500 | {
|
3501 | "type": "html",
|
3502 | "value": "</td></tr></table>"
|
3503 | }
|
3504 | ]
|
3505 | },
|
3506 | "myst": "<table><tr><td>\n<pre>\n**Hello**,\n\n_world_.\n</pre>\n</td></tr></table>\n",
|
3507 | "html": "<table><tr><td>\n<pre>\n**Hello**,\n<p><em>world</em>.\n</pre></p>\n</td></tr></table>\n"
|
3508 | },
|
3509 | {
|
3510 | "title": "cmark_spec_0.30: HTML blocks - example 149",
|
3511 | "mdast": {
|
3512 | "type": "root",
|
3513 | "children": [
|
3514 | {
|
3515 | "type": "html",
|
3516 | "value": "<table>\n <tr>\n <td>\n hi\n </td>\n </tr>\n</table>"
|
3517 | },
|
3518 | {
|
3519 | "type": "paragraph",
|
3520 | "children": [
|
3521 | {
|
3522 | "type": "text",
|
3523 | "value": "okay."
|
3524 | }
|
3525 | ]
|
3526 | }
|
3527 | ]
|
3528 | },
|
3529 | "myst": "<table>\n <tr>\n <td>\n hi\n </td>\n </tr>\n</table>\n\nokay.\n",
|
3530 | "html": "<table>\n <tr>\n <td>\n hi\n </td>\n </tr>\n</table>\n<p>okay.</p>\n"
|
3531 | },
|
3532 | {
|
3533 | "title": "cmark_spec_0.30: HTML blocks - example 150",
|
3534 | "mdast": {
|
3535 | "type": "root",
|
3536 | "children": [
|
3537 | {
|
3538 | "type": "html",
|
3539 | "value": " <div>\n *hello*\n <foo><a>"
|
3540 | }
|
3541 | ]
|
3542 | },
|
3543 | "myst": " <div>\n *hello*\n <foo><a>\n",
|
3544 | "html": " <div>\n *hello*\n <foo><a>\n"
|
3545 | },
|
3546 | {
|
3547 | "title": "cmark_spec_0.30: HTML blocks - example 151",
|
3548 | "mdast": {
|
3549 | "type": "root",
|
3550 | "children": [
|
3551 | {
|
3552 | "type": "html",
|
3553 | "value": "</div>\n*foo*"
|
3554 | }
|
3555 | ]
|
3556 | },
|
3557 | "myst": "</div>\n*foo*\n",
|
3558 | "html": "</div>\n*foo*\n"
|
3559 | },
|
3560 | {
|
3561 | "title": "cmark_spec_0.30: HTML blocks - example 152",
|
3562 | "mdast": {
|
3563 | "type": "root",
|
3564 | "children": [
|
3565 | {
|
3566 | "type": "html",
|
3567 | "value": "<DIV CLASS=\"foo\">"
|
3568 | },
|
3569 | {
|
3570 | "type": "paragraph",
|
3571 | "children": [
|
3572 | {
|
3573 | "type": "emphasis",
|
3574 | "children": [
|
3575 | {
|
3576 | "type": "text",
|
3577 | "value": "Markdown"
|
3578 | }
|
3579 | ]
|
3580 | }
|
3581 | ]
|
3582 | },
|
3583 | {
|
3584 | "type": "html",
|
3585 | "value": "</DIV>"
|
3586 | }
|
3587 | ]
|
3588 | },
|
3589 | "myst": "<DIV CLASS=\"foo\">\n\n*Markdown*\n\n</DIV>\n",
|
3590 | "html": "<DIV CLASS=\"foo\">\n<p><em>Markdown</em></p>\n</DIV>\n"
|
3591 | },
|
3592 | {
|
3593 | "title": "cmark_spec_0.30: HTML blocks - example 153",
|
3594 | "mdast": {
|
3595 | "type": "root",
|
3596 | "children": [
|
3597 | {
|
3598 | "type": "html",
|
3599 | "value": "<div id=\"foo\"\n class=\"bar\">\n</div>"
|
3600 | }
|
3601 | ]
|
3602 | },
|
3603 | "myst": "<div id=\"foo\"\n class=\"bar\">\n</div>\n",
|
3604 | "html": "<div id=\"foo\"\n class=\"bar\">\n</div>\n"
|
3605 | },
|
3606 | {
|
3607 | "title": "cmark_spec_0.30: HTML blocks - example 154",
|
3608 | "mdast": {
|
3609 | "type": "root",
|
3610 | "children": [
|
3611 | {
|
3612 | "type": "html",
|
3613 | "value": "<div id=\"foo\" class=\"bar\n baz\">\n</div>"
|
3614 | }
|
3615 | ]
|
3616 | },
|
3617 | "myst": "<div id=\"foo\" class=\"bar\n baz\">\n</div>\n",
|
3618 | "html": "<div id=\"foo\" class=\"bar\n baz\">\n</div>\n"
|
3619 | },
|
3620 | {
|
3621 | "title": "cmark_spec_0.30: HTML blocks - example 155",
|
3622 | "mdast": {
|
3623 | "type": "root",
|
3624 | "children": [
|
3625 | {
|
3626 | "type": "html",
|
3627 | "value": "<div>\n*foo*"
|
3628 | },
|
3629 | {
|
3630 | "type": "paragraph",
|
3631 | "children": [
|
3632 | {
|
3633 | "type": "emphasis",
|
3634 | "children": [
|
3635 | {
|
3636 | "type": "text",
|
3637 | "value": "bar"
|
3638 | }
|
3639 | ]
|
3640 | }
|
3641 | ]
|
3642 | }
|
3643 | ]
|
3644 | },
|
3645 | "myst": "<div>\n*foo*\n\n*bar*\n",
|
3646 | "html": "<div>\n*foo*\n<p><em>bar</em></p>\n"
|
3647 | },
|
3648 | {
|
3649 | "title": "cmark_spec_0.30: HTML blocks - example 156",
|
3650 | "mdast": {
|
3651 | "type": "root",
|
3652 | "children": [
|
3653 | {
|
3654 | "type": "html",
|
3655 | "value": "<div id=\"foo\"\n*hi*"
|
3656 | }
|
3657 | ]
|
3658 | },
|
3659 | "myst": "<div id=\"foo\"\n*hi*\n",
|
3660 | "html": "<div id=\"foo\"\n*hi*\n"
|
3661 | },
|
3662 | {
|
3663 | "title": "cmark_spec_0.30: HTML blocks - example 157",
|
3664 | "mdast": {
|
3665 | "type": "root",
|
3666 | "children": [
|
3667 | {
|
3668 | "type": "html",
|
3669 | "value": "<div class\nfoo"
|
3670 | }
|
3671 | ]
|
3672 | },
|
3673 | "myst": "<div class\nfoo\n",
|
3674 | "html": "<div class\nfoo\n"
|
3675 | },
|
3676 | {
|
3677 | "title": "cmark_spec_0.30: HTML blocks - example 158",
|
3678 | "mdast": {
|
3679 | "type": "root",
|
3680 | "children": [
|
3681 | {
|
3682 | "type": "html",
|
3683 | "value": "<div *???-&&&-<---\n*foo*"
|
3684 | }
|
3685 | ]
|
3686 | },
|
3687 | "myst": "<div *???-&&&-<---\n*foo*\n",
|
3688 | "html": "<div *???-&&&-<---\n*foo*\n"
|
3689 | },
|
3690 | {
|
3691 | "title": "cmark_spec_0.30: HTML blocks - example 159",
|
3692 | "mdast": {
|
3693 | "type": "root",
|
3694 | "children": [
|
3695 | {
|
3696 | "type": "html",
|
3697 | "value": "<div><a href=\"bar\">*foo*</a></div>"
|
3698 | }
|
3699 | ]
|
3700 | },
|
3701 | "myst": "<div><a href=\"bar\">*foo*</a></div>\n",
|
3702 | "html": "<div><a href=\"bar\">*foo*</a></div>\n"
|
3703 | },
|
3704 | {
|
3705 | "title": "cmark_spec_0.30: HTML blocks - example 160",
|
3706 | "mdast": {
|
3707 | "type": "root",
|
3708 | "children": [
|
3709 | {
|
3710 | "type": "html",
|
3711 | "value": "<table><tr><td>\nfoo\n</td></tr></table>"
|
3712 | }
|
3713 | ]
|
3714 | },
|
3715 | "myst": "<table><tr><td>\nfoo\n</td></tr></table>\n",
|
3716 | "html": "<table><tr><td>\nfoo\n</td></tr></table>\n"
|
3717 | },
|
3718 | {
|
3719 | "title": "cmark_spec_0.30: HTML blocks - example 161",
|
3720 | "mdast": {
|
3721 | "type": "root",
|
3722 | "children": [
|
3723 | {
|
3724 | "type": "html",
|
3725 | "value": "<div></div>\n``` c\nint x = 33;\n```"
|
3726 | }
|
3727 | ]
|
3728 | },
|
3729 | "myst": "<div></div>\n``` c\nint x = 33;\n```\n",
|
3730 | "html": "<div></div>\n``` c\nint x = 33;\n```\n"
|
3731 | },
|
3732 | {
|
3733 | "title": "cmark_spec_0.30: HTML blocks - example 162",
|
3734 | "mdast": {
|
3735 | "type": "root",
|
3736 | "children": [
|
3737 | {
|
3738 | "type": "html",
|
3739 | "value": "<a href=\"foo\">\n*bar*\n</a>"
|
3740 | }
|
3741 | ]
|
3742 | },
|
3743 | "myst": "<a href=\"foo\">\n*bar*\n</a>\n",
|
3744 | "html": "<a href=\"foo\">\n*bar*\n</a>\n"
|
3745 | },
|
3746 | {
|
3747 | "title": "cmark_spec_0.30: HTML blocks - example 163",
|
3748 | "mdast": {
|
3749 | "type": "root",
|
3750 | "children": [
|
3751 | {
|
3752 | "type": "html",
|
3753 | "value": "<Warning>\n*bar*\n</Warning>"
|
3754 | }
|
3755 | ]
|
3756 | },
|
3757 | "myst": "<Warning>\n*bar*\n</Warning>\n",
|
3758 | "html": "<Warning>\n*bar*\n</Warning>\n"
|
3759 | },
|
3760 | {
|
3761 | "title": "cmark_spec_0.30: HTML blocks - example 164",
|
3762 | "mdast": {
|
3763 | "type": "root",
|
3764 | "children": [
|
3765 | {
|
3766 | "type": "html",
|
3767 | "value": "<i class=\"foo\">\n*bar*\n</i>"
|
3768 | }
|
3769 | ]
|
3770 | },
|
3771 | "myst": "<i class=\"foo\">\n*bar*\n</i>\n",
|
3772 | "html": "<i class=\"foo\">\n*bar*\n</i>\n"
|
3773 | },
|
3774 | {
|
3775 | "title": "cmark_spec_0.30: HTML blocks - example 165",
|
3776 | "mdast": {
|
3777 | "type": "root",
|
3778 | "children": [
|
3779 | {
|
3780 | "type": "html",
|
3781 | "value": "</ins>\n*bar*"
|
3782 | }
|
3783 | ]
|
3784 | },
|
3785 | "myst": "</ins>\n*bar*\n",
|
3786 | "html": "</ins>\n*bar*\n"
|
3787 | },
|
3788 | {
|
3789 | "title": "cmark_spec_0.30: HTML blocks - example 166",
|
3790 | "mdast": {
|
3791 | "type": "root",
|
3792 | "children": [
|
3793 | {
|
3794 | "type": "html",
|
3795 | "value": "<del>\n*foo*\n</del>"
|
3796 | }
|
3797 | ]
|
3798 | },
|
3799 | "myst": "<del>\n*foo*\n</del>\n",
|
3800 | "html": "<del>\n*foo*\n</del>\n"
|
3801 | },
|
3802 | {
|
3803 | "title": "cmark_spec_0.30: HTML blocks - example 167",
|
3804 | "mdast": {
|
3805 | "type": "root",
|
3806 | "children": [
|
3807 | {
|
3808 | "type": "html",
|
3809 | "value": "<del>"
|
3810 | },
|
3811 | {
|
3812 | "type": "paragraph",
|
3813 | "children": [
|
3814 | {
|
3815 | "type": "emphasis",
|
3816 | "children": [
|
3817 | {
|
3818 | "type": "text",
|
3819 | "value": "foo"
|
3820 | }
|
3821 | ]
|
3822 | }
|
3823 | ]
|
3824 | },
|
3825 | {
|
3826 | "type": "html",
|
3827 | "value": "</del>"
|
3828 | }
|
3829 | ]
|
3830 | },
|
3831 | "myst": "<del>\n\n*foo*\n\n</del>\n",
|
3832 | "html": "<del>\n<p><em>foo</em></p>\n</del>\n"
|
3833 | },
|
3834 | {
|
3835 | "title": "cmark_spec_0.30: HTML blocks - example 168",
|
3836 | "mdast": {
|
3837 | "type": "root",
|
3838 | "children": [
|
3839 | {
|
3840 | "type": "paragraph",
|
3841 | "children": [
|
3842 | {
|
3843 | "type": "html",
|
3844 | "value": "<del>"
|
3845 | },
|
3846 | {
|
3847 | "type": "emphasis",
|
3848 | "children": [
|
3849 | {
|
3850 | "type": "text",
|
3851 | "value": "foo"
|
3852 | }
|
3853 | ]
|
3854 | },
|
3855 | {
|
3856 | "type": "html",
|
3857 | "value": "</del>"
|
3858 | }
|
3859 | ]
|
3860 | }
|
3861 | ]
|
3862 | },
|
3863 | "myst": "<del>*foo*</del>\n",
|
3864 | "html": "<p><del><em>foo</em></del></p>\n"
|
3865 | },
|
3866 | {
|
3867 | "title": "cmark_spec_0.30: HTML blocks - example 169",
|
3868 | "mdast": {
|
3869 | "type": "root",
|
3870 | "children": [
|
3871 | {
|
3872 | "type": "html",
|
3873 | "value": "<pre language=\"haskell\"><code>\nimport Text.HTML.TagSoup\n\nmain :: IO ()\nmain = print $ parseTags tags\n</code></pre>"
|
3874 | },
|
3875 | {
|
3876 | "type": "paragraph",
|
3877 | "children": [
|
3878 | {
|
3879 | "type": "text",
|
3880 | "value": "okay"
|
3881 | }
|
3882 | ]
|
3883 | }
|
3884 | ]
|
3885 | },
|
3886 | "myst": "<pre language=\"haskell\"><code>\nimport Text.HTML.TagSoup\n\nmain :: IO ()\nmain = print $ parseTags tags\n</code></pre>\nokay\n",
|
3887 | "html": "<pre language=\"haskell\"><code>\nimport Text.HTML.TagSoup\n\nmain :: IO ()\nmain = print $ parseTags tags\n</code></pre>\n<p>okay</p>\n"
|
3888 | },
|
3889 | {
|
3890 | "title": "cmark_spec_0.30: HTML blocks - example 170",
|
3891 | "mdast": {
|
3892 | "type": "root",
|
3893 | "children": [
|
3894 | {
|
3895 | "type": "html",
|
3896 | "value": "<script type=\"text/javascript\">\n// JavaScript example\n\ndocument.getElementById(\"demo\").innerHTML = \"Hello JavaScript!\";\n</script>"
|
3897 | },
|
3898 | {
|
3899 | "type": "paragraph",
|
3900 | "children": [
|
3901 | {
|
3902 | "type": "text",
|
3903 | "value": "okay"
|
3904 | }
|
3905 | ]
|
3906 | }
|
3907 | ]
|
3908 | },
|
3909 | "myst": "<script type=\"text/javascript\">\n// JavaScript example\n\ndocument.getElementById(\"demo\").innerHTML = \"Hello JavaScript!\";\n</script>\nokay\n",
|
3910 | "html": "<script type=\"text/javascript\">\n// JavaScript example\n\ndocument.getElementById(\"demo\").innerHTML = \"Hello JavaScript!\";\n</script>\n<p>okay</p>\n"
|
3911 | },
|
3912 | {
|
3913 | "title": "cmark_spec_0.30: HTML blocks - example 171",
|
3914 | "mdast": {
|
3915 | "type": "root",
|
3916 | "children": [
|
3917 | {
|
3918 | "type": "html",
|
3919 | "value": "<textarea>\n\n*foo*\n\n_bar_\n\n</textarea>"
|
3920 | }
|
3921 | ]
|
3922 | },
|
3923 | "myst": "<textarea>\n\n*foo*\n\n_bar_\n\n</textarea>\n",
|
3924 | "html": "<textarea>\n\n*foo*\n\n_bar_\n\n</textarea>\n"
|
3925 | },
|
3926 | {
|
3927 | "title": "cmark_spec_0.30: HTML blocks - example 172",
|
3928 | "mdast": {
|
3929 | "type": "root",
|
3930 | "children": [
|
3931 | {
|
3932 | "type": "html",
|
3933 | "value": "<style\n type=\"text/css\">\nh1 {color:red;}\n\np {color:blue;}\n</style>"
|
3934 | },
|
3935 | {
|
3936 | "type": "paragraph",
|
3937 | "children": [
|
3938 | {
|
3939 | "type": "text",
|
3940 | "value": "okay"
|
3941 | }
|
3942 | ]
|
3943 | }
|
3944 | ]
|
3945 | },
|
3946 | "myst": "<style\n type=\"text/css\">\nh1 {color:red;}\n\np {color:blue;}\n</style>\nokay\n",
|
3947 | "html": "<style\n type=\"text/css\">\nh1 {color:red;}\n\np {color:blue;}\n</style>\n<p>okay</p>\n"
|
3948 | },
|
3949 | {
|
3950 | "title": "cmark_spec_0.30: HTML blocks - example 173",
|
3951 | "mdast": {
|
3952 | "type": "root",
|
3953 | "children": [
|
3954 | {
|
3955 | "type": "html",
|
3956 | "value": "<style\n type=\"text/css\">\n\nfoo"
|
3957 | }
|
3958 | ]
|
3959 | },
|
3960 | "myst": "<style\n type=\"text/css\">\n\nfoo\n",
|
3961 | "html": "<style\n type=\"text/css\">\n\nfoo\n"
|
3962 | },
|
3963 | {
|
3964 | "title": "cmark_spec_0.30: HTML blocks - example 174",
|
3965 | "mdast": {
|
3966 | "type": "root",
|
3967 | "children": [
|
3968 | {
|
3969 | "type": "blockquote",
|
3970 | "children": [
|
3971 | {
|
3972 | "type": "html",
|
3973 | "value": "<div>\nfoo"
|
3974 | }
|
3975 | ]
|
3976 | },
|
3977 | {
|
3978 | "type": "paragraph",
|
3979 | "children": [
|
3980 | {
|
3981 | "type": "text",
|
3982 | "value": "bar"
|
3983 | }
|
3984 | ]
|
3985 | }
|
3986 | ]
|
3987 | },
|
3988 | "myst": "> <div>\n> foo\n\nbar\n",
|
3989 | "html": "<blockquote>\n<div>\nfoo\n</blockquote>\n<p>bar</p>\n"
|
3990 | },
|
3991 | {
|
3992 | "title": "cmark_spec_0.30: HTML blocks - example 175",
|
3993 | "mdast": {
|
3994 | "type": "root",
|
3995 | "children": [
|
3996 | {
|
3997 | "type": "list",
|
3998 | "ordered": false,
|
3999 | "spread": false,
|
4000 | "children": [
|
4001 | {
|
4002 | "type": "listItem",
|
4003 | "spread": true,
|
4004 | "children": [
|
4005 | {
|
4006 | "type": "html",
|
4007 | "value": "<div>"
|
4008 | }
|
4009 | ]
|
4010 | },
|
4011 | {
|
4012 | "type": "listItem",
|
4013 | "spread": true,
|
4014 | "children": [
|
4015 | {
|
4016 | "type": "text",
|
4017 | "value": "foo"
|
4018 | }
|
4019 | ]
|
4020 | }
|
4021 | ]
|
4022 | }
|
4023 | ]
|
4024 | },
|
4025 | "myst": "- <div>\n- foo\n",
|
4026 | "html": "<ul>\n<li>\n<div>\n</li>\n<li>foo</li>\n</ul>\n"
|
4027 | },
|
4028 | {
|
4029 | "title": "cmark_spec_0.30: HTML blocks - example 176",
|
4030 | "mdast": {
|
4031 | "type": "root",
|
4032 | "children": [
|
4033 | {
|
4034 | "type": "html",
|
4035 | "value": "<style>p{color:red;}</style>"
|
4036 | },
|
4037 | {
|
4038 | "type": "paragraph",
|
4039 | "children": [
|
4040 | {
|
4041 | "type": "emphasis",
|
4042 | "children": [
|
4043 | {
|
4044 | "type": "text",
|
4045 | "value": "foo"
|
4046 | }
|
4047 | ]
|
4048 | }
|
4049 | ]
|
4050 | }
|
4051 | ]
|
4052 | },
|
4053 | "myst": "<style>p{color:red;}</style>\n*foo*\n",
|
4054 | "html": "<style>p{color:red;}</style>\n<p><em>foo</em></p>\n"
|
4055 | },
|
4056 | {
|
4057 | "title": "cmark_spec_0.30: HTML blocks - example 177",
|
4058 | "mdast": {
|
4059 | "type": "root",
|
4060 | "children": [
|
4061 | {
|
4062 | "type": "html",
|
4063 | "value": "<!-- foo -->*bar*"
|
4064 | },
|
4065 | {
|
4066 | "type": "paragraph",
|
4067 | "children": [
|
4068 | {
|
4069 | "type": "emphasis",
|
4070 | "children": [
|
4071 | {
|
4072 | "type": "text",
|
4073 | "value": "baz"
|
4074 | }
|
4075 | ]
|
4076 | }
|
4077 | ]
|
4078 | }
|
4079 | ]
|
4080 | },
|
4081 | "myst": "<!-- foo -->*bar*\n*baz*\n",
|
4082 | "html": "<!-- foo -->*bar*\n<p><em>baz</em></p>\n"
|
4083 | },
|
4084 | {
|
4085 | "title": "cmark_spec_0.30: HTML blocks - example 178",
|
4086 | "mdast": {
|
4087 | "type": "root",
|
4088 | "children": [
|
4089 | {
|
4090 | "type": "html",
|
4091 | "value": "<script>\nfoo\n</script>1. *bar*"
|
4092 | }
|
4093 | ]
|
4094 | },
|
4095 | "myst": "<script>\nfoo\n</script>1. *bar*\n",
|
4096 | "html": "<script>\nfoo\n</script>1. *bar*\n"
|
4097 | },
|
4098 | {
|
4099 | "title": "cmark_spec_0.30: HTML blocks - example 179",
|
4100 | "mdast": {
|
4101 | "type": "root",
|
4102 | "children": [
|
4103 | {
|
4104 | "type": "html",
|
4105 | "value": "<!-- Foo\n\nbar\n baz -->"
|
4106 | },
|
4107 | {
|
4108 | "type": "paragraph",
|
4109 | "children": [
|
4110 | {
|
4111 | "type": "text",
|
4112 | "value": "okay"
|
4113 | }
|
4114 | ]
|
4115 | }
|
4116 | ]
|
4117 | },
|
4118 | "myst": "<!-- Foo\n\nbar\n baz -->\nokay\n",
|
4119 | "html": "<!-- Foo\n\nbar\n baz -->\n<p>okay</p>\n"
|
4120 | },
|
4121 | {
|
4122 | "title": "cmark_spec_0.30: HTML blocks - example 180",
|
4123 | "mdast": {
|
4124 | "type": "root",
|
4125 | "children": [
|
4126 | {
|
4127 | "type": "html",
|
4128 | "value": "<?php\n\n echo '>';\n\n?>"
|
4129 | },
|
4130 | {
|
4131 | "type": "paragraph",
|
4132 | "children": [
|
4133 | {
|
4134 | "type": "text",
|
4135 | "value": "okay"
|
4136 | }
|
4137 | ]
|
4138 | }
|
4139 | ]
|
4140 | },
|
4141 | "myst": "<?php\n\n echo '>';\n\n?>\nokay\n",
|
4142 | "html": "<?php\n\n echo '>';\n\n?>\n<p>okay</p>\n"
|
4143 | },
|
4144 | {
|
4145 | "title": "cmark_spec_0.30: HTML blocks - example 181",
|
4146 | "mdast": {
|
4147 | "type": "root",
|
4148 | "children": [
|
4149 | {
|
4150 | "type": "html",
|
4151 | "value": "<!DOCTYPE html>"
|
4152 | }
|
4153 | ]
|
4154 | },
|
4155 | "myst": "<!DOCTYPE html>\n",
|
4156 | "html": "<!DOCTYPE html>\n"
|
4157 | },
|
4158 | {
|
4159 | "title": "cmark_spec_0.30: HTML blocks - example 182",
|
4160 | "mdast": {
|
4161 | "type": "root",
|
4162 | "children": [
|
4163 | {
|
4164 | "type": "html",
|
4165 | "value": "<![CDATA[\nfunction matchwo(a,b)\n{\n if (a < b && a < 0) then {\n return 1;\n\n } else {\n\n return 0;\n }\n}\n]]>"
|
4166 | },
|
4167 | {
|
4168 | "type": "paragraph",
|
4169 | "children": [
|
4170 | {
|
4171 | "type": "text",
|
4172 | "value": "okay"
|
4173 | }
|
4174 | ]
|
4175 | }
|
4176 | ]
|
4177 | },
|
4178 | "myst": "<![CDATA[\nfunction matchwo(a,b)\n{\n if (a < b && a < 0) then {\n return 1;\n\n } else {\n\n return 0;\n }\n}\n]]>\nokay\n",
|
4179 | "html": "<![CDATA[\nfunction matchwo(a,b)\n{\n if (a < b && a < 0) then {\n return 1;\n\n } else {\n\n return 0;\n }\n}\n]]>\n<p>okay</p>\n"
|
4180 | },
|
4181 | {
|
4182 | "title": "cmark_spec_0.30: HTML blocks - example 183",
|
4183 | "mdast": {
|
4184 | "type": "root",
|
4185 | "children": [
|
4186 | {
|
4187 | "type": "html",
|
4188 | "value": " <!-- foo -->"
|
4189 | },
|
4190 | {
|
4191 | "type": "code",
|
4192 | "lang": "",
|
4193 | "value": "<!-- foo -->"
|
4194 | }
|
4195 | ]
|
4196 | },
|
4197 | "myst": " <!-- foo -->\n\n <!-- foo -->\n",
|
4198 | "html": " <!-- foo -->\n<pre><code><!-- foo -->\n</code></pre>\n"
|
4199 | },
|
4200 | {
|
4201 | "title": "cmark_spec_0.30: HTML blocks - example 184",
|
4202 | "mdast": {
|
4203 | "type": "root",
|
4204 | "children": [
|
4205 | {
|
4206 | "type": "html",
|
4207 | "value": " <div>"
|
4208 | },
|
4209 | {
|
4210 | "type": "code",
|
4211 | "lang": "",
|
4212 | "value": "<div>"
|
4213 | }
|
4214 | ]
|
4215 | },
|
4216 | "myst": " <div>\n\n <div>\n",
|
4217 | "html": " <div>\n<pre><code><div>\n</code></pre>\n"
|
4218 | },
|
4219 | {
|
4220 | "title": "cmark_spec_0.30: HTML blocks - example 185",
|
4221 | "mdast": {
|
4222 | "type": "root",
|
4223 | "children": [
|
4224 | {
|
4225 | "type": "paragraph",
|
4226 | "children": [
|
4227 | {
|
4228 | "type": "text",
|
4229 | "value": "Foo"
|
4230 | }
|
4231 | ]
|
4232 | },
|
4233 | {
|
4234 | "type": "html",
|
4235 | "value": "<div>\nbar\n</div>"
|
4236 | }
|
4237 | ]
|
4238 | },
|
4239 | "myst": "Foo\n<div>\nbar\n</div>\n",
|
4240 | "html": "<p>Foo</p>\n<div>\nbar\n</div>\n"
|
4241 | },
|
4242 | {
|
4243 | "title": "cmark_spec_0.30: HTML blocks - example 186",
|
4244 | "mdast": {
|
4245 | "type": "root",
|
4246 | "children": [
|
4247 | {
|
4248 | "type": "html",
|
4249 | "value": "<div>\nbar\n</div>\n*foo*"
|
4250 | }
|
4251 | ]
|
4252 | },
|
4253 | "myst": "<div>\nbar\n</div>\n*foo*\n",
|
4254 | "html": "<div>\nbar\n</div>\n*foo*\n"
|
4255 | },
|
4256 | {
|
4257 | "title": "cmark_spec_0.30: HTML blocks - example 187",
|
4258 | "mdast": {
|
4259 | "type": "root",
|
4260 | "children": [
|
4261 | {
|
4262 | "type": "paragraph",
|
4263 | "children": [
|
4264 | {
|
4265 | "type": "text",
|
4266 | "value": "Foo\n"
|
4267 | },
|
4268 | {
|
4269 | "type": "html",
|
4270 | "value": "<a href=\"bar\">"
|
4271 | },
|
4272 | {
|
4273 | "type": "text",
|
4274 | "value": "\nbaz"
|
4275 | }
|
4276 | ]
|
4277 | }
|
4278 | ]
|
4279 | },
|
4280 | "myst": "Foo\n<a href=\"bar\">\nbaz\n",
|
4281 | "html": "<p>Foo\n<a href=\"bar\">\nbaz</p>\n"
|
4282 | },
|
4283 | {
|
4284 | "title": "cmark_spec_0.30: HTML blocks - example 188",
|
4285 | "mdast": {
|
4286 | "type": "root",
|
4287 | "children": [
|
4288 | {
|
4289 | "type": "html",
|
4290 | "value": "<div>"
|
4291 | },
|
4292 | {
|
4293 | "type": "paragraph",
|
4294 | "children": [
|
4295 | {
|
4296 | "type": "emphasis",
|
4297 | "children": [
|
4298 | {
|
4299 | "type": "text",
|
4300 | "value": "Emphasized"
|
4301 | }
|
4302 | ]
|
4303 | },
|
4304 | {
|
4305 | "type": "text",
|
4306 | "value": " text."
|
4307 | }
|
4308 | ]
|
4309 | },
|
4310 | {
|
4311 | "type": "html",
|
4312 | "value": "</div>"
|
4313 | }
|
4314 | ]
|
4315 | },
|
4316 | "myst": "<div>\n\n*Emphasized* text.\n\n</div>\n",
|
4317 | "html": "<div>\n<p><em>Emphasized</em> text.</p>\n</div>\n"
|
4318 | },
|
4319 | {
|
4320 | "title": "cmark_spec_0.30: HTML blocks - example 189",
|
4321 | "mdast": {
|
4322 | "type": "root",
|
4323 | "children": [
|
4324 | {
|
4325 | "type": "html",
|
4326 | "value": "<div>\n*Emphasized* text.\n</div>"
|
4327 | }
|
4328 | ]
|
4329 | },
|
4330 | "myst": "<div>\n*Emphasized* text.\n</div>\n",
|
4331 | "html": "<div>\n*Emphasized* text.\n</div>\n"
|
4332 | },
|
4333 | {
|
4334 | "title": "cmark_spec_0.30: HTML blocks - example 190",
|
4335 | "mdast": {
|
4336 | "type": "root",
|
4337 | "children": [
|
4338 | {
|
4339 | "type": "html",
|
4340 | "value": "<table>"
|
4341 | },
|
4342 | {
|
4343 | "type": "html",
|
4344 | "value": "<tr>"
|
4345 | },
|
4346 | {
|
4347 | "type": "html",
|
4348 | "value": "<td>\nHi\n</td>"
|
4349 | },
|
4350 | {
|
4351 | "type": "html",
|
4352 | "value": "</tr>"
|
4353 | },
|
4354 | {
|
4355 | "type": "html",
|
4356 | "value": "</table>"
|
4357 | }
|
4358 | ]
|
4359 | },
|
4360 | "myst": "<table>\n\n<tr>\n\n<td>\nHi\n</td>\n\n</tr>\n\n</table>\n",
|
4361 | "html": "<table>\n<tr>\n<td>\nHi\n</td>\n</tr>\n</table>\n"
|
4362 | },
|
4363 | {
|
4364 | "title": "cmark_spec_0.30: HTML blocks - example 191",
|
4365 | "mdast": {
|
4366 | "type": "root",
|
4367 | "children": [
|
4368 | {
|
4369 | "type": "html",
|
4370 | "value": "<table>"
|
4371 | },
|
4372 | {
|
4373 | "type": "html",
|
4374 | "value": " <tr>"
|
4375 | },
|
4376 | {
|
4377 | "type": "code",
|
4378 | "lang": "",
|
4379 | "value": "<td>\n Hi\n</td>"
|
4380 | },
|
4381 | {
|
4382 | "type": "html",
|
4383 | "value": " </tr>"
|
4384 | },
|
4385 | {
|
4386 | "type": "html",
|
4387 | "value": "</table>"
|
4388 | }
|
4389 | ]
|
4390 | },
|
4391 | "myst": "<table>\n\n <tr>\n\n <td>\n Hi\n </td>\n\n </tr>\n\n</table>\n",
|
4392 | "html": "<table>\n <tr>\n<pre><code><td>\n Hi\n</td>\n</code></pre>\n </tr>\n</table>\n"
|
4393 | },
|
4394 | {
|
4395 | "title": "cmark_spec_0.30: Link reference definitions - example 192",
|
4396 | "mdast": {
|
4397 | "type": "root",
|
4398 | "children": [
|
4399 | {
|
4400 | "type": "paragraph",
|
4401 | "children": [
|
4402 | {
|
4403 | "type": "link",
|
4404 | "url": "/url",
|
4405 | "title": "title",
|
4406 | "children": [
|
4407 | {
|
4408 | "type": "text",
|
4409 | "value": "foo"
|
4410 | }
|
4411 | ]
|
4412 | }
|
4413 | ]
|
4414 | }
|
4415 | ]
|
4416 | },
|
4417 | "myst": "[foo]: /url \"title\"\n\n[foo]\n",
|
4418 | "html": "<p><a href=\"/url\" title=\"title\">foo</a></p>\n"
|
4419 | },
|
4420 | {
|
4421 | "title": "cmark_spec_0.30: Link reference definitions - example 193",
|
4422 | "mdast": {
|
4423 | "type": "root",
|
4424 | "children": [
|
4425 | {
|
4426 | "type": "paragraph",
|
4427 | "children": [
|
4428 | {
|
4429 | "type": "link",
|
4430 | "url": "/url",
|
4431 | "title": "the title",
|
4432 | "children": [
|
4433 | {
|
4434 | "type": "text",
|
4435 | "value": "foo"
|
4436 | }
|
4437 | ]
|
4438 | }
|
4439 | ]
|
4440 | }
|
4441 | ]
|
4442 | },
|
4443 | "myst": " [foo]: \n /url \n 'the title' \n\n[foo]\n",
|
4444 | "html": "<p><a href=\"/url\" title=\"the title\">foo</a></p>\n"
|
4445 | },
|
4446 | {
|
4447 | "title": "cmark_spec_0.30: Link reference definitions - example 194",
|
4448 | "mdast": {
|
4449 | "type": "root",
|
4450 | "children": [
|
4451 | {
|
4452 | "type": "paragraph",
|
4453 | "children": [
|
4454 | {
|
4455 | "type": "link",
|
4456 | "url": "my_(url)",
|
4457 | "title": "title (with parens)",
|
4458 | "children": [
|
4459 | {
|
4460 | "type": "text",
|
4461 | "value": "Foo*bar]"
|
4462 | }
|
4463 | ]
|
4464 | }
|
4465 | ]
|
4466 | }
|
4467 | ]
|
4468 | },
|
4469 | "myst": "[Foo*bar\\]]:my_(url) 'title (with parens)'\n\n[Foo*bar\\]]\n",
|
4470 | "html": "<p><a href=\"my_(url)\" title=\"title (with parens)\">Foo*bar]</a></p>\n"
|
4471 | },
|
4472 | {
|
4473 | "title": "cmark_spec_0.30: Link reference definitions - example 195",
|
4474 | "mdast": {
|
4475 | "type": "root",
|
4476 | "children": [
|
4477 | {
|
4478 | "type": "paragraph",
|
4479 | "children": [
|
4480 | {
|
4481 | "type": "link",
|
4482 | "url": "my%20url",
|
4483 | "title": "title",
|
4484 | "children": [
|
4485 | {
|
4486 | "type": "text",
|
4487 | "value": "Foo bar"
|
4488 | }
|
4489 | ]
|
4490 | }
|
4491 | ]
|
4492 | }
|
4493 | ]
|
4494 | },
|
4495 | "myst": "[Foo bar]:\n<my url>\n'title'\n\n[Foo bar]\n",
|
4496 | "html": "<p><a href=\"my%20url\" title=\"title\">Foo bar</a></p>\n"
|
4497 | },
|
4498 | {
|
4499 | "title": "cmark_spec_0.30: Link reference definitions - example 196",
|
4500 | "mdast": {
|
4501 | "type": "root",
|
4502 | "children": [
|
4503 | {
|
4504 | "type": "paragraph",
|
4505 | "children": [
|
4506 | {
|
4507 | "type": "link",
|
4508 | "url": "/url",
|
4509 | "title": "\ntitle\nline1\nline2\n",
|
4510 | "children": [
|
4511 | {
|
4512 | "type": "text",
|
4513 | "value": "foo"
|
4514 | }
|
4515 | ]
|
4516 | }
|
4517 | ]
|
4518 | }
|
4519 | ]
|
4520 | },
|
4521 | "myst": "[foo]: /url '\ntitle\nline1\nline2\n'\n\n[foo]\n",
|
4522 | "html": "<p><a href=\"/url\" title=\"\ntitle\nline1\nline2\n\">foo</a></p>\n"
|
4523 | },
|
4524 | {
|
4525 | "title": "cmark_spec_0.30: Link reference definitions - example 197",
|
4526 | "mdast": {
|
4527 | "type": "root",
|
4528 | "children": [
|
4529 | {
|
4530 | "type": "paragraph",
|
4531 | "children": [
|
4532 | {
|
4533 | "type": "text",
|
4534 | "value": "[foo]: /url 'title"
|
4535 | }
|
4536 | ]
|
4537 | },
|
4538 | {
|
4539 | "type": "paragraph",
|
4540 | "children": [
|
4541 | {
|
4542 | "type": "text",
|
4543 | "value": "with blank line'"
|
4544 | }
|
4545 | ]
|
4546 | },
|
4547 | {
|
4548 | "type": "paragraph",
|
4549 | "children": [
|
4550 | {
|
4551 | "type": "text",
|
4552 | "value": "[foo]"
|
4553 | }
|
4554 | ]
|
4555 | }
|
4556 | ]
|
4557 | },
|
4558 | "myst": "[foo]: /url 'title\n\nwith blank line'\n\n[foo]\n",
|
4559 | "html": "<p>[foo]: /url 'title</p>\n<p>with blank line'</p>\n<p>[foo]</p>\n"
|
4560 | },
|
4561 | {
|
4562 | "title": "cmark_spec_0.30: Link reference definitions - example 198",
|
4563 | "mdast": {
|
4564 | "type": "root",
|
4565 | "children": [
|
4566 | {
|
4567 | "type": "paragraph",
|
4568 | "children": [
|
4569 | {
|
4570 | "type": "link",
|
4571 | "url": "/url",
|
4572 | "children": [
|
4573 | {
|
4574 | "type": "text",
|
4575 | "value": "foo"
|
4576 | }
|
4577 | ]
|
4578 | }
|
4579 | ]
|
4580 | }
|
4581 | ]
|
4582 | },
|
4583 | "myst": "[foo]:\n/url\n\n[foo]\n",
|
4584 | "html": "<p><a href=\"/url\">foo</a></p>\n"
|
4585 | },
|
4586 | {
|
4587 | "title": "cmark_spec_0.30: Link reference definitions - example 199",
|
4588 | "mdast": {
|
4589 | "type": "root",
|
4590 | "children": [
|
4591 | {
|
4592 | "type": "paragraph",
|
4593 | "children": [
|
4594 | {
|
4595 | "type": "text",
|
4596 | "value": "[foo]:"
|
4597 | }
|
4598 | ]
|
4599 | },
|
4600 | {
|
4601 | "type": "paragraph",
|
4602 | "children": [
|
4603 | {
|
4604 | "type": "text",
|
4605 | "value": "[foo]"
|
4606 | }
|
4607 | ]
|
4608 | }
|
4609 | ]
|
4610 | },
|
4611 | "myst": "[foo]:\n\n[foo]\n",
|
4612 | "html": "<p>[foo]:</p>\n<p>[foo]</p>\n"
|
4613 | },
|
4614 | {
|
4615 | "title": "cmark_spec_0.30: Link reference definitions - example 200",
|
4616 | "mdast": {
|
4617 | "type": "root",
|
4618 | "children": [
|
4619 | {
|
4620 | "type": "paragraph",
|
4621 | "children": [
|
4622 | {
|
4623 | "type": "link",
|
4624 | "url": "",
|
4625 | "children": [
|
4626 | {
|
4627 | "type": "text",
|
4628 | "value": "foo"
|
4629 | }
|
4630 | ]
|
4631 | }
|
4632 | ]
|
4633 | }
|
4634 | ]
|
4635 | },
|
4636 | "myst": "[foo]: <>\n\n[foo]\n",
|
4637 | "html": "<p><a href=\"\">foo</a></p>\n"
|
4638 | },
|
4639 | {
|
4640 | "title": "cmark_spec_0.30: Link reference definitions - example 201",
|
4641 | "mdast": {
|
4642 | "type": "root",
|
4643 | "children": [
|
4644 | {
|
4645 | "type": "paragraph",
|
4646 | "children": [
|
4647 | {
|
4648 | "type": "text",
|
4649 | "value": "[foo]: "
|
4650 | },
|
4651 | {
|
4652 | "type": "html",
|
4653 | "value": "<bar>"
|
4654 | },
|
4655 | {
|
4656 | "type": "text",
|
4657 | "value": "(baz)"
|
4658 | }
|
4659 | ]
|
4660 | },
|
4661 | {
|
4662 | "type": "paragraph",
|
4663 | "children": [
|
4664 | {
|
4665 | "type": "text",
|
4666 | "value": "[foo]"
|
4667 | }
|
4668 | ]
|
4669 | }
|
4670 | ]
|
4671 | },
|
4672 | "myst": "[foo]: <bar>(baz)\n\n[foo]\n",
|
4673 | "html": "<p>[foo]: <bar>(baz)</p>\n<p>[foo]</p>\n"
|
4674 | },
|
4675 | {
|
4676 | "title": "cmark_spec_0.30: Link reference definitions - example 202",
|
4677 | "mdast": {
|
4678 | "type": "root",
|
4679 | "children": [
|
4680 | {
|
4681 | "type": "paragraph",
|
4682 | "children": [
|
4683 | {
|
4684 | "type": "link",
|
4685 | "url": "/url%5Cbar*baz",
|
4686 | "title": "foo\"bar\\baz",
|
4687 | "children": [
|
4688 | {
|
4689 | "type": "text",
|
4690 | "value": "foo"
|
4691 | }
|
4692 | ]
|
4693 | }
|
4694 | ]
|
4695 | }
|
4696 | ]
|
4697 | },
|
4698 | "myst": "[foo]: /url\\bar\\*baz \"foo\\\"bar\\baz\"\n\n[foo]\n",
|
4699 | "html": "<p><a href=\"/url%5Cbar*baz\" title=\"foo"bar\\baz\">foo</a></p>\n"
|
4700 | },
|
4701 | {
|
4702 | "title": "cmark_spec_0.30: Link reference definitions - example 203",
|
4703 | "mdast": {
|
4704 | "type": "root",
|
4705 | "children": [
|
4706 | {
|
4707 | "type": "paragraph",
|
4708 | "children": [
|
4709 | {
|
4710 | "type": "link",
|
4711 | "url": "url",
|
4712 | "children": [
|
4713 | {
|
4714 | "type": "text",
|
4715 | "value": "foo"
|
4716 | }
|
4717 | ]
|
4718 | }
|
4719 | ]
|
4720 | }
|
4721 | ]
|
4722 | },
|
4723 | "myst": "[foo]\n\n[foo]: url\n",
|
4724 | "html": "<p><a href=\"url\">foo</a></p>\n"
|
4725 | },
|
4726 | {
|
4727 | "title": "cmark_spec_0.30: Link reference definitions - example 204",
|
4728 | "mdast": {
|
4729 | "type": "root",
|
4730 | "children": [
|
4731 | {
|
4732 | "type": "paragraph",
|
4733 | "children": [
|
4734 | {
|
4735 | "type": "link",
|
4736 | "url": "first",
|
4737 | "children": [
|
4738 | {
|
4739 | "type": "text",
|
4740 | "value": "foo"
|
4741 | }
|
4742 | ]
|
4743 | }
|
4744 | ]
|
4745 | }
|
4746 | ]
|
4747 | },
|
4748 | "myst": "[foo]\n\n[foo]: first\n[foo]: second\n",
|
4749 | "html": "<p><a href=\"first\">foo</a></p>\n"
|
4750 | },
|
4751 | {
|
4752 | "title": "cmark_spec_0.30: Link reference definitions - example 205",
|
4753 | "mdast": {
|
4754 | "type": "root",
|
4755 | "children": [
|
4756 | {
|
4757 | "type": "paragraph",
|
4758 | "children": [
|
4759 | {
|
4760 | "type": "link",
|
4761 | "url": "/url",
|
4762 | "children": [
|
4763 | {
|
4764 | "type": "text",
|
4765 | "value": "Foo"
|
4766 | }
|
4767 | ]
|
4768 | }
|
4769 | ]
|
4770 | }
|
4771 | ]
|
4772 | },
|
4773 | "myst": "[FOO]: /url\n\n[Foo]\n",
|
4774 | "html": "<p><a href=\"/url\">Foo</a></p>\n"
|
4775 | },
|
4776 | {
|
4777 | "title": "cmark_spec_0.30: Link reference definitions - example 206",
|
4778 | "mdast": {
|
4779 | "type": "root",
|
4780 | "children": [
|
4781 | {
|
4782 | "type": "paragraph",
|
4783 | "children": [
|
4784 | {
|
4785 | "type": "link",
|
4786 | "url": "/%CF%86%CE%BF%CF%85",
|
4787 | "children": [
|
4788 | {
|
4789 | "type": "text",
|
4790 | "value": "αγω"
|
4791 | }
|
4792 | ]
|
4793 | }
|
4794 | ]
|
4795 | }
|
4796 | ]
|
4797 | },
|
4798 | "myst": "[ΑΓΩ]: /φου\n\n[αγω]\n",
|
4799 | "html": "<p><a href=\"/%CF%86%CE%BF%CF%85\">αγω</a></p>\n"
|
4800 | },
|
4801 | {
|
4802 | "title": "cmark_spec_0.30: Link reference definitions - example 207",
|
4803 | "mdast": {
|
4804 | "type": "root",
|
4805 | "children": []
|
4806 | },
|
4807 | "myst": "[foo]: /url\n",
|
4808 | "html": ""
|
4809 | },
|
4810 | {
|
4811 | "title": "cmark_spec_0.30: Link reference definitions - example 208",
|
4812 | "mdast": {
|
4813 | "type": "root",
|
4814 | "children": [
|
4815 | {
|
4816 | "type": "paragraph",
|
4817 | "children": [
|
4818 | {
|
4819 | "type": "text",
|
4820 | "value": "bar"
|
4821 | }
|
4822 | ]
|
4823 | }
|
4824 | ]
|
4825 | },
|
4826 | "myst": "[\nfoo\n]: /url\nbar\n",
|
4827 | "html": "<p>bar</p>\n"
|
4828 | },
|
4829 | {
|
4830 | "title": "cmark_spec_0.30: Link reference definitions - example 209",
|
4831 | "mdast": {
|
4832 | "type": "root",
|
4833 | "children": [
|
4834 | {
|
4835 | "type": "paragraph",
|
4836 | "children": [
|
4837 | {
|
4838 | "type": "text",
|
4839 | "value": "[foo]: /url \"title\" ok"
|
4840 | }
|
4841 | ]
|
4842 | }
|
4843 | ]
|
4844 | },
|
4845 | "myst": "[foo]: /url \"title\" ok\n",
|
4846 | "html": "<p>[foo]: /url "title" ok</p>\n"
|
4847 | },
|
4848 | {
|
4849 | "title": "cmark_spec_0.30: Link reference definitions - example 210",
|
4850 | "mdast": {
|
4851 | "type": "root",
|
4852 | "children": [
|
4853 | {
|
4854 | "type": "paragraph",
|
4855 | "children": [
|
4856 | {
|
4857 | "type": "text",
|
4858 | "value": "\"title\" ok"
|
4859 | }
|
4860 | ]
|
4861 | }
|
4862 | ]
|
4863 | },
|
4864 | "myst": "[foo]: /url\n\"title\" ok\n",
|
4865 | "html": "<p>"title" ok</p>\n"
|
4866 | },
|
4867 | {
|
4868 | "title": "cmark_spec_0.30: Link reference definitions - example 211",
|
4869 | "mdast": {
|
4870 | "type": "root",
|
4871 | "children": [
|
4872 | {
|
4873 | "type": "code",
|
4874 | "lang": "",
|
4875 | "value": "[foo]: /url \"title\""
|
4876 | },
|
4877 | {
|
4878 | "type": "paragraph",
|
4879 | "children": [
|
4880 | {
|
4881 | "type": "text",
|
4882 | "value": "[foo]"
|
4883 | }
|
4884 | ]
|
4885 | }
|
4886 | ]
|
4887 | },
|
4888 | "myst": " [foo]: /url \"title\"\n\n[foo]\n",
|
4889 | "html": "<pre><code>[foo]: /url "title"\n</code></pre>\n<p>[foo]</p>\n"
|
4890 | },
|
4891 | {
|
4892 | "title": "cmark_spec_0.30: Link reference definitions - example 212",
|
4893 | "mdast": {
|
4894 | "type": "root",
|
4895 | "children": [
|
4896 | {
|
4897 | "type": "code",
|
4898 | "lang": "",
|
4899 | "value": "[foo]: /url"
|
4900 | },
|
4901 | {
|
4902 | "type": "paragraph",
|
4903 | "children": [
|
4904 | {
|
4905 | "type": "text",
|
4906 | "value": "[foo]"
|
4907 | }
|
4908 | ]
|
4909 | }
|
4910 | ]
|
4911 | },
|
4912 | "myst": "```\n[foo]: /url\n```\n\n[foo]\n",
|
4913 | "html": "<pre><code>[foo]: /url\n</code></pre>\n<p>[foo]</p>\n"
|
4914 | },
|
4915 | {
|
4916 | "title": "cmark_spec_0.30: Link reference definitions - example 213",
|
4917 | "mdast": {
|
4918 | "type": "root",
|
4919 | "children": [
|
4920 | {
|
4921 | "type": "paragraph",
|
4922 | "children": [
|
4923 | {
|
4924 | "type": "text",
|
4925 | "value": "Foo\n[bar]: /baz"
|
4926 | }
|
4927 | ]
|
4928 | },
|
4929 | {
|
4930 | "type": "paragraph",
|
4931 | "children": [
|
4932 | {
|
4933 | "type": "text",
|
4934 | "value": "[bar]"
|
4935 | }
|
4936 | ]
|
4937 | }
|
4938 | ]
|
4939 | },
|
4940 | "myst": "Foo\n[bar]: /baz\n\n[bar]\n",
|
4941 | "html": "<p>Foo\n[bar]: /baz</p>\n<p>[bar]</p>\n"
|
4942 | },
|
4943 | {
|
4944 | "title": "cmark_spec_0.30: Link reference definitions - example 214",
|
4945 | "mdast": {
|
4946 | "type": "root",
|
4947 | "children": [
|
4948 | {
|
4949 | "type": "heading",
|
4950 | "depth": 1,
|
4951 | "children": [
|
4952 | {
|
4953 | "type": "link",
|
4954 | "url": "/url",
|
4955 | "children": [
|
4956 | {
|
4957 | "type": "text",
|
4958 | "value": "Foo"
|
4959 | }
|
4960 | ]
|
4961 | }
|
4962 | ]
|
4963 | },
|
4964 | {
|
4965 | "type": "blockquote",
|
4966 | "children": [
|
4967 | {
|
4968 | "type": "paragraph",
|
4969 | "children": [
|
4970 | {
|
4971 | "type": "text",
|
4972 | "value": "bar"
|
4973 | }
|
4974 | ]
|
4975 | }
|
4976 | ]
|
4977 | }
|
4978 | ]
|
4979 | },
|
4980 | "myst": "# [Foo]\n[foo]: /url\n> bar\n",
|
4981 | "html": "<h1><a href=\"/url\">Foo</a></h1>\n<blockquote>\n<p>bar</p>\n</blockquote>\n"
|
4982 | },
|
4983 | {
|
4984 | "title": "cmark_spec_0.30: Link reference definitions - example 215",
|
4985 | "mdast": {
|
4986 | "type": "root",
|
4987 | "children": [
|
4988 | {
|
4989 | "type": "heading",
|
4990 | "depth": 1,
|
4991 | "children": [
|
4992 | {
|
4993 | "type": "text",
|
4994 | "value": "bar"
|
4995 | }
|
4996 | ]
|
4997 | },
|
4998 | {
|
4999 | "type": "paragraph",
|
5000 | "children": [
|
5001 | {
|
5002 | "type": "link",
|
5003 | "url": "/url",
|
5004 | "children": [
|
5005 | {
|
5006 | "type": "text",
|
5007 | "value": "foo"
|
5008 | }
|
5009 | ]
|
5010 | }
|
5011 | ]
|
5012 | }
|
5013 | ]
|
5014 | },
|
5015 | "myst": "[foo]: /url\nbar\n===\n[foo]\n",
|
5016 | "html": "<h1>bar</h1>\n<p><a href=\"/url\">foo</a></p>\n"
|
5017 | },
|
5018 | {
|
5019 | "title": "cmark_spec_0.30: Link reference definitions - example 216",
|
5020 | "mdast": {
|
5021 | "type": "root",
|
5022 | "children": [
|
5023 | {
|
5024 | "type": "paragraph",
|
5025 | "children": [
|
5026 | {
|
5027 | "type": "text",
|
5028 | "value": "===\n"
|
5029 | },
|
5030 | {
|
5031 | "type": "link",
|
5032 | "url": "/url",
|
5033 | "children": [
|
5034 | {
|
5035 | "type": "text",
|
5036 | "value": "foo"
|
5037 | }
|
5038 | ]
|
5039 | }
|
5040 | ]
|
5041 | }
|
5042 | ]
|
5043 | },
|
5044 | "myst": "[foo]: /url\n===\n[foo]\n",
|
5045 | "html": "<p>===\n<a href=\"/url\">foo</a></p>\n"
|
5046 | },
|
5047 | {
|
5048 | "title": "cmark_spec_0.30: Link reference definitions - example 217",
|
5049 | "mdast": {
|
5050 | "type": "root",
|
5051 | "children": [
|
5052 | {
|
5053 | "type": "paragraph",
|
5054 | "children": [
|
5055 | {
|
5056 | "type": "link",
|
5057 | "url": "/foo-url",
|
5058 | "title": "foo",
|
5059 | "children": [
|
5060 | {
|
5061 | "type": "text",
|
5062 | "value": "foo"
|
5063 | }
|
5064 | ]
|
5065 | },
|
5066 | {
|
5067 | "type": "text",
|
5068 | "value": ",\n"
|
5069 | },
|
5070 | {
|
5071 | "type": "link",
|
5072 | "url": "/bar-url",
|
5073 | "title": "bar",
|
5074 | "children": [
|
5075 | {
|
5076 | "type": "text",
|
5077 | "value": "bar"
|
5078 | }
|
5079 | ]
|
5080 | },
|
5081 | {
|
5082 | "type": "text",
|
5083 | "value": ",\n"
|
5084 | },
|
5085 | {
|
5086 | "type": "link",
|
5087 | "url": "/baz-url",
|
5088 | "children": [
|
5089 | {
|
5090 | "type": "text",
|
5091 | "value": "baz"
|
5092 | }
|
5093 | ]
|
5094 | }
|
5095 | ]
|
5096 | }
|
5097 | ]
|
5098 | },
|
5099 | "myst": "[foo]: /foo-url \"foo\"\n[bar]: /bar-url\n \"bar\"\n[baz]: /baz-url\n\n[foo],\n[bar],\n[baz]\n",
|
5100 | "html": "<p><a href=\"/foo-url\" title=\"foo\">foo</a>,\n<a href=\"/bar-url\" title=\"bar\">bar</a>,\n<a href=\"/baz-url\">baz</a></p>\n"
|
5101 | },
|
5102 | {
|
5103 | "title": "cmark_spec_0.30: Link reference definitions - example 218",
|
5104 | "mdast": {
|
5105 | "type": "root",
|
5106 | "children": [
|
5107 | {
|
5108 | "type": "paragraph",
|
5109 | "children": [
|
5110 | {
|
5111 | "type": "link",
|
5112 | "url": "/url",
|
5113 | "children": [
|
5114 | {
|
5115 | "type": "text",
|
5116 | "value": "foo"
|
5117 | }
|
5118 | ]
|
5119 | }
|
5120 | ]
|
5121 | },
|
5122 | {
|
5123 | "type": "blockquote",
|
5124 | "children": []
|
5125 | }
|
5126 | ]
|
5127 | },
|
5128 | "myst": "[foo]\n\n> [foo]: /url\n",
|
5129 | "html": "<p><a href=\"/url\">foo</a></p>\n<blockquote>\n</blockquote>\n"
|
5130 | },
|
5131 | {
|
5132 | "title": "cmark_spec_0.30: Paragraphs - example 219",
|
5133 | "mdast": {
|
5134 | "type": "root",
|
5135 | "children": [
|
5136 | {
|
5137 | "type": "paragraph",
|
5138 | "children": [
|
5139 | {
|
5140 | "type": "text",
|
5141 | "value": "aaa"
|
5142 | }
|
5143 | ]
|
5144 | },
|
5145 | {
|
5146 | "type": "paragraph",
|
5147 | "children": [
|
5148 | {
|
5149 | "type": "text",
|
5150 | "value": "bbb"
|
5151 | }
|
5152 | ]
|
5153 | }
|
5154 | ]
|
5155 | },
|
5156 | "myst": "aaa\n\nbbb\n",
|
5157 | "html": "<p>aaa</p>\n<p>bbb</p>\n"
|
5158 | },
|
5159 | {
|
5160 | "title": "cmark_spec_0.30: Paragraphs - example 220",
|
5161 | "mdast": {
|
5162 | "type": "root",
|
5163 | "children": [
|
5164 | {
|
5165 | "type": "paragraph",
|
5166 | "children": [
|
5167 | {
|
5168 | "type": "text",
|
5169 | "value": "aaa\nbbb"
|
5170 | }
|
5171 | ]
|
5172 | },
|
5173 | {
|
5174 | "type": "paragraph",
|
5175 | "children": [
|
5176 | {
|
5177 | "type": "text",
|
5178 | "value": "ccc\nddd"
|
5179 | }
|
5180 | ]
|
5181 | }
|
5182 | ]
|
5183 | },
|
5184 | "myst": "aaa\nbbb\n\nccc\nddd\n",
|
5185 | "html": "<p>aaa\nbbb</p>\n<p>ccc\nddd</p>\n"
|
5186 | },
|
5187 | {
|
5188 | "title": "cmark_spec_0.30: Paragraphs - example 221",
|
5189 | "mdast": {
|
5190 | "type": "root",
|
5191 | "children": [
|
5192 | {
|
5193 | "type": "paragraph",
|
5194 | "children": [
|
5195 | {
|
5196 | "type": "text",
|
5197 | "value": "aaa"
|
5198 | }
|
5199 | ]
|
5200 | },
|
5201 | {
|
5202 | "type": "paragraph",
|
5203 | "children": [
|
5204 | {
|
5205 | "type": "text",
|
5206 | "value": "bbb"
|
5207 | }
|
5208 | ]
|
5209 | }
|
5210 | ]
|
5211 | },
|
5212 | "myst": "aaa\n\n\nbbb\n",
|
5213 | "html": "<p>aaa</p>\n<p>bbb</p>\n"
|
5214 | },
|
5215 | {
|
5216 | "title": "cmark_spec_0.30: Paragraphs - example 222",
|
5217 | "mdast": {
|
5218 | "type": "root",
|
5219 | "children": [
|
5220 | {
|
5221 | "type": "paragraph",
|
5222 | "children": [
|
5223 | {
|
5224 | "type": "text",
|
5225 | "value": "aaa\nbbb"
|
5226 | }
|
5227 | ]
|
5228 | }
|
5229 | ]
|
5230 | },
|
5231 | "myst": " aaa\n bbb\n",
|
5232 | "html": "<p>aaa\nbbb</p>\n"
|
5233 | },
|
5234 | {
|
5235 | "title": "cmark_spec_0.30: Paragraphs - example 223",
|
5236 | "mdast": {
|
5237 | "type": "root",
|
5238 | "children": [
|
5239 | {
|
5240 | "type": "paragraph",
|
5241 | "children": [
|
5242 | {
|
5243 | "type": "text",
|
5244 | "value": "aaa\nbbb\nccc"
|
5245 | }
|
5246 | ]
|
5247 | }
|
5248 | ]
|
5249 | },
|
5250 | "myst": "aaa\n bbb\n ccc\n",
|
5251 | "html": "<p>aaa\nbbb\nccc</p>\n"
|
5252 | },
|
5253 | {
|
5254 | "title": "cmark_spec_0.30: Paragraphs - example 224",
|
5255 | "mdast": {
|
5256 | "type": "root",
|
5257 | "children": [
|
5258 | {
|
5259 | "type": "paragraph",
|
5260 | "children": [
|
5261 | {
|
5262 | "type": "text",
|
5263 | "value": "aaa\nbbb"
|
5264 | }
|
5265 | ]
|
5266 | }
|
5267 | ]
|
5268 | },
|
5269 | "myst": " aaa\nbbb\n",
|
5270 | "html": "<p>aaa\nbbb</p>\n"
|
5271 | },
|
5272 | {
|
5273 | "title": "cmark_spec_0.30: Paragraphs - example 225",
|
5274 | "mdast": {
|
5275 | "type": "root",
|
5276 | "children": [
|
5277 | {
|
5278 | "type": "code",
|
5279 | "lang": "",
|
5280 | "value": "aaa"
|
5281 | },
|
5282 | {
|
5283 | "type": "paragraph",
|
5284 | "children": [
|
5285 | {
|
5286 | "type": "text",
|
5287 | "value": "bbb"
|
5288 | }
|
5289 | ]
|
5290 | }
|
5291 | ]
|
5292 | },
|
5293 | "myst": " aaa\nbbb\n",
|
5294 | "html": "<pre><code>aaa\n</code></pre>\n<p>bbb</p>\n"
|
5295 | },
|
5296 | {
|
5297 | "title": "cmark_spec_0.30: Paragraphs - example 226",
|
5298 | "mdast": {
|
5299 | "type": "root",
|
5300 | "children": [
|
5301 | {
|
5302 | "type": "paragraph",
|
5303 | "children": [
|
5304 | {
|
5305 | "type": "text",
|
5306 | "value": "aaa"
|
5307 | },
|
5308 | {
|
5309 | "type": "break"
|
5310 | },
|
5311 | {
|
5312 | "type": "text",
|
5313 | "value": "bbb"
|
5314 | }
|
5315 | ]
|
5316 | }
|
5317 | ]
|
5318 | },
|
5319 | "myst": "aaa \nbbb\n",
|
5320 | "html": "<p>aaa<br />\nbbb</p>\n"
|
5321 | },
|
5322 | {
|
5323 | "title": "cmark_spec_0.30: Blank lines - example 227",
|
5324 | "mdast": {
|
5325 | "type": "root",
|
5326 | "children": [
|
5327 | {
|
5328 | "type": "paragraph",
|
5329 | "children": [
|
5330 | {
|
5331 | "type": "text",
|
5332 | "value": "aaa"
|
5333 | }
|
5334 | ]
|
5335 | },
|
5336 | {
|
5337 | "type": "heading",
|
5338 | "depth": 1,
|
5339 | "children": [
|
5340 | {
|
5341 | "type": "text",
|
5342 | "value": "aaa"
|
5343 | }
|
5344 | ]
|
5345 | }
|
5346 | ]
|
5347 | },
|
5348 | "myst": " \n\naaa\n \n\n# aaa\n",
|
5349 | "html": "<p>aaa</p>\n<h1>aaa</h1>\n"
|
5350 | },
|
5351 | {
|
5352 | "title": "cmark_spec_0.30: Block quotes - example 228",
|
5353 | "mdast": {
|
5354 | "type": "root",
|
5355 | "children": [
|
5356 | {
|
5357 | "type": "blockquote",
|
5358 | "children": [
|
5359 | {
|
5360 | "type": "heading",
|
5361 | "depth": 1,
|
5362 | "children": [
|
5363 | {
|
5364 | "type": "text",
|
5365 | "value": "Foo"
|
5366 | }
|
5367 | ]
|
5368 | },
|
5369 | {
|
5370 | "type": "paragraph",
|
5371 | "children": [
|
5372 | {
|
5373 | "type": "text",
|
5374 | "value": "bar\nbaz"
|
5375 | }
|
5376 | ]
|
5377 | }
|
5378 | ]
|
5379 | }
|
5380 | ]
|
5381 | },
|
5382 | "myst": "> # Foo\n> bar\n> baz\n",
|
5383 | "html": "<blockquote>\n<h1>Foo</h1>\n<p>bar\nbaz</p>\n</blockquote>\n"
|
5384 | },
|
5385 | {
|
5386 | "title": "cmark_spec_0.30: Block quotes - example 229",
|
5387 | "mdast": {
|
5388 | "type": "root",
|
5389 | "children": [
|
5390 | {
|
5391 | "type": "blockquote",
|
5392 | "children": [
|
5393 | {
|
5394 | "type": "heading",
|
5395 | "depth": 1,
|
5396 | "children": [
|
5397 | {
|
5398 | "type": "text",
|
5399 | "value": "Foo"
|
5400 | }
|
5401 | ]
|
5402 | },
|
5403 | {
|
5404 | "type": "paragraph",
|
5405 | "children": [
|
5406 | {
|
5407 | "type": "text",
|
5408 | "value": "bar\nbaz"
|
5409 | }
|
5410 | ]
|
5411 | }
|
5412 | ]
|
5413 | }
|
5414 | ]
|
5415 | },
|
5416 | "myst": "># Foo\n>bar\n> baz\n",
|
5417 | "html": "<blockquote>\n<h1>Foo</h1>\n<p>bar\nbaz</p>\n</blockquote>\n"
|
5418 | },
|
5419 | {
|
5420 | "title": "cmark_spec_0.30: Block quotes - example 230",
|
5421 | "mdast": {
|
5422 | "type": "root",
|
5423 | "children": [
|
5424 | {
|
5425 | "type": "blockquote",
|
5426 | "children": [
|
5427 | {
|
5428 | "type": "heading",
|
5429 | "depth": 1,
|
5430 | "children": [
|
5431 | {
|
5432 | "type": "text",
|
5433 | "value": "Foo"
|
5434 | }
|
5435 | ]
|
5436 | },
|
5437 | {
|
5438 | "type": "paragraph",
|
5439 | "children": [
|
5440 | {
|
5441 | "type": "text",
|
5442 | "value": "bar\nbaz"
|
5443 | }
|
5444 | ]
|
5445 | }
|
5446 | ]
|
5447 | }
|
5448 | ]
|
5449 | },
|
5450 | "myst": " > # Foo\n > bar\n > baz\n",
|
5451 | "html": "<blockquote>\n<h1>Foo</h1>\n<p>bar\nbaz</p>\n</blockquote>\n"
|
5452 | },
|
5453 | {
|
5454 | "title": "cmark_spec_0.30: Block quotes - example 231",
|
5455 | "mdast": {
|
5456 | "type": "root",
|
5457 | "children": [
|
5458 | {
|
5459 | "type": "code",
|
5460 | "lang": "",
|
5461 | "value": "> # Foo\n> bar\n> baz"
|
5462 | }
|
5463 | ]
|
5464 | },
|
5465 | "myst": " > # Foo\n > bar\n > baz\n",
|
5466 | "html": "<pre><code>> # Foo\n> bar\n> baz\n</code></pre>\n"
|
5467 | },
|
5468 | {
|
5469 | "title": "cmark_spec_0.30: Block quotes - example 232",
|
5470 | "mdast": {
|
5471 | "type": "root",
|
5472 | "children": [
|
5473 | {
|
5474 | "type": "blockquote",
|
5475 | "children": [
|
5476 | {
|
5477 | "type": "heading",
|
5478 | "depth": 1,
|
5479 | "children": [
|
5480 | {
|
5481 | "type": "text",
|
5482 | "value": "Foo"
|
5483 | }
|
5484 | ]
|
5485 | },
|
5486 | {
|
5487 | "type": "paragraph",
|
5488 | "children": [
|
5489 | {
|
5490 | "type": "text",
|
5491 | "value": "bar\nbaz"
|
5492 | }
|
5493 | ]
|
5494 | }
|
5495 | ]
|
5496 | }
|
5497 | ]
|
5498 | },
|
5499 | "myst": "> # Foo\n> bar\nbaz\n",
|
5500 | "html": "<blockquote>\n<h1>Foo</h1>\n<p>bar\nbaz</p>\n</blockquote>\n"
|
5501 | },
|
5502 | {
|
5503 | "title": "cmark_spec_0.30: Block quotes - example 233",
|
5504 | "mdast": {
|
5505 | "type": "root",
|
5506 | "children": [
|
5507 | {
|
5508 | "type": "blockquote",
|
5509 | "children": [
|
5510 | {
|
5511 | "type": "paragraph",
|
5512 | "children": [
|
5513 | {
|
5514 | "type": "text",
|
5515 | "value": "bar\nbaz\nfoo"
|
5516 | }
|
5517 | ]
|
5518 | }
|
5519 | ]
|
5520 | }
|
5521 | ]
|
5522 | },
|
5523 | "myst": "> bar\nbaz\n> foo\n",
|
5524 | "html": "<blockquote>\n<p>bar\nbaz\nfoo</p>\n</blockquote>\n"
|
5525 | },
|
5526 | {
|
5527 | "title": "cmark_spec_0.30: Block quotes - example 234",
|
5528 | "mdast": {
|
5529 | "type": "root",
|
5530 | "children": [
|
5531 | {
|
5532 | "type": "blockquote",
|
5533 | "children": [
|
5534 | {
|
5535 | "type": "paragraph",
|
5536 | "children": [
|
5537 | {
|
5538 | "type": "text",
|
5539 | "value": "foo"
|
5540 | }
|
5541 | ]
|
5542 | }
|
5543 | ]
|
5544 | },
|
5545 | {
|
5546 | "type": "thematicBreak"
|
5547 | }
|
5548 | ]
|
5549 | },
|
5550 | "myst": "> foo\n---\n",
|
5551 | "html": "<blockquote>\n<p>foo</p>\n</blockquote>\n<hr />\n"
|
5552 | },
|
5553 | {
|
5554 | "title": "cmark_spec_0.30: Block quotes - example 235",
|
5555 | "mdast": {
|
5556 | "type": "root",
|
5557 | "children": [
|
5558 | {
|
5559 | "type": "blockquote",
|
5560 | "children": [
|
5561 | {
|
5562 | "type": "list",
|
5563 | "ordered": false,
|
5564 | "spread": false,
|
5565 | "children": [
|
5566 | {
|
5567 | "type": "listItem",
|
5568 | "spread": true,
|
5569 | "children": [
|
5570 | {
|
5571 | "type": "text",
|
5572 | "value": "foo"
|
5573 | }
|
5574 | ]
|
5575 | }
|
5576 | ]
|
5577 | }
|
5578 | ]
|
5579 | },
|
5580 | {
|
5581 | "type": "list",
|
5582 | "ordered": false,
|
5583 | "spread": false,
|
5584 | "children": [
|
5585 | {
|
5586 | "type": "listItem",
|
5587 | "spread": true,
|
5588 | "children": [
|
5589 | {
|
5590 | "type": "text",
|
5591 | "value": "bar"
|
5592 | }
|
5593 | ]
|
5594 | }
|
5595 | ]
|
5596 | }
|
5597 | ]
|
5598 | },
|
5599 | "myst": "> - foo\n- bar\n",
|
5600 | "html": "<blockquote>\n<ul>\n<li>foo</li>\n</ul>\n</blockquote>\n<ul>\n<li>bar</li>\n</ul>\n"
|
5601 | },
|
5602 | {
|
5603 | "title": "cmark_spec_0.30: Block quotes - example 236",
|
5604 | "mdast": {
|
5605 | "type": "root",
|
5606 | "children": [
|
5607 | {
|
5608 | "type": "blockquote",
|
5609 | "children": [
|
5610 | {
|
5611 | "type": "code",
|
5612 | "lang": "",
|
5613 | "value": "foo"
|
5614 | }
|
5615 | ]
|
5616 | },
|
5617 | {
|
5618 | "type": "code",
|
5619 | "lang": "",
|
5620 | "value": "bar"
|
5621 | }
|
5622 | ]
|
5623 | },
|
5624 | "myst": "> foo\n bar\n",
|
5625 | "html": "<blockquote>\n<pre><code>foo\n</code></pre>\n</blockquote>\n<pre><code>bar\n</code></pre>\n"
|
5626 | },
|
5627 | {
|
5628 | "title": "cmark_spec_0.30: Block quotes - example 237",
|
5629 | "mdast": {
|
5630 | "type": "root",
|
5631 | "children": [
|
5632 | {
|
5633 | "type": "blockquote",
|
5634 | "children": [
|
5635 | {
|
5636 | "type": "code",
|
5637 | "lang": "",
|
5638 | "value": ""
|
5639 | }
|
5640 | ]
|
5641 | },
|
5642 | {
|
5643 | "type": "paragraph",
|
5644 | "children": [
|
5645 | {
|
5646 | "type": "text",
|
5647 | "value": "foo"
|
5648 | }
|
5649 | ]
|
5650 | },
|
5651 | {
|
5652 | "type": "code",
|
5653 | "lang": "",
|
5654 | "value": ""
|
5655 | }
|
5656 | ]
|
5657 | },
|
5658 | "myst": "> ```\nfoo\n```\n",
|
5659 | "html": "<blockquote>\n<pre><code></code></pre>\n</blockquote>\n<p>foo</p>\n<pre><code></code></pre>\n"
|
5660 | },
|
5661 | {
|
5662 | "title": "cmark_spec_0.30: Block quotes - example 238",
|
5663 | "mdast": {
|
5664 | "type": "root",
|
5665 | "children": [
|
5666 | {
|
5667 | "type": "blockquote",
|
5668 | "children": [
|
5669 | {
|
5670 | "type": "paragraph",
|
5671 | "children": [
|
5672 | {
|
5673 | "type": "text",
|
5674 | "value": "foo\n- bar"
|
5675 | }
|
5676 | ]
|
5677 | }
|
5678 | ]
|
5679 | }
|
5680 | ]
|
5681 | },
|
5682 | "myst": "> foo\n - bar\n",
|
5683 | "html": "<blockquote>\n<p>foo\n- bar</p>\n</blockquote>\n"
|
5684 | },
|
5685 | {
|
5686 | "title": "cmark_spec_0.30: Block quotes - example 239",
|
5687 | "mdast": {
|
5688 | "type": "root",
|
5689 | "children": [
|
5690 | {
|
5691 | "type": "blockquote",
|
5692 | "children": []
|
5693 | }
|
5694 | ]
|
5695 | },
|
5696 | "myst": ">\n",
|
5697 | "html": "<blockquote>\n</blockquote>\n"
|
5698 | },
|
5699 | {
|
5700 | "title": "cmark_spec_0.30: Block quotes - example 240",
|
5701 | "mdast": {
|
5702 | "type": "root",
|
5703 | "children": [
|
5704 | {
|
5705 | "type": "blockquote",
|
5706 | "children": []
|
5707 | }
|
5708 | ]
|
5709 | },
|
5710 | "myst": ">\n> \n>\n",
|
5711 | "html": "<blockquote>\n</blockquote>\n"
|
5712 | },
|
5713 | {
|
5714 | "title": "cmark_spec_0.30: Block quotes - example 241",
|
5715 | "mdast": {
|
5716 | "type": "root",
|
5717 | "children": [
|
5718 | {
|
5719 | "type": "blockquote",
|
5720 | "children": [
|
5721 | {
|
5722 | "type": "paragraph",
|
5723 | "children": [
|
5724 | {
|
5725 | "type": "text",
|
5726 | "value": "foo"
|
5727 | }
|
5728 | ]
|
5729 | }
|
5730 | ]
|
5731 | }
|
5732 | ]
|
5733 | },
|
5734 | "myst": ">\n> foo\n>\n",
|
5735 | "html": "<blockquote>\n<p>foo</p>\n</blockquote>\n"
|
5736 | },
|
5737 | {
|
5738 | "title": "cmark_spec_0.30: Block quotes - example 242",
|
5739 | "mdast": {
|
5740 | "type": "root",
|
5741 | "children": [
|
5742 | {
|
5743 | "type": "blockquote",
|
5744 | "children": [
|
5745 | {
|
5746 | "type": "paragraph",
|
5747 | "children": [
|
5748 | {
|
5749 | "type": "text",
|
5750 | "value": "foo"
|
5751 | }
|
5752 | ]
|
5753 | }
|
5754 | ]
|
5755 | },
|
5756 | {
|
5757 | "type": "blockquote",
|
5758 | "children": [
|
5759 | {
|
5760 | "type": "paragraph",
|
5761 | "children": [
|
5762 | {
|
5763 | "type": "text",
|
5764 | "value": "bar"
|
5765 | }
|
5766 | ]
|
5767 | }
|
5768 | ]
|
5769 | }
|
5770 | ]
|
5771 | },
|
5772 | "myst": "> foo\n\n> bar\n",
|
5773 | "html": "<blockquote>\n<p>foo</p>\n</blockquote>\n<blockquote>\n<p>bar</p>\n</blockquote>\n"
|
5774 | },
|
5775 | {
|
5776 | "title": "cmark_spec_0.30: Block quotes - example 243",
|
5777 | "mdast": {
|
5778 | "type": "root",
|
5779 | "children": [
|
5780 | {
|
5781 | "type": "blockquote",
|
5782 | "children": [
|
5783 | {
|
5784 | "type": "paragraph",
|
5785 | "children": [
|
5786 | {
|
5787 | "type": "text",
|
5788 | "value": "foo\nbar"
|
5789 | }
|
5790 | ]
|
5791 | }
|
5792 | ]
|
5793 | }
|
5794 | ]
|
5795 | },
|
5796 | "myst": "> foo\n> bar\n",
|
5797 | "html": "<blockquote>\n<p>foo\nbar</p>\n</blockquote>\n"
|
5798 | },
|
5799 | {
|
5800 | "title": "cmark_spec_0.30: Block quotes - example 244",
|
5801 | "mdast": {
|
5802 | "type": "root",
|
5803 | "children": [
|
5804 | {
|
5805 | "type": "blockquote",
|
5806 | "children": [
|
5807 | {
|
5808 | "type": "paragraph",
|
5809 | "children": [
|
5810 | {
|
5811 | "type": "text",
|
5812 | "value": "foo"
|
5813 | }
|
5814 | ]
|
5815 | },
|
5816 | {
|
5817 | "type": "paragraph",
|
5818 | "children": [
|
5819 | {
|
5820 | "type": "text",
|
5821 | "value": "bar"
|
5822 | }
|
5823 | ]
|
5824 | }
|
5825 | ]
|
5826 | }
|
5827 | ]
|
5828 | },
|
5829 | "myst": "> foo\n>\n> bar\n",
|
5830 | "html": "<blockquote>\n<p>foo</p>\n<p>bar</p>\n</blockquote>\n"
|
5831 | },
|
5832 | {
|
5833 | "title": "cmark_spec_0.30: Block quotes - example 245",
|
5834 | "mdast": {
|
5835 | "type": "root",
|
5836 | "children": [
|
5837 | {
|
5838 | "type": "paragraph",
|
5839 | "children": [
|
5840 | {
|
5841 | "type": "text",
|
5842 | "value": "foo"
|
5843 | }
|
5844 | ]
|
5845 | },
|
5846 | {
|
5847 | "type": "blockquote",
|
5848 | "children": [
|
5849 | {
|
5850 | "type": "paragraph",
|
5851 | "children": [
|
5852 | {
|
5853 | "type": "text",
|
5854 | "value": "bar"
|
5855 | }
|
5856 | ]
|
5857 | }
|
5858 | ]
|
5859 | }
|
5860 | ]
|
5861 | },
|
5862 | "myst": "foo\n> bar\n",
|
5863 | "html": "<p>foo</p>\n<blockquote>\n<p>bar</p>\n</blockquote>\n"
|
5864 | },
|
5865 | {
|
5866 | "title": "cmark_spec_0.30: Block quotes - example 246",
|
5867 | "mdast": {
|
5868 | "type": "root",
|
5869 | "children": [
|
5870 | {
|
5871 | "type": "blockquote",
|
5872 | "children": [
|
5873 | {
|
5874 | "type": "paragraph",
|
5875 | "children": [
|
5876 | {
|
5877 | "type": "text",
|
5878 | "value": "aaa"
|
5879 | }
|
5880 | ]
|
5881 | }
|
5882 | ]
|
5883 | },
|
5884 | {
|
5885 | "type": "thematicBreak"
|
5886 | },
|
5887 | {
|
5888 | "type": "blockquote",
|
5889 | "children": [
|
5890 | {
|
5891 | "type": "paragraph",
|
5892 | "children": [
|
5893 | {
|
5894 | "type": "text",
|
5895 | "value": "bbb"
|
5896 | }
|
5897 | ]
|
5898 | }
|
5899 | ]
|
5900 | }
|
5901 | ]
|
5902 | },
|
5903 | "myst": "> aaa\n***\n> bbb\n",
|
5904 | "html": "<blockquote>\n<p>aaa</p>\n</blockquote>\n<hr />\n<blockquote>\n<p>bbb</p>\n</blockquote>\n"
|
5905 | },
|
5906 | {
|
5907 | "title": "cmark_spec_0.30: Block quotes - example 247",
|
5908 | "mdast": {
|
5909 | "type": "root",
|
5910 | "children": [
|
5911 | {
|
5912 | "type": "blockquote",
|
5913 | "children": [
|
5914 | {
|
5915 | "type": "paragraph",
|
5916 | "children": [
|
5917 | {
|
5918 | "type": "text",
|
5919 | "value": "bar\nbaz"
|
5920 | }
|
5921 | ]
|
5922 | }
|
5923 | ]
|
5924 | }
|
5925 | ]
|
5926 | },
|
5927 | "myst": "> bar\nbaz\n",
|
5928 | "html": "<blockquote>\n<p>bar\nbaz</p>\n</blockquote>\n"
|
5929 | },
|
5930 | {
|
5931 | "title": "cmark_spec_0.30: Block quotes - example 248",
|
5932 | "mdast": {
|
5933 | "type": "root",
|
5934 | "children": [
|
5935 | {
|
5936 | "type": "blockquote",
|
5937 | "children": [
|
5938 | {
|
5939 | "type": "paragraph",
|
5940 | "children": [
|
5941 | {
|
5942 | "type": "text",
|
5943 | "value": "bar"
|
5944 | }
|
5945 | ]
|
5946 | }
|
5947 | ]
|
5948 | },
|
5949 | {
|
5950 | "type": "paragraph",
|
5951 | "children": [
|
5952 | {
|
5953 | "type": "text",
|
5954 | "value": "baz"
|
5955 | }
|
5956 | ]
|
5957 | }
|
5958 | ]
|
5959 | },
|
5960 | "myst": "> bar\n\nbaz\n",
|
5961 | "html": "<blockquote>\n<p>bar</p>\n</blockquote>\n<p>baz</p>\n"
|
5962 | },
|
5963 | {
|
5964 | "title": "cmark_spec_0.30: Block quotes - example 249",
|
5965 | "mdast": {
|
5966 | "type": "root",
|
5967 | "children": [
|
5968 | {
|
5969 | "type": "blockquote",
|
5970 | "children": [
|
5971 | {
|
5972 | "type": "paragraph",
|
5973 | "children": [
|
5974 | {
|
5975 | "type": "text",
|
5976 | "value": "bar"
|
5977 | }
|
5978 | ]
|
5979 | }
|
5980 | ]
|
5981 | },
|
5982 | {
|
5983 | "type": "paragraph",
|
5984 | "children": [
|
5985 | {
|
5986 | "type": "text",
|
5987 | "value": "baz"
|
5988 | }
|
5989 | ]
|
5990 | }
|
5991 | ]
|
5992 | },
|
5993 | "myst": "> bar\n>\nbaz\n",
|
5994 | "html": "<blockquote>\n<p>bar</p>\n</blockquote>\n<p>baz</p>\n"
|
5995 | },
|
5996 | {
|
5997 | "title": "cmark_spec_0.30: Block quotes - example 250",
|
5998 | "mdast": {
|
5999 | "type": "root",
|
6000 | "children": [
|
6001 | {
|
6002 | "type": "blockquote",
|
6003 | "children": [
|
6004 | {
|
6005 | "type": "blockquote",
|
6006 | "children": [
|
6007 | {
|
6008 | "type": "blockquote",
|
6009 | "children": [
|
6010 | {
|
6011 | "type": "paragraph",
|
6012 | "children": [
|
6013 | {
|
6014 | "type": "text",
|
6015 | "value": "foo\nbar"
|
6016 | }
|
6017 | ]
|
6018 | }
|
6019 | ]
|
6020 | }
|
6021 | ]
|
6022 | }
|
6023 | ]
|
6024 | }
|
6025 | ]
|
6026 | },
|
6027 | "myst": "> > > foo\nbar\n",
|
6028 | "html": "<blockquote>\n<blockquote>\n<blockquote>\n<p>foo\nbar</p>\n</blockquote>\n</blockquote>\n</blockquote>\n"
|
6029 | },
|
6030 | {
|
6031 | "title": "cmark_spec_0.30: Block quotes - example 251",
|
6032 | "mdast": {
|
6033 | "type": "root",
|
6034 | "children": [
|
6035 | {
|
6036 | "type": "blockquote",
|
6037 | "children": [
|
6038 | {
|
6039 | "type": "blockquote",
|
6040 | "children": [
|
6041 | {
|
6042 | "type": "blockquote",
|
6043 | "children": [
|
6044 | {
|
6045 | "type": "paragraph",
|
6046 | "children": [
|
6047 | {
|
6048 | "type": "text",
|
6049 | "value": "foo\nbar\nbaz"
|
6050 | }
|
6051 | ]
|
6052 | }
|
6053 | ]
|
6054 | }
|
6055 | ]
|
6056 | }
|
6057 | ]
|
6058 | }
|
6059 | ]
|
6060 | },
|
6061 | "myst": ">>> foo\n> bar\n>>baz\n",
|
6062 | "html": "<blockquote>\n<blockquote>\n<blockquote>\n<p>foo\nbar\nbaz</p>\n</blockquote>\n</blockquote>\n</blockquote>\n"
|
6063 | },
|
6064 | {
|
6065 | "title": "cmark_spec_0.30: Block quotes - example 252",
|
6066 | "mdast": {
|
6067 | "type": "root",
|
6068 | "children": [
|
6069 | {
|
6070 | "type": "blockquote",
|
6071 | "children": [
|
6072 | {
|
6073 | "type": "code",
|
6074 | "lang": "",
|
6075 | "value": "code"
|
6076 | }
|
6077 | ]
|
6078 | },
|
6079 | {
|
6080 | "type": "blockquote",
|
6081 | "children": [
|
6082 | {
|
6083 | "type": "paragraph",
|
6084 | "children": [
|
6085 | {
|
6086 | "type": "text",
|
6087 | "value": "not code"
|
6088 | }
|
6089 | ]
|
6090 | }
|
6091 | ]
|
6092 | }
|
6093 | ]
|
6094 | },
|
6095 | "myst": "> code\n\n> not code\n",
|
6096 | "html": "<blockquote>\n<pre><code>code\n</code></pre>\n</blockquote>\n<blockquote>\n<p>not code</p>\n</blockquote>\n"
|
6097 | },
|
6098 | {
|
6099 | "title": "cmark_spec_0.30: List items - example 253",
|
6100 | "mdast": {
|
6101 | "type": "root",
|
6102 | "children": [
|
6103 | {
|
6104 | "type": "paragraph",
|
6105 | "children": [
|
6106 | {
|
6107 | "type": "text",
|
6108 | "value": "A paragraph\nwith two lines."
|
6109 | }
|
6110 | ]
|
6111 | },
|
6112 | {
|
6113 | "type": "code",
|
6114 | "lang": "",
|
6115 | "value": "indented code"
|
6116 | },
|
6117 | {
|
6118 | "type": "blockquote",
|
6119 | "children": [
|
6120 | {
|
6121 | "type": "paragraph",
|
6122 | "children": [
|
6123 | {
|
6124 | "type": "text",
|
6125 | "value": "A block quote."
|
6126 | }
|
6127 | ]
|
6128 | }
|
6129 | ]
|
6130 | }
|
6131 | ]
|
6132 | },
|
6133 | "myst": "A paragraph\nwith two lines.\n\n indented code\n\n> A block quote.\n",
|
6134 | "html": "<p>A paragraph\nwith two lines.</p>\n<pre><code>indented code\n</code></pre>\n<blockquote>\n<p>A block quote.</p>\n</blockquote>\n"
|
6135 | },
|
6136 | {
|
6137 | "title": "cmark_spec_0.30: List items - example 254",
|
6138 | "mdast": {
|
6139 | "type": "root",
|
6140 | "children": [
|
6141 | {
|
6142 | "type": "list",
|
6143 | "ordered": true,
|
6144 | "start": 1,
|
6145 | "spread": false,
|
6146 | "children": [
|
6147 | {
|
6148 | "type": "listItem",
|
6149 | "spread": true,
|
6150 | "children": [
|
6151 | {
|
6152 | "type": "paragraph",
|
6153 | "children": [
|
6154 | {
|
6155 | "type": "text",
|
6156 | "value": "A paragraph\nwith two lines."
|
6157 | }
|
6158 | ]
|
6159 | },
|
6160 | {
|
6161 | "type": "code",
|
6162 | "lang": "",
|
6163 | "value": "indented code"
|
6164 | },
|
6165 | {
|
6166 | "type": "blockquote",
|
6167 | "children": [
|
6168 | {
|
6169 | "type": "paragraph",
|
6170 | "children": [
|
6171 | {
|
6172 | "type": "text",
|
6173 | "value": "A block quote."
|
6174 | }
|
6175 | ]
|
6176 | }
|
6177 | ]
|
6178 | }
|
6179 | ]
|
6180 | }
|
6181 | ]
|
6182 | }
|
6183 | ]
|
6184 | },
|
6185 | "myst": "1. A paragraph\n with two lines.\n\n indented code\n\n > A block quote.\n",
|
6186 | "html": "<ol>\n<li>\n<p>A paragraph\nwith two lines.</p>\n<pre><code>indented code\n</code></pre>\n<blockquote>\n<p>A block quote.</p>\n</blockquote>\n</li>\n</ol>\n"
|
6187 | },
|
6188 | {
|
6189 | "title": "cmark_spec_0.30: List items - example 255",
|
6190 | "mdast": {
|
6191 | "type": "root",
|
6192 | "children": [
|
6193 | {
|
6194 | "type": "list",
|
6195 | "ordered": false,
|
6196 | "spread": false,
|
6197 | "children": [
|
6198 | {
|
6199 | "type": "listItem",
|
6200 | "spread": true,
|
6201 | "children": [
|
6202 | {
|
6203 | "type": "text",
|
6204 | "value": "one"
|
6205 | }
|
6206 | ]
|
6207 | }
|
6208 | ]
|
6209 | },
|
6210 | {
|
6211 | "type": "paragraph",
|
6212 | "children": [
|
6213 | {
|
6214 | "type": "text",
|
6215 | "value": "two"
|
6216 | }
|
6217 | ]
|
6218 | }
|
6219 | ]
|
6220 | },
|
6221 | "myst": "- one\n\n two\n",
|
6222 | "html": "<ul>\n<li>one</li>\n</ul>\n<p>two</p>\n"
|
6223 | },
|
6224 | {
|
6225 | "title": "cmark_spec_0.30: List items - example 256",
|
6226 | "mdast": {
|
6227 | "type": "root",
|
6228 | "children": [
|
6229 | {
|
6230 | "type": "list",
|
6231 | "ordered": false,
|
6232 | "spread": false,
|
6233 | "children": [
|
6234 | {
|
6235 | "type": "listItem",
|
6236 | "spread": true,
|
6237 | "children": [
|
6238 | {
|
6239 | "type": "paragraph",
|
6240 | "children": [
|
6241 | {
|
6242 | "type": "text",
|
6243 | "value": "one"
|
6244 | }
|
6245 | ]
|
6246 | },
|
6247 | {
|
6248 | "type": "paragraph",
|
6249 | "children": [
|
6250 | {
|
6251 | "type": "text",
|
6252 | "value": "two"
|
6253 | }
|
6254 | ]
|
6255 | }
|
6256 | ]
|
6257 | }
|
6258 | ]
|
6259 | }
|
6260 | ]
|
6261 | },
|
6262 | "myst": "- one\n\n two\n",
|
6263 | "html": "<ul>\n<li>\n<p>one</p>\n<p>two</p>\n</li>\n</ul>\n"
|
6264 | },
|
6265 | {
|
6266 | "title": "cmark_spec_0.30: List items - example 257",
|
6267 | "mdast": {
|
6268 | "type": "root",
|
6269 | "children": [
|
6270 | {
|
6271 | "type": "list",
|
6272 | "ordered": false,
|
6273 | "spread": false,
|
6274 | "children": [
|
6275 | {
|
6276 | "type": "listItem",
|
6277 | "spread": true,
|
6278 | "children": [
|
6279 | {
|
6280 | "type": "text",
|
6281 | "value": "one"
|
6282 | }
|
6283 | ]
|
6284 | }
|
6285 | ]
|
6286 | },
|
6287 | {
|
6288 | "type": "code",
|
6289 | "lang": "",
|
6290 | "value": " two"
|
6291 | }
|
6292 | ]
|
6293 | },
|
6294 | "myst": " - one\n\n two\n",
|
6295 | "html": "<ul>\n<li>one</li>\n</ul>\n<pre><code> two\n</code></pre>\n"
|
6296 | },
|
6297 | {
|
6298 | "title": "cmark_spec_0.30: List items - example 258",
|
6299 | "mdast": {
|
6300 | "type": "root",
|
6301 | "children": [
|
6302 | {
|
6303 | "type": "list",
|
6304 | "ordered": false,
|
6305 | "spread": false,
|
6306 | "children": [
|
6307 | {
|
6308 | "type": "listItem",
|
6309 | "spread": true,
|
6310 | "children": [
|
6311 | {
|
6312 | "type": "paragraph",
|
6313 | "children": [
|
6314 | {
|
6315 | "type": "text",
|
6316 | "value": "one"
|
6317 | }
|
6318 | ]
|
6319 | },
|
6320 | {
|
6321 | "type": "paragraph",
|
6322 | "children": [
|
6323 | {
|
6324 | "type": "text",
|
6325 | "value": "two"
|
6326 | }
|
6327 | ]
|
6328 | }
|
6329 | ]
|
6330 | }
|
6331 | ]
|
6332 | }
|
6333 | ]
|
6334 | },
|
6335 | "myst": " - one\n\n two\n",
|
6336 | "html": "<ul>\n<li>\n<p>one</p>\n<p>two</p>\n</li>\n</ul>\n"
|
6337 | },
|
6338 | {
|
6339 | "title": "cmark_spec_0.30: List items - example 259",
|
6340 | "mdast": {
|
6341 | "type": "root",
|
6342 | "children": [
|
6343 | {
|
6344 | "type": "blockquote",
|
6345 | "children": [
|
6346 | {
|
6347 | "type": "blockquote",
|
6348 | "children": [
|
6349 | {
|
6350 | "type": "list",
|
6351 | "ordered": true,
|
6352 | "start": 1,
|
6353 | "spread": false,
|
6354 | "children": [
|
6355 | {
|
6356 | "type": "listItem",
|
6357 | "spread": true,
|
6358 | "children": [
|
6359 | {
|
6360 | "type": "paragraph",
|
6361 | "children": [
|
6362 | {
|
6363 | "type": "text",
|
6364 | "value": "one"
|
6365 | }
|
6366 | ]
|
6367 | },
|
6368 | {
|
6369 | "type": "paragraph",
|
6370 | "children": [
|
6371 | {
|
6372 | "type": "text",
|
6373 | "value": "two"
|
6374 | }
|
6375 | ]
|
6376 | }
|
6377 | ]
|
6378 | }
|
6379 | ]
|
6380 | }
|
6381 | ]
|
6382 | }
|
6383 | ]
|
6384 | }
|
6385 | ]
|
6386 | },
|
6387 | "myst": " > > 1. one\n>>\n>> two\n",
|
6388 | "html": "<blockquote>\n<blockquote>\n<ol>\n<li>\n<p>one</p>\n<p>two</p>\n</li>\n</ol>\n</blockquote>\n</blockquote>\n"
|
6389 | },
|
6390 | {
|
6391 | "title": "cmark_spec_0.30: List items - example 260",
|
6392 | "mdast": {
|
6393 | "type": "root",
|
6394 | "children": [
|
6395 | {
|
6396 | "type": "blockquote",
|
6397 | "children": [
|
6398 | {
|
6399 | "type": "blockquote",
|
6400 | "children": [
|
6401 | {
|
6402 | "type": "list",
|
6403 | "ordered": false,
|
6404 | "spread": false,
|
6405 | "children": [
|
6406 | {
|
6407 | "type": "listItem",
|
6408 | "spread": true,
|
6409 | "children": [
|
6410 | {
|
6411 | "type": "text",
|
6412 | "value": "one"
|
6413 | }
|
6414 | ]
|
6415 | }
|
6416 | ]
|
6417 | },
|
6418 | {
|
6419 | "type": "paragraph",
|
6420 | "children": [
|
6421 | {
|
6422 | "type": "text",
|
6423 | "value": "two"
|
6424 | }
|
6425 | ]
|
6426 | }
|
6427 | ]
|
6428 | }
|
6429 | ]
|
6430 | }
|
6431 | ]
|
6432 | },
|
6433 | "myst": ">>- one\n>>\n > > two\n",
|
6434 | "html": "<blockquote>\n<blockquote>\n<ul>\n<li>one</li>\n</ul>\n<p>two</p>\n</blockquote>\n</blockquote>\n"
|
6435 | },
|
6436 | {
|
6437 | "title": "cmark_spec_0.30: List items - example 261",
|
6438 | "mdast": {
|
6439 | "type": "root",
|
6440 | "children": [
|
6441 | {
|
6442 | "type": "paragraph",
|
6443 | "children": [
|
6444 | {
|
6445 | "type": "text",
|
6446 | "value": "-one"
|
6447 | }
|
6448 | ]
|
6449 | },
|
6450 | {
|
6451 | "type": "paragraph",
|
6452 | "children": [
|
6453 | {
|
6454 | "type": "text",
|
6455 | "value": "2.two"
|
6456 | }
|
6457 | ]
|
6458 | }
|
6459 | ]
|
6460 | },
|
6461 | "myst": "-one\n\n2.two\n",
|
6462 | "html": "<p>-one</p>\n<p>2.two</p>\n"
|
6463 | },
|
6464 | {
|
6465 | "title": "cmark_spec_0.30: List items - example 262",
|
6466 | "mdast": {
|
6467 | "type": "root",
|
6468 | "children": [
|
6469 | {
|
6470 | "type": "list",
|
6471 | "ordered": false,
|
6472 | "spread": false,
|
6473 | "children": [
|
6474 | {
|
6475 | "type": "listItem",
|
6476 | "spread": true,
|
6477 | "children": [
|
6478 | {
|
6479 | "type": "paragraph",
|
6480 | "children": [
|
6481 | {
|
6482 | "type": "text",
|
6483 | "value": "foo"
|
6484 | }
|
6485 | ]
|
6486 | },
|
6487 | {
|
6488 | "type": "paragraph",
|
6489 | "children": [
|
6490 | {
|
6491 | "type": "text",
|
6492 | "value": "bar"
|
6493 | }
|
6494 | ]
|
6495 | }
|
6496 | ]
|
6497 | }
|
6498 | ]
|
6499 | }
|
6500 | ]
|
6501 | },
|
6502 | "myst": "- foo\n\n\n bar\n",
|
6503 | "html": "<ul>\n<li>\n<p>foo</p>\n<p>bar</p>\n</li>\n</ul>\n"
|
6504 | },
|
6505 | {
|
6506 | "title": "cmark_spec_0.30: List items - example 263",
|
6507 | "mdast": {
|
6508 | "type": "root",
|
6509 | "children": [
|
6510 | {
|
6511 | "type": "list",
|
6512 | "ordered": true,
|
6513 | "start": 1,
|
6514 | "spread": false,
|
6515 | "children": [
|
6516 | {
|
6517 | "type": "listItem",
|
6518 | "spread": true,
|
6519 | "children": [
|
6520 | {
|
6521 | "type": "paragraph",
|
6522 | "children": [
|
6523 | {
|
6524 | "type": "text",
|
6525 | "value": "foo"
|
6526 | }
|
6527 | ]
|
6528 | },
|
6529 | {
|
6530 | "type": "code",
|
6531 | "lang": "",
|
6532 | "value": "bar"
|
6533 | },
|
6534 | {
|
6535 | "type": "paragraph",
|
6536 | "children": [
|
6537 | {
|
6538 | "type": "text",
|
6539 | "value": "baz"
|
6540 | }
|
6541 | ]
|
6542 | },
|
6543 | {
|
6544 | "type": "blockquote",
|
6545 | "children": [
|
6546 | {
|
6547 | "type": "paragraph",
|
6548 | "children": [
|
6549 | {
|
6550 | "type": "text",
|
6551 | "value": "bam"
|
6552 | }
|
6553 | ]
|
6554 | }
|
6555 | ]
|
6556 | }
|
6557 | ]
|
6558 | }
|
6559 | ]
|
6560 | }
|
6561 | ]
|
6562 | },
|
6563 | "myst": "1. foo\n\n ```\n bar\n ```\n\n baz\n\n > bam\n",
|
6564 | "html": "<ol>\n<li>\n<p>foo</p>\n<pre><code>bar\n</code></pre>\n<p>baz</p>\n<blockquote>\n<p>bam</p>\n</blockquote>\n</li>\n</ol>\n"
|
6565 | },
|
6566 | {
|
6567 | "title": "cmark_spec_0.30: List items - example 264",
|
6568 | "mdast": {
|
6569 | "type": "root",
|
6570 | "children": [
|
6571 | {
|
6572 | "type": "list",
|
6573 | "ordered": false,
|
6574 | "spread": false,
|
6575 | "children": [
|
6576 | {
|
6577 | "type": "listItem",
|
6578 | "spread": true,
|
6579 | "children": [
|
6580 | {
|
6581 | "type": "paragraph",
|
6582 | "children": [
|
6583 | {
|
6584 | "type": "text",
|
6585 | "value": "Foo"
|
6586 | }
|
6587 | ]
|
6588 | },
|
6589 | {
|
6590 | "type": "code",
|
6591 | "lang": "",
|
6592 | "value": "bar\n\n\nbaz"
|
6593 | }
|
6594 | ]
|
6595 | }
|
6596 | ]
|
6597 | }
|
6598 | ]
|
6599 | },
|
6600 | "myst": "- Foo\n\n bar\n\n\n baz\n",
|
6601 | "html": "<ul>\n<li>\n<p>Foo</p>\n<pre><code>bar\n\n\nbaz\n</code></pre>\n</li>\n</ul>\n"
|
6602 | },
|
6603 | {
|
6604 | "title": "cmark_spec_0.30: List items - example 265",
|
6605 | "mdast": {
|
6606 | "type": "root",
|
6607 | "children": [
|
6608 | {
|
6609 | "type": "list",
|
6610 | "ordered": true,
|
6611 | "start": 123456789,
|
6612 | "spread": false,
|
6613 | "children": [
|
6614 | {
|
6615 | "type": "listItem",
|
6616 | "spread": true,
|
6617 | "children": [
|
6618 | {
|
6619 | "type": "text",
|
6620 | "value": "ok"
|
6621 | }
|
6622 | ]
|
6623 | }
|
6624 | ]
|
6625 | }
|
6626 | ]
|
6627 | },
|
6628 | "myst": "123456789. ok\n",
|
6629 | "html": "<ol start=\"123456789\">\n<li>ok</li>\n</ol>\n"
|
6630 | },
|
6631 | {
|
6632 | "title": "cmark_spec_0.30: List items - example 266",
|
6633 | "mdast": {
|
6634 | "type": "root",
|
6635 | "children": [
|
6636 | {
|
6637 | "type": "paragraph",
|
6638 | "children": [
|
6639 | {
|
6640 | "type": "text",
|
6641 | "value": "1234567890. not ok"
|
6642 | }
|
6643 | ]
|
6644 | }
|
6645 | ]
|
6646 | },
|
6647 | "myst": "1234567890. not ok\n",
|
6648 | "html": "<p>1234567890. not ok</p>\n"
|
6649 | },
|
6650 | {
|
6651 | "title": "cmark_spec_0.30: List items - example 267",
|
6652 | "mdast": {
|
6653 | "type": "root",
|
6654 | "children": [
|
6655 | {
|
6656 | "type": "list",
|
6657 | "ordered": true,
|
6658 | "start": 0,
|
6659 | "spread": false,
|
6660 | "children": [
|
6661 | {
|
6662 | "type": "listItem",
|
6663 | "spread": true,
|
6664 | "children": [
|
6665 | {
|
6666 | "type": "text",
|
6667 | "value": "ok"
|
6668 | }
|
6669 | ]
|
6670 | }
|
6671 | ]
|
6672 | }
|
6673 | ]
|
6674 | },
|
6675 | "myst": "0. ok\n",
|
6676 | "html": "<ol start=\"0\">\n<li>ok</li>\n</ol>\n"
|
6677 | },
|
6678 | {
|
6679 | "title": "cmark_spec_0.30: List items - example 268",
|
6680 | "mdast": {
|
6681 | "type": "root",
|
6682 | "children": [
|
6683 | {
|
6684 | "type": "list",
|
6685 | "ordered": true,
|
6686 | "start": 3,
|
6687 | "spread": false,
|
6688 | "children": [
|
6689 | {
|
6690 | "type": "listItem",
|
6691 | "spread": true,
|
6692 | "children": [
|
6693 | {
|
6694 | "type": "text",
|
6695 | "value": "ok"
|
6696 | }
|
6697 | ]
|
6698 | }
|
6699 | ]
|
6700 | }
|
6701 | ]
|
6702 | },
|
6703 | "myst": "003. ok\n",
|
6704 | "html": "<ol start=\"3\">\n<li>ok</li>\n</ol>\n"
|
6705 | },
|
6706 | {
|
6707 | "title": "cmark_spec_0.30: List items - example 269",
|
6708 | "mdast": {
|
6709 | "type": "root",
|
6710 | "children": [
|
6711 | {
|
6712 | "type": "paragraph",
|
6713 | "children": [
|
6714 | {
|
6715 | "type": "text",
|
6716 | "value": "-1. not ok"
|
6717 | }
|
6718 | ]
|
6719 | }
|
6720 | ]
|
6721 | },
|
6722 | "myst": "-1. not ok\n",
|
6723 | "html": "<p>-1. not ok</p>\n"
|
6724 | },
|
6725 | {
|
6726 | "title": "cmark_spec_0.30: List items - example 270",
|
6727 | "mdast": {
|
6728 | "type": "root",
|
6729 | "children": [
|
6730 | {
|
6731 | "type": "list",
|
6732 | "ordered": false,
|
6733 | "spread": false,
|
6734 | "children": [
|
6735 | {
|
6736 | "type": "listItem",
|
6737 | "spread": true,
|
6738 | "children": [
|
6739 | {
|
6740 | "type": "paragraph",
|
6741 | "children": [
|
6742 | {
|
6743 | "type": "text",
|
6744 | "value": "foo"
|
6745 | }
|
6746 | ]
|
6747 | },
|
6748 | {
|
6749 | "type": "code",
|
6750 | "lang": "",
|
6751 | "value": "bar"
|
6752 | }
|
6753 | ]
|
6754 | }
|
6755 | ]
|
6756 | }
|
6757 | ]
|
6758 | },
|
6759 | "myst": "- foo\n\n bar\n",
|
6760 | "html": "<ul>\n<li>\n<p>foo</p>\n<pre><code>bar\n</code></pre>\n</li>\n</ul>\n"
|
6761 | },
|
6762 | {
|
6763 | "title": "cmark_spec_0.30: List items - example 271",
|
6764 | "mdast": {
|
6765 | "type": "root",
|
6766 | "children": [
|
6767 | {
|
6768 | "type": "list",
|
6769 | "ordered": true,
|
6770 | "start": 10,
|
6771 | "spread": false,
|
6772 | "children": [
|
6773 | {
|
6774 | "type": "listItem",
|
6775 | "spread": true,
|
6776 | "children": [
|
6777 | {
|
6778 | "type": "paragraph",
|
6779 | "children": [
|
6780 | {
|
6781 | "type": "text",
|
6782 | "value": "foo"
|
6783 | }
|
6784 | ]
|
6785 | },
|
6786 | {
|
6787 | "type": "code",
|
6788 | "lang": "",
|
6789 | "value": "bar"
|
6790 | }
|
6791 | ]
|
6792 | }
|
6793 | ]
|
6794 | }
|
6795 | ]
|
6796 | },
|
6797 | "myst": " 10. foo\n\n bar\n",
|
6798 | "html": "<ol start=\"10\">\n<li>\n<p>foo</p>\n<pre><code>bar\n</code></pre>\n</li>\n</ol>\n"
|
6799 | },
|
6800 | {
|
6801 | "title": "cmark_spec_0.30: List items - example 272",
|
6802 | "mdast": {
|
6803 | "type": "root",
|
6804 | "children": [
|
6805 | {
|
6806 | "type": "code",
|
6807 | "lang": "",
|
6808 | "value": "indented code"
|
6809 | },
|
6810 | {
|
6811 | "type": "paragraph",
|
6812 | "children": [
|
6813 | {
|
6814 | "type": "text",
|
6815 | "value": "paragraph"
|
6816 | }
|
6817 | ]
|
6818 | },
|
6819 | {
|
6820 | "type": "code",
|
6821 | "lang": "",
|
6822 | "value": "more code"
|
6823 | }
|
6824 | ]
|
6825 | },
|
6826 | "myst": " indented code\n\nparagraph\n\n more code\n",
|
6827 | "html": "<pre><code>indented code\n</code></pre>\n<p>paragraph</p>\n<pre><code>more code\n</code></pre>\n"
|
6828 | },
|
6829 | {
|
6830 | "title": "cmark_spec_0.30: List items - example 273",
|
6831 | "mdast": {
|
6832 | "type": "root",
|
6833 | "children": [
|
6834 | {
|
6835 | "type": "list",
|
6836 | "ordered": true,
|
6837 | "start": 1,
|
6838 | "spread": false,
|
6839 | "children": [
|
6840 | {
|
6841 | "type": "listItem",
|
6842 | "spread": true,
|
6843 | "children": [
|
6844 | {
|
6845 | "type": "code",
|
6846 | "lang": "",
|
6847 | "value": "indented code"
|
6848 | },
|
6849 | {
|
6850 | "type": "paragraph",
|
6851 | "children": [
|
6852 | {
|
6853 | "type": "text",
|
6854 | "value": "paragraph"
|
6855 | }
|
6856 | ]
|
6857 | },
|
6858 | {
|
6859 | "type": "code",
|
6860 | "lang": "",
|
6861 | "value": "more code"
|
6862 | }
|
6863 | ]
|
6864 | }
|
6865 | ]
|
6866 | }
|
6867 | ]
|
6868 | },
|
6869 | "myst": "1. indented code\n\n paragraph\n\n more code\n",
|
6870 | "html": "<ol>\n<li>\n<pre><code>indented code\n</code></pre>\n<p>paragraph</p>\n<pre><code>more code\n</code></pre>\n</li>\n</ol>\n"
|
6871 | },
|
6872 | {
|
6873 | "title": "cmark_spec_0.30: List items - example 274",
|
6874 | "mdast": {
|
6875 | "type": "root",
|
6876 | "children": [
|
6877 | {
|
6878 | "type": "list",
|
6879 | "ordered": true,
|
6880 | "start": 1,
|
6881 | "spread": false,
|
6882 | "children": [
|
6883 | {
|
6884 | "type": "listItem",
|
6885 | "spread": true,
|
6886 | "children": [
|
6887 | {
|
6888 | "type": "code",
|
6889 | "lang": "",
|
6890 | "value": " indented code"
|
6891 | },
|
6892 | {
|
6893 | "type": "paragraph",
|
6894 | "children": [
|
6895 | {
|
6896 | "type": "text",
|
6897 | "value": "paragraph"
|
6898 | }
|
6899 | ]
|
6900 | },
|
6901 | {
|
6902 | "type": "code",
|
6903 | "lang": "",
|
6904 | "value": "more code"
|
6905 | }
|
6906 | ]
|
6907 | }
|
6908 | ]
|
6909 | }
|
6910 | ]
|
6911 | },
|
6912 | "myst": "1. indented code\n\n paragraph\n\n more code\n",
|
6913 | "html": "<ol>\n<li>\n<pre><code> indented code\n</code></pre>\n<p>paragraph</p>\n<pre><code>more code\n</code></pre>\n</li>\n</ol>\n"
|
6914 | },
|
6915 | {
|
6916 | "title": "cmark_spec_0.30: List items - example 275",
|
6917 | "mdast": {
|
6918 | "type": "root",
|
6919 | "children": [
|
6920 | {
|
6921 | "type": "paragraph",
|
6922 | "children": [
|
6923 | {
|
6924 | "type": "text",
|
6925 | "value": "foo"
|
6926 | }
|
6927 | ]
|
6928 | },
|
6929 | {
|
6930 | "type": "paragraph",
|
6931 | "children": [
|
6932 | {
|
6933 | "type": "text",
|
6934 | "value": "bar"
|
6935 | }
|
6936 | ]
|
6937 | }
|
6938 | ]
|
6939 | },
|
6940 | "myst": " foo\n\nbar\n",
|
6941 | "html": "<p>foo</p>\n<p>bar</p>\n"
|
6942 | },
|
6943 | {
|
6944 | "title": "cmark_spec_0.30: List items - example 276",
|
6945 | "mdast": {
|
6946 | "type": "root",
|
6947 | "children": [
|
6948 | {
|
6949 | "type": "list",
|
6950 | "ordered": false,
|
6951 | "spread": false,
|
6952 | "children": [
|
6953 | {
|
6954 | "type": "listItem",
|
6955 | "spread": true,
|
6956 | "children": [
|
6957 | {
|
6958 | "type": "text",
|
6959 | "value": "foo"
|
6960 | }
|
6961 | ]
|
6962 | }
|
6963 | ]
|
6964 | },
|
6965 | {
|
6966 | "type": "paragraph",
|
6967 | "children": [
|
6968 | {
|
6969 | "type": "text",
|
6970 | "value": "bar"
|
6971 | }
|
6972 | ]
|
6973 | }
|
6974 | ]
|
6975 | },
|
6976 | "myst": "- foo\n\n bar\n",
|
6977 | "html": "<ul>\n<li>foo</li>\n</ul>\n<p>bar</p>\n"
|
6978 | },
|
6979 | {
|
6980 | "title": "cmark_spec_0.30: List items - example 277",
|
6981 | "mdast": {
|
6982 | "type": "root",
|
6983 | "children": [
|
6984 | {
|
6985 | "type": "list",
|
6986 | "ordered": false,
|
6987 | "spread": false,
|
6988 | "children": [
|
6989 | {
|
6990 | "type": "listItem",
|
6991 | "spread": true,
|
6992 | "children": [
|
6993 | {
|
6994 | "type": "paragraph",
|
6995 | "children": [
|
6996 | {
|
6997 | "type": "text",
|
6998 | "value": "foo"
|
6999 | }
|
7000 | ]
|
7001 | },
|
7002 | {
|
7003 | "type": "paragraph",
|
7004 | "children": [
|
7005 | {
|
7006 | "type": "text",
|
7007 | "value": "bar"
|
7008 | }
|
7009 | ]
|
7010 | }
|
7011 | ]
|
7012 | }
|
7013 | ]
|
7014 | }
|
7015 | ]
|
7016 | },
|
7017 | "myst": "- foo\n\n bar\n",
|
7018 | "html": "<ul>\n<li>\n<p>foo</p>\n<p>bar</p>\n</li>\n</ul>\n"
|
7019 | },
|
7020 | {
|
7021 | "title": "cmark_spec_0.30: List items - example 278",
|
7022 | "mdast": {
|
7023 | "type": "root",
|
7024 | "children": [
|
7025 | {
|
7026 | "type": "list",
|
7027 | "ordered": false,
|
7028 | "spread": false,
|
7029 | "children": [
|
7030 | {
|
7031 | "type": "listItem",
|
7032 | "spread": true,
|
7033 | "children": [
|
7034 | {
|
7035 | "type": "text",
|
7036 | "value": "foo"
|
7037 | }
|
7038 | ]
|
7039 | },
|
7040 | {
|
7041 | "type": "listItem",
|
7042 | "spread": true,
|
7043 | "children": [
|
7044 | {
|
7045 | "type": "code",
|
7046 | "lang": "",
|
7047 | "value": "bar"
|
7048 | }
|
7049 | ]
|
7050 | },
|
7051 | {
|
7052 | "type": "listItem",
|
7053 | "spread": true,
|
7054 | "children": [
|
7055 | {
|
7056 | "type": "code",
|
7057 | "lang": "",
|
7058 | "value": "baz"
|
7059 | }
|
7060 | ]
|
7061 | }
|
7062 | ]
|
7063 | }
|
7064 | ]
|
7065 | },
|
7066 | "myst": "-\n foo\n-\n ```\n bar\n ```\n-\n baz\n",
|
7067 | "html": "<ul>\n<li>foo</li>\n<li>\n<pre><code>bar\n</code></pre>\n</li>\n<li>\n<pre><code>baz\n</code></pre>\n</li>\n</ul>\n"
|
7068 | },
|
7069 | {
|
7070 | "title": "cmark_spec_0.30: List items - example 279",
|
7071 | "mdast": {
|
7072 | "type": "root",
|
7073 | "children": [
|
7074 | {
|
7075 | "type": "list",
|
7076 | "ordered": false,
|
7077 | "spread": false,
|
7078 | "children": [
|
7079 | {
|
7080 | "type": "listItem",
|
7081 | "spread": true,
|
7082 | "children": [
|
7083 | {
|
7084 | "type": "text",
|
7085 | "value": "foo"
|
7086 | }
|
7087 | ]
|
7088 | }
|
7089 | ]
|
7090 | }
|
7091 | ]
|
7092 | },
|
7093 | "myst": "- \n foo\n",
|
7094 | "html": "<ul>\n<li>foo</li>\n</ul>\n"
|
7095 | },
|
7096 | {
|
7097 | "title": "cmark_spec_0.30: List items - example 280",
|
7098 | "mdast": {
|
7099 | "type": "root",
|
7100 | "children": [
|
7101 | {
|
7102 | "type": "list",
|
7103 | "ordered": false,
|
7104 | "spread": false,
|
7105 | "children": [
|
7106 | {
|
7107 | "type": "listItem",
|
7108 | "spread": true,
|
7109 | "children": []
|
7110 | }
|
7111 | ]
|
7112 | },
|
7113 | {
|
7114 | "type": "paragraph",
|
7115 | "children": [
|
7116 | {
|
7117 | "type": "text",
|
7118 | "value": "foo"
|
7119 | }
|
7120 | ]
|
7121 | }
|
7122 | ]
|
7123 | },
|
7124 | "myst": "-\n\n foo\n",
|
7125 | "html": "<ul>\n<li></li>\n</ul>\n<p>foo</p>\n"
|
7126 | },
|
7127 | {
|
7128 | "title": "cmark_spec_0.30: List items - example 281",
|
7129 | "mdast": {
|
7130 | "type": "root",
|
7131 | "children": [
|
7132 | {
|
7133 | "type": "list",
|
7134 | "ordered": false,
|
7135 | "spread": false,
|
7136 | "children": [
|
7137 | {
|
7138 | "type": "listItem",
|
7139 | "spread": true,
|
7140 | "children": [
|
7141 | {
|
7142 | "type": "text",
|
7143 | "value": "foo"
|
7144 | }
|
7145 | ]
|
7146 | },
|
7147 | {
|
7148 | "type": "listItem",
|
7149 | "spread": true,
|
7150 | "children": []
|
7151 | },
|
7152 | {
|
7153 | "type": "listItem",
|
7154 | "spread": true,
|
7155 | "children": [
|
7156 | {
|
7157 | "type": "text",
|
7158 | "value": "bar"
|
7159 | }
|
7160 | ]
|
7161 | }
|
7162 | ]
|
7163 | }
|
7164 | ]
|
7165 | },
|
7166 | "myst": "- foo\n-\n- bar\n",
|
7167 | "html": "<ul>\n<li>foo</li>\n<li></li>\n<li>bar</li>\n</ul>\n"
|
7168 | },
|
7169 | {
|
7170 | "title": "cmark_spec_0.30: List items - example 282",
|
7171 | "mdast": {
|
7172 | "type": "root",
|
7173 | "children": [
|
7174 | {
|
7175 | "type": "list",
|
7176 | "ordered": false,
|
7177 | "spread": false,
|
7178 | "children": [
|
7179 | {
|
7180 | "type": "listItem",
|
7181 | "spread": true,
|
7182 | "children": [
|
7183 | {
|
7184 | "type": "text",
|
7185 | "value": "foo"
|
7186 | }
|
7187 | ]
|
7188 | },
|
7189 | {
|
7190 | "type": "listItem",
|
7191 | "spread": true,
|
7192 | "children": []
|
7193 | },
|
7194 | {
|
7195 | "type": "listItem",
|
7196 | "spread": true,
|
7197 | "children": [
|
7198 | {
|
7199 | "type": "text",
|
7200 | "value": "bar"
|
7201 | }
|
7202 | ]
|
7203 | }
|
7204 | ]
|
7205 | }
|
7206 | ]
|
7207 | },
|
7208 | "myst": "- foo\n- \n- bar\n",
|
7209 | "html": "<ul>\n<li>foo</li>\n<li></li>\n<li>bar</li>\n</ul>\n"
|
7210 | },
|
7211 | {
|
7212 | "title": "cmark_spec_0.30: List items - example 283",
|
7213 | "mdast": {
|
7214 | "type": "root",
|
7215 | "children": [
|
7216 | {
|
7217 | "type": "list",
|
7218 | "ordered": true,
|
7219 | "start": 1,
|
7220 | "spread": false,
|
7221 | "children": [
|
7222 | {
|
7223 | "type": "listItem",
|
7224 | "spread": true,
|
7225 | "children": [
|
7226 | {
|
7227 | "type": "text",
|
7228 | "value": "foo"
|
7229 | }
|
7230 | ]
|
7231 | },
|
7232 | {
|
7233 | "type": "listItem",
|
7234 | "spread": true,
|
7235 | "children": []
|
7236 | },
|
7237 | {
|
7238 | "type": "listItem",
|
7239 | "spread": true,
|
7240 | "children": [
|
7241 | {
|
7242 | "type": "text",
|
7243 | "value": "bar"
|
7244 | }
|
7245 | ]
|
7246 | }
|
7247 | ]
|
7248 | }
|
7249 | ]
|
7250 | },
|
7251 | "myst": "1. foo\n2.\n3. bar\n",
|
7252 | "html": "<ol>\n<li>foo</li>\n<li></li>\n<li>bar</li>\n</ol>\n"
|
7253 | },
|
7254 | {
|
7255 | "title": "cmark_spec_0.30: List items - example 284",
|
7256 | "mdast": {
|
7257 | "type": "root",
|
7258 | "children": [
|
7259 | {
|
7260 | "type": "list",
|
7261 | "ordered": false,
|
7262 | "spread": false,
|
7263 | "children": [
|
7264 | {
|
7265 | "type": "listItem",
|
7266 | "spread": true,
|
7267 | "children": []
|
7268 | }
|
7269 | ]
|
7270 | }
|
7271 | ]
|
7272 | },
|
7273 | "myst": "*\n",
|
7274 | "html": "<ul>\n<li></li>\n</ul>\n"
|
7275 | },
|
7276 | {
|
7277 | "title": "cmark_spec_0.30: List items - example 285",
|
7278 | "mdast": {
|
7279 | "type": "root",
|
7280 | "children": [
|
7281 | {
|
7282 | "type": "paragraph",
|
7283 | "children": [
|
7284 | {
|
7285 | "type": "text",
|
7286 | "value": "foo\n*"
|
7287 | }
|
7288 | ]
|
7289 | },
|
7290 | {
|
7291 | "type": "paragraph",
|
7292 | "children": [
|
7293 | {
|
7294 | "type": "text",
|
7295 | "value": "foo\n1."
|
7296 | }
|
7297 | ]
|
7298 | }
|
7299 | ]
|
7300 | },
|
7301 | "myst": "foo\n*\n\nfoo\n1.\n",
|
7302 | "html": "<p>foo\n*</p>\n<p>foo\n1.</p>\n"
|
7303 | },
|
7304 | {
|
7305 | "title": "cmark_spec_0.30: List items - example 286",
|
7306 | "mdast": {
|
7307 | "type": "root",
|
7308 | "children": [
|
7309 | {
|
7310 | "type": "list",
|
7311 | "ordered": true,
|
7312 | "start": 1,
|
7313 | "spread": false,
|
7314 | "children": [
|
7315 | {
|
7316 | "type": "listItem",
|
7317 | "spread": true,
|
7318 | "children": [
|
7319 | {
|
7320 | "type": "paragraph",
|
7321 | "children": [
|
7322 | {
|
7323 | "type": "text",
|
7324 | "value": "A paragraph\nwith two lines."
|
7325 | }
|
7326 | ]
|
7327 | },
|
7328 | {
|
7329 | "type": "code",
|
7330 | "lang": "",
|
7331 | "value": "indented code"
|
7332 | },
|
7333 | {
|
7334 | "type": "blockquote",
|
7335 | "children": [
|
7336 | {
|
7337 | "type": "paragraph",
|
7338 | "children": [
|
7339 | {
|
7340 | "type": "text",
|
7341 | "value": "A block quote."
|
7342 | }
|
7343 | ]
|
7344 | }
|
7345 | ]
|
7346 | }
|
7347 | ]
|
7348 | }
|
7349 | ]
|
7350 | }
|
7351 | ]
|
7352 | },
|
7353 | "myst": " 1. A paragraph\n with two lines.\n\n indented code\n\n > A block quote.\n",
|
7354 | "html": "<ol>\n<li>\n<p>A paragraph\nwith two lines.</p>\n<pre><code>indented code\n</code></pre>\n<blockquote>\n<p>A block quote.</p>\n</blockquote>\n</li>\n</ol>\n"
|
7355 | },
|
7356 | {
|
7357 | "title": "cmark_spec_0.30: List items - example 287",
|
7358 | "mdast": {
|
7359 | "type": "root",
|
7360 | "children": [
|
7361 | {
|
7362 | "type": "list",
|
7363 | "ordered": true,
|
7364 | "start": 1,
|
7365 | "spread": false,
|
7366 | "children": [
|
7367 | {
|
7368 | "type": "listItem",
|
7369 | "spread": true,
|
7370 | "children": [
|
7371 | {
|
7372 | "type": "paragraph",
|
7373 | "children": [
|
7374 | {
|
7375 | "type": "text",
|
7376 | "value": "A paragraph\nwith two lines."
|
7377 | }
|
7378 | ]
|
7379 | },
|
7380 | {
|
7381 | "type": "code",
|
7382 | "lang": "",
|
7383 | "value": "indented code"
|
7384 | },
|
7385 | {
|
7386 | "type": "blockquote",
|
7387 | "children": [
|
7388 | {
|
7389 | "type": "paragraph",
|
7390 | "children": [
|
7391 | {
|
7392 | "type": "text",
|
7393 | "value": "A block quote."
|
7394 | }
|
7395 | ]
|
7396 | }
|
7397 | ]
|
7398 | }
|
7399 | ]
|
7400 | }
|
7401 | ]
|
7402 | }
|
7403 | ]
|
7404 | },
|
7405 | "myst": " 1. A paragraph\n with two lines.\n\n indented code\n\n > A block quote.\n",
|
7406 | "html": "<ol>\n<li>\n<p>A paragraph\nwith two lines.</p>\n<pre><code>indented code\n</code></pre>\n<blockquote>\n<p>A block quote.</p>\n</blockquote>\n</li>\n</ol>\n"
|
7407 | },
|
7408 | {
|
7409 | "title": "cmark_spec_0.30: List items - example 288",
|
7410 | "mdast": {
|
7411 | "type": "root",
|
7412 | "children": [
|
7413 | {
|
7414 | "type": "list",
|
7415 | "ordered": true,
|
7416 | "start": 1,
|
7417 | "spread": false,
|
7418 | "children": [
|
7419 | {
|
7420 | "type": "listItem",
|
7421 | "spread": true,
|
7422 | "children": [
|
7423 | {
|
7424 | "type": "paragraph",
|
7425 | "children": [
|
7426 | {
|
7427 | "type": "text",
|
7428 | "value": "A paragraph\nwith two lines."
|
7429 | }
|
7430 | ]
|
7431 | },
|
7432 | {
|
7433 | "type": "code",
|
7434 | "lang": "",
|
7435 | "value": "indented code"
|
7436 | },
|
7437 | {
|
7438 | "type": "blockquote",
|
7439 | "children": [
|
7440 | {
|
7441 | "type": "paragraph",
|
7442 | "children": [
|
7443 | {
|
7444 | "type": "text",
|
7445 | "value": "A block quote."
|
7446 | }
|
7447 | ]
|
7448 | }
|
7449 | ]
|
7450 | }
|
7451 | ]
|
7452 | }
|
7453 | ]
|
7454 | }
|
7455 | ]
|
7456 | },
|
7457 | "myst": " 1. A paragraph\n with two lines.\n\n indented code\n\n > A block quote.\n",
|
7458 | "html": "<ol>\n<li>\n<p>A paragraph\nwith two lines.</p>\n<pre><code>indented code\n</code></pre>\n<blockquote>\n<p>A block quote.</p>\n</blockquote>\n</li>\n</ol>\n"
|
7459 | },
|
7460 | {
|
7461 | "title": "cmark_spec_0.30: List items - example 289",
|
7462 | "mdast": {
|
7463 | "type": "root",
|
7464 | "children": [
|
7465 | {
|
7466 | "type": "code",
|
7467 | "lang": "",
|
7468 | "value": "1. A paragraph\n with two lines.\n\n indented code\n\n > A block quote."
|
7469 | }
|
7470 | ]
|
7471 | },
|
7472 | "myst": " 1. A paragraph\n with two lines.\n\n indented code\n\n > A block quote.\n",
|
7473 | "html": "<pre><code>1. A paragraph\n with two lines.\n\n indented code\n\n > A block quote.\n</code></pre>\n"
|
7474 | },
|
7475 | {
|
7476 | "title": "cmark_spec_0.30: List items - example 290",
|
7477 | "mdast": {
|
7478 | "type": "root",
|
7479 | "children": [
|
7480 | {
|
7481 | "type": "list",
|
7482 | "ordered": true,
|
7483 | "start": 1,
|
7484 | "spread": false,
|
7485 | "children": [
|
7486 | {
|
7487 | "type": "listItem",
|
7488 | "spread": true,
|
7489 | "children": [
|
7490 | {
|
7491 | "type": "paragraph",
|
7492 | "children": [
|
7493 | {
|
7494 | "type": "text",
|
7495 | "value": "A paragraph\nwith two lines."
|
7496 | }
|
7497 | ]
|
7498 | },
|
7499 | {
|
7500 | "type": "code",
|
7501 | "lang": "",
|
7502 | "value": "indented code"
|
7503 | },
|
7504 | {
|
7505 | "type": "blockquote",
|
7506 | "children": [
|
7507 | {
|
7508 | "type": "paragraph",
|
7509 | "children": [
|
7510 | {
|
7511 | "type": "text",
|
7512 | "value": "A block quote."
|
7513 | }
|
7514 | ]
|
7515 | }
|
7516 | ]
|
7517 | }
|
7518 | ]
|
7519 | }
|
7520 | ]
|
7521 | }
|
7522 | ]
|
7523 | },
|
7524 | "myst": " 1. A paragraph\nwith two lines.\n\n indented code\n\n > A block quote.\n",
|
7525 | "html": "<ol>\n<li>\n<p>A paragraph\nwith two lines.</p>\n<pre><code>indented code\n</code></pre>\n<blockquote>\n<p>A block quote.</p>\n</blockquote>\n</li>\n</ol>\n"
|
7526 | },
|
7527 | {
|
7528 | "title": "cmark_spec_0.30: List items - example 291",
|
7529 | "mdast": {
|
7530 | "type": "root",
|
7531 | "children": [
|
7532 | {
|
7533 | "type": "list",
|
7534 | "ordered": true,
|
7535 | "start": 1,
|
7536 | "spread": false,
|
7537 | "children": [
|
7538 | {
|
7539 | "type": "listItem",
|
7540 | "spread": true,
|
7541 | "children": [
|
7542 | {
|
7543 | "type": "text",
|
7544 | "value": "A paragraph\nwith two lines."
|
7545 | }
|
7546 | ]
|
7547 | }
|
7548 | ]
|
7549 | }
|
7550 | ]
|
7551 | },
|
7552 | "myst": " 1. A paragraph\n with two lines.\n",
|
7553 | "html": "<ol>\n<li>A paragraph\nwith two lines.</li>\n</ol>\n"
|
7554 | },
|
7555 | {
|
7556 | "title": "cmark_spec_0.30: List items - example 292",
|
7557 | "mdast": {
|
7558 | "type": "root",
|
7559 | "children": [
|
7560 | {
|
7561 | "type": "blockquote",
|
7562 | "children": [
|
7563 | {
|
7564 | "type": "list",
|
7565 | "ordered": true,
|
7566 | "start": 1,
|
7567 | "spread": false,
|
7568 | "children": [
|
7569 | {
|
7570 | "type": "listItem",
|
7571 | "spread": true,
|
7572 | "children": [
|
7573 | {
|
7574 | "type": "blockquote",
|
7575 | "children": [
|
7576 | {
|
7577 | "type": "paragraph",
|
7578 | "children": [
|
7579 | {
|
7580 | "type": "text",
|
7581 | "value": "Blockquote\ncontinued here."
|
7582 | }
|
7583 | ]
|
7584 | }
|
7585 | ]
|
7586 | }
|
7587 | ]
|
7588 | }
|
7589 | ]
|
7590 | }
|
7591 | ]
|
7592 | }
|
7593 | ]
|
7594 | },
|
7595 | "myst": "> 1. > Blockquote\ncontinued here.\n",
|
7596 | "html": "<blockquote>\n<ol>\n<li>\n<blockquote>\n<p>Blockquote\ncontinued here.</p>\n</blockquote>\n</li>\n</ol>\n</blockquote>\n"
|
7597 | },
|
7598 | {
|
7599 | "title": "cmark_spec_0.30: List items - example 293",
|
7600 | "mdast": {
|
7601 | "type": "root",
|
7602 | "children": [
|
7603 | {
|
7604 | "type": "blockquote",
|
7605 | "children": [
|
7606 | {
|
7607 | "type": "list",
|
7608 | "ordered": true,
|
7609 | "start": 1,
|
7610 | "spread": false,
|
7611 | "children": [
|
7612 | {
|
7613 | "type": "listItem",
|
7614 | "spread": true,
|
7615 | "children": [
|
7616 | {
|
7617 | "type": "blockquote",
|
7618 | "children": [
|
7619 | {
|
7620 | "type": "paragraph",
|
7621 | "children": [
|
7622 | {
|
7623 | "type": "text",
|
7624 | "value": "Blockquote\ncontinued here."
|
7625 | }
|
7626 | ]
|
7627 | }
|
7628 | ]
|
7629 | }
|
7630 | ]
|
7631 | }
|
7632 | ]
|
7633 | }
|
7634 | ]
|
7635 | }
|
7636 | ]
|
7637 | },
|
7638 | "myst": "> 1. > Blockquote\n> continued here.\n",
|
7639 | "html": "<blockquote>\n<ol>\n<li>\n<blockquote>\n<p>Blockquote\ncontinued here.</p>\n</blockquote>\n</li>\n</ol>\n</blockquote>\n"
|
7640 | },
|
7641 | {
|
7642 | "title": "cmark_spec_0.30: List items - example 294",
|
7643 | "mdast": {
|
7644 | "type": "root",
|
7645 | "children": [
|
7646 | {
|
7647 | "type": "list",
|
7648 | "ordered": false,
|
7649 | "spread": false,
|
7650 | "children": [
|
7651 | {
|
7652 | "type": "listItem",
|
7653 | "spread": true,
|
7654 | "children": [
|
7655 | {
|
7656 | "type": "text",
|
7657 | "value": "foo"
|
7658 | },
|
7659 | {
|
7660 | "type": "list",
|
7661 | "ordered": false,
|
7662 | "spread": false,
|
7663 | "children": [
|
7664 | {
|
7665 | "type": "listItem",
|
7666 | "spread": true,
|
7667 | "children": [
|
7668 | {
|
7669 | "type": "text",
|
7670 | "value": "bar"
|
7671 | },
|
7672 | {
|
7673 | "type": "list",
|
7674 | "ordered": false,
|
7675 | "spread": false,
|
7676 | "children": [
|
7677 | {
|
7678 | "type": "listItem",
|
7679 | "spread": true,
|
7680 | "children": [
|
7681 | {
|
7682 | "type": "text",
|
7683 | "value": "baz"
|
7684 | },
|
7685 | {
|
7686 | "type": "list",
|
7687 | "ordered": false,
|
7688 | "spread": false,
|
7689 | "children": [
|
7690 | {
|
7691 | "type": "listItem",
|
7692 | "spread": true,
|
7693 | "children": [
|
7694 | {
|
7695 | "type": "text",
|
7696 | "value": "boo"
|
7697 | }
|
7698 | ]
|
7699 | }
|
7700 | ]
|
7701 | }
|
7702 | ]
|
7703 | }
|
7704 | ]
|
7705 | }
|
7706 | ]
|
7707 | }
|
7708 | ]
|
7709 | }
|
7710 | ]
|
7711 | }
|
7712 | ]
|
7713 | }
|
7714 | ]
|
7715 | },
|
7716 | "myst": "- foo\n - bar\n - baz\n - boo\n",
|
7717 | "html": "<ul>\n<li>foo\n<ul>\n<li>bar\n<ul>\n<li>baz\n<ul>\n<li>boo</li>\n</ul>\n</li>\n</ul>\n</li>\n</ul>\n</li>\n</ul>\n"
|
7718 | },
|
7719 | {
|
7720 | "title": "cmark_spec_0.30: List items - example 295",
|
7721 | "mdast": {
|
7722 | "type": "root",
|
7723 | "children": [
|
7724 | {
|
7725 | "type": "list",
|
7726 | "ordered": false,
|
7727 | "spread": false,
|
7728 | "children": [
|
7729 | {
|
7730 | "type": "listItem",
|
7731 | "spread": true,
|
7732 | "children": [
|
7733 | {
|
7734 | "type": "text",
|
7735 | "value": "foo"
|
7736 | }
|
7737 | ]
|
7738 | },
|
7739 | {
|
7740 | "type": "listItem",
|
7741 | "spread": true,
|
7742 | "children": [
|
7743 | {
|
7744 | "type": "text",
|
7745 | "value": "bar"
|
7746 | }
|
7747 | ]
|
7748 | },
|
7749 | {
|
7750 | "type": "listItem",
|
7751 | "spread": true,
|
7752 | "children": [
|
7753 | {
|
7754 | "type": "text",
|
7755 | "value": "baz"
|
7756 | }
|
7757 | ]
|
7758 | },
|
7759 | {
|
7760 | "type": "listItem",
|
7761 | "spread": true,
|
7762 | "children": [
|
7763 | {
|
7764 | "type": "text",
|
7765 | "value": "boo"
|
7766 | }
|
7767 | ]
|
7768 | }
|
7769 | ]
|
7770 | }
|
7771 | ]
|
7772 | },
|
7773 | "myst": "- foo\n - bar\n - baz\n - boo\n",
|
7774 | "html": "<ul>\n<li>foo</li>\n<li>bar</li>\n<li>baz</li>\n<li>boo</li>\n</ul>\n"
|
7775 | },
|
7776 | {
|
7777 | "title": "cmark_spec_0.30: List items - example 296",
|
7778 | "mdast": {
|
7779 | "type": "root",
|
7780 | "children": [
|
7781 | {
|
7782 | "type": "list",
|
7783 | "ordered": true,
|
7784 | "start": 10,
|
7785 | "spread": false,
|
7786 | "children": [
|
7787 | {
|
7788 | "type": "listItem",
|
7789 | "spread": true,
|
7790 | "children": [
|
7791 | {
|
7792 | "type": "text",
|
7793 | "value": "foo"
|
7794 | },
|
7795 | {
|
7796 | "type": "list",
|
7797 | "ordered": false,
|
7798 | "spread": false,
|
7799 | "children": [
|
7800 | {
|
7801 | "type": "listItem",
|
7802 | "spread": true,
|
7803 | "children": [
|
7804 | {
|
7805 | "type": "text",
|
7806 | "value": "bar"
|
7807 | }
|
7808 | ]
|
7809 | }
|
7810 | ]
|
7811 | }
|
7812 | ]
|
7813 | }
|
7814 | ]
|
7815 | }
|
7816 | ]
|
7817 | },
|
7818 | "myst": "10) foo\n - bar\n",
|
7819 | "html": "<ol start=\"10\">\n<li>foo\n<ul>\n<li>bar</li>\n</ul>\n</li>\n</ol>\n"
|
7820 | },
|
7821 | {
|
7822 | "title": "cmark_spec_0.30: List items - example 297",
|
7823 | "mdast": {
|
7824 | "type": "root",
|
7825 | "children": [
|
7826 | {
|
7827 | "type": "list",
|
7828 | "ordered": true,
|
7829 | "start": 10,
|
7830 | "spread": false,
|
7831 | "children": [
|
7832 | {
|
7833 | "type": "listItem",
|
7834 | "spread": true,
|
7835 | "children": [
|
7836 | {
|
7837 | "type": "text",
|
7838 | "value": "foo"
|
7839 | }
|
7840 | ]
|
7841 | }
|
7842 | ]
|
7843 | },
|
7844 | {
|
7845 | "type": "list",
|
7846 | "ordered": false,
|
7847 | "spread": false,
|
7848 | "children": [
|
7849 | {
|
7850 | "type": "listItem",
|
7851 | "spread": true,
|
7852 | "children": [
|
7853 | {
|
7854 | "type": "text",
|
7855 | "value": "bar"
|
7856 | }
|
7857 | ]
|
7858 | }
|
7859 | ]
|
7860 | }
|
7861 | ]
|
7862 | },
|
7863 | "myst": "10) foo\n - bar\n",
|
7864 | "html": "<ol start=\"10\">\n<li>foo</li>\n</ol>\n<ul>\n<li>bar</li>\n</ul>\n"
|
7865 | },
|
7866 | {
|
7867 | "title": "cmark_spec_0.30: List items - example 298",
|
7868 | "mdast": {
|
7869 | "type": "root",
|
7870 | "children": [
|
7871 | {
|
7872 | "type": "list",
|
7873 | "ordered": false,
|
7874 | "spread": false,
|
7875 | "children": [
|
7876 | {
|
7877 | "type": "listItem",
|
7878 | "spread": true,
|
7879 | "children": [
|
7880 | {
|
7881 | "type": "list",
|
7882 | "ordered": false,
|
7883 | "spread": false,
|
7884 | "children": [
|
7885 | {
|
7886 | "type": "listItem",
|
7887 | "spread": true,
|
7888 | "children": [
|
7889 | {
|
7890 | "type": "text",
|
7891 | "value": "foo"
|
7892 | }
|
7893 | ]
|
7894 | }
|
7895 | ]
|
7896 | }
|
7897 | ]
|
7898 | }
|
7899 | ]
|
7900 | }
|
7901 | ]
|
7902 | },
|
7903 | "myst": "- - foo\n",
|
7904 | "html": "<ul>\n<li>\n<ul>\n<li>foo</li>\n</ul>\n</li>\n</ul>\n"
|
7905 | },
|
7906 | {
|
7907 | "title": "cmark_spec_0.30: List items - example 299",
|
7908 | "mdast": {
|
7909 | "type": "root",
|
7910 | "children": [
|
7911 | {
|
7912 | "type": "list",
|
7913 | "ordered": true,
|
7914 | "start": 1,
|
7915 | "spread": false,
|
7916 | "children": [
|
7917 | {
|
7918 | "type": "listItem",
|
7919 | "spread": true,
|
7920 | "children": [
|
7921 | {
|
7922 | "type": "list",
|
7923 | "ordered": false,
|
7924 | "spread": false,
|
7925 | "children": [
|
7926 | {
|
7927 | "type": "listItem",
|
7928 | "spread": true,
|
7929 | "children": [
|
7930 | {
|
7931 | "type": "list",
|
7932 | "ordered": true,
|
7933 | "start": 2,
|
7934 | "spread": false,
|
7935 | "children": [
|
7936 | {
|
7937 | "type": "listItem",
|
7938 | "spread": true,
|
7939 | "children": [
|
7940 | {
|
7941 | "type": "text",
|
7942 | "value": "foo"
|
7943 | }
|
7944 | ]
|
7945 | }
|
7946 | ]
|
7947 | }
|
7948 | ]
|
7949 | }
|
7950 | ]
|
7951 | }
|
7952 | ]
|
7953 | }
|
7954 | ]
|
7955 | }
|
7956 | ]
|
7957 | },
|
7958 | "myst": "1. - 2. foo\n",
|
7959 | "html": "<ol>\n<li>\n<ul>\n<li>\n<ol start=\"2\">\n<li>foo</li>\n</ol>\n</li>\n</ul>\n</li>\n</ol>\n"
|
7960 | },
|
7961 | {
|
7962 | "title": "cmark_spec_0.30: List items - example 300",
|
7963 | "mdast": {
|
7964 | "type": "root",
|
7965 | "children": [
|
7966 | {
|
7967 | "type": "list",
|
7968 | "ordered": false,
|
7969 | "spread": false,
|
7970 | "children": [
|
7971 | {
|
7972 | "type": "listItem",
|
7973 | "spread": true,
|
7974 | "children": [
|
7975 | {
|
7976 | "type": "heading",
|
7977 | "depth": 1,
|
7978 | "children": [
|
7979 | {
|
7980 | "type": "text",
|
7981 | "value": "Foo"
|
7982 | }
|
7983 | ]
|
7984 | }
|
7985 | ]
|
7986 | },
|
7987 | {
|
7988 | "type": "listItem",
|
7989 | "spread": true,
|
7990 | "children": [
|
7991 | {
|
7992 | "type": "heading",
|
7993 | "depth": 2,
|
7994 | "children": [
|
7995 | {
|
7996 | "type": "text",
|
7997 | "value": "Bar"
|
7998 | }
|
7999 | ]
|
8000 | },
|
8001 | {
|
8002 | "type": "text",
|
8003 | "value": "baz"
|
8004 | }
|
8005 | ]
|
8006 | }
|
8007 | ]
|
8008 | }
|
8009 | ]
|
8010 | },
|
8011 | "myst": "- # Foo\n- Bar\n ---\n baz\n",
|
8012 | "html": "<ul>\n<li>\n<h1>Foo</h1>\n</li>\n<li>\n<h2>Bar</h2>\nbaz</li>\n</ul>\n"
|
8013 | },
|
8014 | {
|
8015 | "title": "cmark_spec_0.30: Lists - example 301",
|
8016 | "mdast": {
|
8017 | "type": "root",
|
8018 | "children": [
|
8019 | {
|
8020 | "type": "list",
|
8021 | "ordered": false,
|
8022 | "spread": false,
|
8023 | "children": [
|
8024 | {
|
8025 | "type": "listItem",
|
8026 | "spread": true,
|
8027 | "children": [
|
8028 | {
|
8029 | "type": "text",
|
8030 | "value": "foo"
|
8031 | }
|
8032 | ]
|
8033 | },
|
8034 | {
|
8035 | "type": "listItem",
|
8036 | "spread": true,
|
8037 | "children": [
|
8038 | {
|
8039 | "type": "text",
|
8040 | "value": "bar"
|
8041 | }
|
8042 | ]
|
8043 | }
|
8044 | ]
|
8045 | },
|
8046 | {
|
8047 | "type": "list",
|
8048 | "ordered": false,
|
8049 | "spread": false,
|
8050 | "children": [
|
8051 | {
|
8052 | "type": "listItem",
|
8053 | "spread": true,
|
8054 | "children": [
|
8055 | {
|
8056 | "type": "text",
|
8057 | "value": "baz"
|
8058 | }
|
8059 | ]
|
8060 | }
|
8061 | ]
|
8062 | }
|
8063 | ]
|
8064 | },
|
8065 | "myst": "- foo\n- bar\n+ baz\n",
|
8066 | "html": "<ul>\n<li>foo</li>\n<li>bar</li>\n</ul>\n<ul>\n<li>baz</li>\n</ul>\n"
|
8067 | },
|
8068 | {
|
8069 | "title": "cmark_spec_0.30: Lists - example 302",
|
8070 | "mdast": {
|
8071 | "type": "root",
|
8072 | "children": [
|
8073 | {
|
8074 | "type": "list",
|
8075 | "ordered": true,
|
8076 | "start": 1,
|
8077 | "spread": false,
|
8078 | "children": [
|
8079 | {
|
8080 | "type": "listItem",
|
8081 | "spread": true,
|
8082 | "children": [
|
8083 | {
|
8084 | "type": "text",
|
8085 | "value": "foo"
|
8086 | }
|
8087 | ]
|
8088 | },
|
8089 | {
|
8090 | "type": "listItem",
|
8091 | "spread": true,
|
8092 | "children": [
|
8093 | {
|
8094 | "type": "text",
|
8095 | "value": "bar"
|
8096 | }
|
8097 | ]
|
8098 | }
|
8099 | ]
|
8100 | },
|
8101 | {
|
8102 | "type": "list",
|
8103 | "ordered": true,
|
8104 | "start": 3,
|
8105 | "spread": false,
|
8106 | "children": [
|
8107 | {
|
8108 | "type": "listItem",
|
8109 | "spread": true,
|
8110 | "children": [
|
8111 | {
|
8112 | "type": "text",
|
8113 | "value": "baz"
|
8114 | }
|
8115 | ]
|
8116 | }
|
8117 | ]
|
8118 | }
|
8119 | ]
|
8120 | },
|
8121 | "myst": "1. foo\n2. bar\n3) baz\n",
|
8122 | "html": "<ol>\n<li>foo</li>\n<li>bar</li>\n</ol>\n<ol start=\"3\">\n<li>baz</li>\n</ol>\n"
|
8123 | },
|
8124 | {
|
8125 | "title": "cmark_spec_0.30: Lists - example 303",
|
8126 | "mdast": {
|
8127 | "type": "root",
|
8128 | "children": [
|
8129 | {
|
8130 | "type": "paragraph",
|
8131 | "children": [
|
8132 | {
|
8133 | "type": "text",
|
8134 | "value": "Foo"
|
8135 | }
|
8136 | ]
|
8137 | },
|
8138 | {
|
8139 | "type": "list",
|
8140 | "ordered": false,
|
8141 | "spread": false,
|
8142 | "children": [
|
8143 | {
|
8144 | "type": "listItem",
|
8145 | "spread": true,
|
8146 | "children": [
|
8147 | {
|
8148 | "type": "text",
|
8149 | "value": "bar"
|
8150 | }
|
8151 | ]
|
8152 | },
|
8153 | {
|
8154 | "type": "listItem",
|
8155 | "spread": true,
|
8156 | "children": [
|
8157 | {
|
8158 | "type": "text",
|
8159 | "value": "baz"
|
8160 | }
|
8161 | ]
|
8162 | }
|
8163 | ]
|
8164 | }
|
8165 | ]
|
8166 | },
|
8167 | "myst": "Foo\n- bar\n- baz\n",
|
8168 | "html": "<p>Foo</p>\n<ul>\n<li>bar</li>\n<li>baz</li>\n</ul>\n"
|
8169 | },
|
8170 | {
|
8171 | "title": "cmark_spec_0.30: Lists - example 304",
|
8172 | "mdast": {
|
8173 | "type": "root",
|
8174 | "children": [
|
8175 | {
|
8176 | "type": "paragraph",
|
8177 | "children": [
|
8178 | {
|
8179 | "type": "text",
|
8180 | "value": "The number of windows in my house is\n14. The number of doors is 6."
|
8181 | }
|
8182 | ]
|
8183 | }
|
8184 | ]
|
8185 | },
|
8186 | "myst": "The number of windows in my house is\n14. The number of doors is 6.\n",
|
8187 | "html": "<p>The number of windows in my house is\n14. The number of doors is 6.</p>\n"
|
8188 | },
|
8189 | {
|
8190 | "title": "cmark_spec_0.30: Lists - example 305",
|
8191 | "mdast": {
|
8192 | "type": "root",
|
8193 | "children": [
|
8194 | {
|
8195 | "type": "paragraph",
|
8196 | "children": [
|
8197 | {
|
8198 | "type": "text",
|
8199 | "value": "The number of windows in my house is"
|
8200 | }
|
8201 | ]
|
8202 | },
|
8203 | {
|
8204 | "type": "list",
|
8205 | "ordered": true,
|
8206 | "start": 1,
|
8207 | "spread": false,
|
8208 | "children": [
|
8209 | {
|
8210 | "type": "listItem",
|
8211 | "spread": true,
|
8212 | "children": [
|
8213 | {
|
8214 | "type": "text",
|
8215 | "value": "The number of doors is 6."
|
8216 | }
|
8217 | ]
|
8218 | }
|
8219 | ]
|
8220 | }
|
8221 | ]
|
8222 | },
|
8223 | "myst": "The number of windows in my house is\n1. The number of doors is 6.\n",
|
8224 | "html": "<p>The number of windows in my house is</p>\n<ol>\n<li>The number of doors is 6.</li>\n</ol>\n"
|
8225 | },
|
8226 | {
|
8227 | "title": "cmark_spec_0.30: Lists - example 306",
|
8228 | "mdast": {
|
8229 | "type": "root",
|
8230 | "children": [
|
8231 | {
|
8232 | "type": "list",
|
8233 | "ordered": false,
|
8234 | "spread": false,
|
8235 | "children": [
|
8236 | {
|
8237 | "type": "listItem",
|
8238 | "spread": true,
|
8239 | "children": [
|
8240 | {
|
8241 | "type": "paragraph",
|
8242 | "children": [
|
8243 | {
|
8244 | "type": "text",
|
8245 | "value": "foo"
|
8246 | }
|
8247 | ]
|
8248 | }
|
8249 | ]
|
8250 | },
|
8251 | {
|
8252 | "type": "listItem",
|
8253 | "spread": true,
|
8254 | "children": [
|
8255 | {
|
8256 | "type": "paragraph",
|
8257 | "children": [
|
8258 | {
|
8259 | "type": "text",
|
8260 | "value": "bar"
|
8261 | }
|
8262 | ]
|
8263 | }
|
8264 | ]
|
8265 | },
|
8266 | {
|
8267 | "type": "listItem",
|
8268 | "spread": true,
|
8269 | "children": [
|
8270 | {
|
8271 | "type": "paragraph",
|
8272 | "children": [
|
8273 | {
|
8274 | "type": "text",
|
8275 | "value": "baz"
|
8276 | }
|
8277 | ]
|
8278 | }
|
8279 | ]
|
8280 | }
|
8281 | ]
|
8282 | }
|
8283 | ]
|
8284 | },
|
8285 | "myst": "- foo\n\n- bar\n\n\n- baz\n",
|
8286 | "html": "<ul>\n<li>\n<p>foo</p>\n</li>\n<li>\n<p>bar</p>\n</li>\n<li>\n<p>baz</p>\n</li>\n</ul>\n"
|
8287 | },
|
8288 | {
|
8289 | "title": "cmark_spec_0.30: Lists - example 307",
|
8290 | "mdast": {
|
8291 | "type": "root",
|
8292 | "children": [
|
8293 | {
|
8294 | "type": "list",
|
8295 | "ordered": false,
|
8296 | "spread": false,
|
8297 | "children": [
|
8298 | {
|
8299 | "type": "listItem",
|
8300 | "spread": true,
|
8301 | "children": [
|
8302 | {
|
8303 | "type": "text",
|
8304 | "value": "foo"
|
8305 | },
|
8306 | {
|
8307 | "type": "list",
|
8308 | "ordered": false,
|
8309 | "spread": false,
|
8310 | "children": [
|
8311 | {
|
8312 | "type": "listItem",
|
8313 | "spread": true,
|
8314 | "children": [
|
8315 | {
|
8316 | "type": "text",
|
8317 | "value": "bar"
|
8318 | },
|
8319 | {
|
8320 | "type": "list",
|
8321 | "ordered": false,
|
8322 | "spread": false,
|
8323 | "children": [
|
8324 | {
|
8325 | "type": "listItem",
|
8326 | "spread": true,
|
8327 | "children": [
|
8328 | {
|
8329 | "type": "paragraph",
|
8330 | "children": [
|
8331 | {
|
8332 | "type": "text",
|
8333 | "value": "baz"
|
8334 | }
|
8335 | ]
|
8336 | },
|
8337 | {
|
8338 | "type": "paragraph",
|
8339 | "children": [
|
8340 | {
|
8341 | "type": "text",
|
8342 | "value": "bim"
|
8343 | }
|
8344 | ]
|
8345 | }
|
8346 | ]
|
8347 | }
|
8348 | ]
|
8349 | }
|
8350 | ]
|
8351 | }
|
8352 | ]
|
8353 | }
|
8354 | ]
|
8355 | }
|
8356 | ]
|
8357 | }
|
8358 | ]
|
8359 | },
|
8360 | "myst": "- foo\n - bar\n - baz\n\n\n bim\n",
|
8361 | "html": "<ul>\n<li>foo\n<ul>\n<li>bar\n<ul>\n<li>\n<p>baz</p>\n<p>bim</p>\n</li>\n</ul>\n</li>\n</ul>\n</li>\n</ul>\n"
|
8362 | },
|
8363 | {
|
8364 | "title": "cmark_spec_0.30: Lists - example 308",
|
8365 | "mdast": {
|
8366 | "type": "root",
|
8367 | "children": [
|
8368 | {
|
8369 | "type": "list",
|
8370 | "ordered": false,
|
8371 | "spread": false,
|
8372 | "children": [
|
8373 | {
|
8374 | "type": "listItem",
|
8375 | "spread": true,
|
8376 | "children": [
|
8377 | {
|
8378 | "type": "text",
|
8379 | "value": "foo"
|
8380 | }
|
8381 | ]
|
8382 | },
|
8383 | {
|
8384 | "type": "listItem",
|
8385 | "spread": true,
|
8386 | "children": [
|
8387 | {
|
8388 | "type": "text",
|
8389 | "value": "bar"
|
8390 | }
|
8391 | ]
|
8392 | }
|
8393 | ]
|
8394 | },
|
8395 | {
|
8396 | "type": "html",
|
8397 | "value": "<!-- -->"
|
8398 | },
|
8399 | {
|
8400 | "type": "list",
|
8401 | "ordered": false,
|
8402 | "spread": false,
|
8403 | "children": [
|
8404 | {
|
8405 | "type": "listItem",
|
8406 | "spread": true,
|
8407 | "children": [
|
8408 | {
|
8409 | "type": "text",
|
8410 | "value": "baz"
|
8411 | }
|
8412 | ]
|
8413 | },
|
8414 | {
|
8415 | "type": "listItem",
|
8416 | "spread": true,
|
8417 | "children": [
|
8418 | {
|
8419 | "type": "text",
|
8420 | "value": "bim"
|
8421 | }
|
8422 | ]
|
8423 | }
|
8424 | ]
|
8425 | }
|
8426 | ]
|
8427 | },
|
8428 | "myst": "- foo\n- bar\n\n<!-- -->\n\n- baz\n- bim\n",
|
8429 | "html": "<ul>\n<li>foo</li>\n<li>bar</li>\n</ul>\n<!-- -->\n<ul>\n<li>baz</li>\n<li>bim</li>\n</ul>\n"
|
8430 | },
|
8431 | {
|
8432 | "title": "cmark_spec_0.30: Lists - example 309",
|
8433 | "mdast": {
|
8434 | "type": "root",
|
8435 | "children": [
|
8436 | {
|
8437 | "type": "list",
|
8438 | "ordered": false,
|
8439 | "spread": false,
|
8440 | "children": [
|
8441 | {
|
8442 | "type": "listItem",
|
8443 | "spread": true,
|
8444 | "children": [
|
8445 | {
|
8446 | "type": "paragraph",
|
8447 | "children": [
|
8448 | {
|
8449 | "type": "text",
|
8450 | "value": "foo"
|
8451 | }
|
8452 | ]
|
8453 | },
|
8454 | {
|
8455 | "type": "paragraph",
|
8456 | "children": [
|
8457 | {
|
8458 | "type": "text",
|
8459 | "value": "notcode"
|
8460 | }
|
8461 | ]
|
8462 | }
|
8463 | ]
|
8464 | },
|
8465 | {
|
8466 | "type": "listItem",
|
8467 | "spread": true,
|
8468 | "children": [
|
8469 | {
|
8470 | "type": "paragraph",
|
8471 | "children": [
|
8472 | {
|
8473 | "type": "text",
|
8474 | "value": "foo"
|
8475 | }
|
8476 | ]
|
8477 | }
|
8478 | ]
|
8479 | }
|
8480 | ]
|
8481 | },
|
8482 | {
|
8483 | "type": "html",
|
8484 | "value": "<!-- -->"
|
8485 | },
|
8486 | {
|
8487 | "type": "code",
|
8488 | "lang": "",
|
8489 | "value": "code"
|
8490 | }
|
8491 | ]
|
8492 | },
|
8493 | "myst": "- foo\n\n notcode\n\n- foo\n\n<!-- -->\n\n code\n",
|
8494 | "html": "<ul>\n<li>\n<p>foo</p>\n<p>notcode</p>\n</li>\n<li>\n<p>foo</p>\n</li>\n</ul>\n<!-- -->\n<pre><code>code\n</code></pre>\n"
|
8495 | },
|
8496 | {
|
8497 | "title": "cmark_spec_0.30: Lists - example 310",
|
8498 | "mdast": {
|
8499 | "type": "root",
|
8500 | "children": [
|
8501 | {
|
8502 | "type": "list",
|
8503 | "ordered": false,
|
8504 | "spread": false,
|
8505 | "children": [
|
8506 | {
|
8507 | "type": "listItem",
|
8508 | "spread": true,
|
8509 | "children": [
|
8510 | {
|
8511 | "type": "text",
|
8512 | "value": "a"
|
8513 | }
|
8514 | ]
|
8515 | },
|
8516 | {
|
8517 | "type": "listItem",
|
8518 | "spread": true,
|
8519 | "children": [
|
8520 | {
|
8521 | "type": "text",
|
8522 | "value": "b"
|
8523 | }
|
8524 | ]
|
8525 | },
|
8526 | {
|
8527 | "type": "listItem",
|
8528 | "spread": true,
|
8529 | "children": [
|
8530 | {
|
8531 | "type": "text",
|
8532 | "value": "c"
|
8533 | }
|
8534 | ]
|
8535 | },
|
8536 | {
|
8537 | "type": "listItem",
|
8538 | "spread": true,
|
8539 | "children": [
|
8540 | {
|
8541 | "type": "text",
|
8542 | "value": "d"
|
8543 | }
|
8544 | ]
|
8545 | },
|
8546 | {
|
8547 | "type": "listItem",
|
8548 | "spread": true,
|
8549 | "children": [
|
8550 | {
|
8551 | "type": "text",
|
8552 | "value": "e"
|
8553 | }
|
8554 | ]
|
8555 | },
|
8556 | {
|
8557 | "type": "listItem",
|
8558 | "spread": true,
|
8559 | "children": [
|
8560 | {
|
8561 | "type": "text",
|
8562 | "value": "f"
|
8563 | }
|
8564 | ]
|
8565 | },
|
8566 | {
|
8567 | "type": "listItem",
|
8568 | "spread": true,
|
8569 | "children": [
|
8570 | {
|
8571 | "type": "text",
|
8572 | "value": "g"
|
8573 | }
|
8574 | ]
|
8575 | }
|
8576 | ]
|
8577 | }
|
8578 | ]
|
8579 | },
|
8580 | "myst": "- a\n - b\n - c\n - d\n - e\n - f\n- g\n",
|
8581 | "html": "<ul>\n<li>a</li>\n<li>b</li>\n<li>c</li>\n<li>d</li>\n<li>e</li>\n<li>f</li>\n<li>g</li>\n</ul>\n"
|
8582 | },
|
8583 | {
|
8584 | "title": "cmark_spec_0.30: Lists - example 311",
|
8585 | "mdast": {
|
8586 | "type": "root",
|
8587 | "children": [
|
8588 | {
|
8589 | "type": "list",
|
8590 | "ordered": true,
|
8591 | "start": 1,
|
8592 | "spread": false,
|
8593 | "children": [
|
8594 | {
|
8595 | "type": "listItem",
|
8596 | "spread": true,
|
8597 | "children": [
|
8598 | {
|
8599 | "type": "paragraph",
|
8600 | "children": [
|
8601 | {
|
8602 | "type": "text",
|
8603 | "value": "a"
|
8604 | }
|
8605 | ]
|
8606 | }
|
8607 | ]
|
8608 | },
|
8609 | {
|
8610 | "type": "listItem",
|
8611 | "spread": true,
|
8612 | "children": [
|
8613 | {
|
8614 | "type": "paragraph",
|
8615 | "children": [
|
8616 | {
|
8617 | "type": "text",
|
8618 | "value": "b"
|
8619 | }
|
8620 | ]
|
8621 | }
|
8622 | ]
|
8623 | },
|
8624 | {
|
8625 | "type": "listItem",
|
8626 | "spread": true,
|
8627 | "children": [
|
8628 | {
|
8629 | "type": "paragraph",
|
8630 | "children": [
|
8631 | {
|
8632 | "type": "text",
|
8633 | "value": "c"
|
8634 | }
|
8635 | ]
|
8636 | }
|
8637 | ]
|
8638 | }
|
8639 | ]
|
8640 | }
|
8641 | ]
|
8642 | },
|
8643 | "myst": "1. a\n\n 2. b\n\n 3. c\n",
|
8644 | "html": "<ol>\n<li>\n<p>a</p>\n</li>\n<li>\n<p>b</p>\n</li>\n<li>\n<p>c</p>\n</li>\n</ol>\n"
|
8645 | },
|
8646 | {
|
8647 | "title": "cmark_spec_0.30: Lists - example 312",
|
8648 | "mdast": {
|
8649 | "type": "root",
|
8650 | "children": [
|
8651 | {
|
8652 | "type": "list",
|
8653 | "ordered": false,
|
8654 | "spread": false,
|
8655 | "children": [
|
8656 | {
|
8657 | "type": "listItem",
|
8658 | "spread": true,
|
8659 | "children": [
|
8660 | {
|
8661 | "type": "text",
|
8662 | "value": "a"
|
8663 | }
|
8664 | ]
|
8665 | },
|
8666 | {
|
8667 | "type": "listItem",
|
8668 | "spread": true,
|
8669 | "children": [
|
8670 | {
|
8671 | "type": "text",
|
8672 | "value": "b"
|
8673 | }
|
8674 | ]
|
8675 | },
|
8676 | {
|
8677 | "type": "listItem",
|
8678 | "spread": true,
|
8679 | "children": [
|
8680 | {
|
8681 | "type": "text",
|
8682 | "value": "c"
|
8683 | }
|
8684 | ]
|
8685 | },
|
8686 | {
|
8687 | "type": "listItem",
|
8688 | "spread": true,
|
8689 | "children": [
|
8690 | {
|
8691 | "type": "text",
|
8692 | "value": "d\n- e"
|
8693 | }
|
8694 | ]
|
8695 | }
|
8696 | ]
|
8697 | }
|
8698 | ]
|
8699 | },
|
8700 | "myst": "- a\n - b\n - c\n - d\n - e\n",
|
8701 | "html": "<ul>\n<li>a</li>\n<li>b</li>\n<li>c</li>\n<li>d\n- e</li>\n</ul>\n"
|
8702 | },
|
8703 | {
|
8704 | "title": "cmark_spec_0.30: Lists - example 313",
|
8705 | "mdast": {
|
8706 | "type": "root",
|
8707 | "children": [
|
8708 | {
|
8709 | "type": "list",
|
8710 | "ordered": true,
|
8711 | "start": 1,
|
8712 | "spread": false,
|
8713 | "children": [
|
8714 | {
|
8715 | "type": "listItem",
|
8716 | "spread": true,
|
8717 | "children": [
|
8718 | {
|
8719 | "type": "paragraph",
|
8720 | "children": [
|
8721 | {
|
8722 | "type": "text",
|
8723 | "value": "a"
|
8724 | }
|
8725 | ]
|
8726 | }
|
8727 | ]
|
8728 | },
|
8729 | {
|
8730 | "type": "listItem",
|
8731 | "spread": true,
|
8732 | "children": [
|
8733 | {
|
8734 | "type": "paragraph",
|
8735 | "children": [
|
8736 | {
|
8737 | "type": "text",
|
8738 | "value": "b"
|
8739 | }
|
8740 | ]
|
8741 | }
|
8742 | ]
|
8743 | }
|
8744 | ]
|
8745 | },
|
8746 | {
|
8747 | "type": "code",
|
8748 | "lang": "",
|
8749 | "value": "3. c"
|
8750 | }
|
8751 | ]
|
8752 | },
|
8753 | "myst": "1. a\n\n 2. b\n\n 3. c\n",
|
8754 | "html": "<ol>\n<li>\n<p>a</p>\n</li>\n<li>\n<p>b</p>\n</li>\n</ol>\n<pre><code>3. c\n</code></pre>\n"
|
8755 | },
|
8756 | {
|
8757 | "title": "cmark_spec_0.30: Lists - example 314",
|
8758 | "mdast": {
|
8759 | "type": "root",
|
8760 | "children": [
|
8761 | {
|
8762 | "type": "list",
|
8763 | "ordered": false,
|
8764 | "spread": false,
|
8765 | "children": [
|
8766 | {
|
8767 | "type": "listItem",
|
8768 | "spread": true,
|
8769 | "children": [
|
8770 | {
|
8771 | "type": "paragraph",
|
8772 | "children": [
|
8773 | {
|
8774 | "type": "text",
|
8775 | "value": "a"
|
8776 | }
|
8777 | ]
|
8778 | }
|
8779 | ]
|
8780 | },
|
8781 | {
|
8782 | "type": "listItem",
|
8783 | "spread": true,
|
8784 | "children": [
|
8785 | {
|
8786 | "type": "paragraph",
|
8787 | "children": [
|
8788 | {
|
8789 | "type": "text",
|
8790 | "value": "b"
|
8791 | }
|
8792 | ]
|
8793 | }
|
8794 | ]
|
8795 | },
|
8796 | {
|
8797 | "type": "listItem",
|
8798 | "spread": true,
|
8799 | "children": [
|
8800 | {
|
8801 | "type": "paragraph",
|
8802 | "children": [
|
8803 | {
|
8804 | "type": "text",
|
8805 | "value": "c"
|
8806 | }
|
8807 | ]
|
8808 | }
|
8809 | ]
|
8810 | }
|
8811 | ]
|
8812 | }
|
8813 | ]
|
8814 | },
|
8815 | "myst": "- a\n- b\n\n- c\n",
|
8816 | "html": "<ul>\n<li>\n<p>a</p>\n</li>\n<li>\n<p>b</p>\n</li>\n<li>\n<p>c</p>\n</li>\n</ul>\n"
|
8817 | },
|
8818 | {
|
8819 | "title": "cmark_spec_0.30: Lists - example 315",
|
8820 | "mdast": {
|
8821 | "type": "root",
|
8822 | "children": [
|
8823 | {
|
8824 | "type": "list",
|
8825 | "ordered": false,
|
8826 | "spread": false,
|
8827 | "children": [
|
8828 | {
|
8829 | "type": "listItem",
|
8830 | "spread": true,
|
8831 | "children": [
|
8832 | {
|
8833 | "type": "paragraph",
|
8834 | "children": [
|
8835 | {
|
8836 | "type": "text",
|
8837 | "value": "a"
|
8838 | }
|
8839 | ]
|
8840 | }
|
8841 | ]
|
8842 | },
|
8843 | {
|
8844 | "type": "listItem",
|
8845 | "spread": true,
|
8846 | "children": []
|
8847 | },
|
8848 | {
|
8849 | "type": "listItem",
|
8850 | "spread": true,
|
8851 | "children": [
|
8852 | {
|
8853 | "type": "paragraph",
|
8854 | "children": [
|
8855 | {
|
8856 | "type": "text",
|
8857 | "value": "c"
|
8858 | }
|
8859 | ]
|
8860 | }
|
8861 | ]
|
8862 | }
|
8863 | ]
|
8864 | }
|
8865 | ]
|
8866 | },
|
8867 | "myst": "* a\n*\n\n* c\n",
|
8868 | "html": "<ul>\n<li>\n<p>a</p>\n</li>\n<li></li>\n<li>\n<p>c</p>\n</li>\n</ul>\n"
|
8869 | },
|
8870 | {
|
8871 | "title": "cmark_spec_0.30: Lists - example 316",
|
8872 | "mdast": {
|
8873 | "type": "root",
|
8874 | "children": [
|
8875 | {
|
8876 | "type": "list",
|
8877 | "ordered": false,
|
8878 | "spread": false,
|
8879 | "children": [
|
8880 | {
|
8881 | "type": "listItem",
|
8882 | "spread": true,
|
8883 | "children": [
|
8884 | {
|
8885 | "type": "paragraph",
|
8886 | "children": [
|
8887 | {
|
8888 | "type": "text",
|
8889 | "value": "a"
|
8890 | }
|
8891 | ]
|
8892 | }
|
8893 | ]
|
8894 | },
|
8895 | {
|
8896 | "type": "listItem",
|
8897 | "spread": true,
|
8898 | "children": [
|
8899 | {
|
8900 | "type": "paragraph",
|
8901 | "children": [
|
8902 | {
|
8903 | "type": "text",
|
8904 | "value": "b"
|
8905 | }
|
8906 | ]
|
8907 | },
|
8908 | {
|
8909 | "type": "paragraph",
|
8910 | "children": [
|
8911 | {
|
8912 | "type": "text",
|
8913 | "value": "c"
|
8914 | }
|
8915 | ]
|
8916 | }
|
8917 | ]
|
8918 | },
|
8919 | {
|
8920 | "type": "listItem",
|
8921 | "spread": true,
|
8922 | "children": [
|
8923 | {
|
8924 | "type": "paragraph",
|
8925 | "children": [
|
8926 | {
|
8927 | "type": "text",
|
8928 | "value": "d"
|
8929 | }
|
8930 | ]
|
8931 | }
|
8932 | ]
|
8933 | }
|
8934 | ]
|
8935 | }
|
8936 | ]
|
8937 | },
|
8938 | "myst": "- a\n- b\n\n c\n- d\n",
|
8939 | "html": "<ul>\n<li>\n<p>a</p>\n</li>\n<li>\n<p>b</p>\n<p>c</p>\n</li>\n<li>\n<p>d</p>\n</li>\n</ul>\n"
|
8940 | },
|
8941 | {
|
8942 | "title": "cmark_spec_0.30: Lists - example 317",
|
8943 | "mdast": {
|
8944 | "type": "root",
|
8945 | "children": [
|
8946 | {
|
8947 | "type": "list",
|
8948 | "ordered": false,
|
8949 | "spread": false,
|
8950 | "children": [
|
8951 | {
|
8952 | "type": "listItem",
|
8953 | "spread": true,
|
8954 | "children": [
|
8955 | {
|
8956 | "type": "paragraph",
|
8957 | "children": [
|
8958 | {
|
8959 | "type": "text",
|
8960 | "value": "a"
|
8961 | }
|
8962 | ]
|
8963 | }
|
8964 | ]
|
8965 | },
|
8966 | {
|
8967 | "type": "listItem",
|
8968 | "spread": true,
|
8969 | "children": [
|
8970 | {
|
8971 | "type": "paragraph",
|
8972 | "children": [
|
8973 | {
|
8974 | "type": "text",
|
8975 | "value": "b"
|
8976 | }
|
8977 | ]
|
8978 | }
|
8979 | ]
|
8980 | },
|
8981 | {
|
8982 | "type": "listItem",
|
8983 | "spread": true,
|
8984 | "children": [
|
8985 | {
|
8986 | "type": "paragraph",
|
8987 | "children": [
|
8988 | {
|
8989 | "type": "text",
|
8990 | "value": "d"
|
8991 | }
|
8992 | ]
|
8993 | }
|
8994 | ]
|
8995 | }
|
8996 | ]
|
8997 | }
|
8998 | ]
|
8999 | },
|
9000 | "myst": "- a\n- b\n\n [ref]: /url\n- d\n",
|
9001 | "html": "<ul>\n<li>\n<p>a</p>\n</li>\n<li>\n<p>b</p>\n</li>\n<li>\n<p>d</p>\n</li>\n</ul>\n"
|
9002 | },
|
9003 | {
|
9004 | "title": "cmark_spec_0.30: Lists - example 318",
|
9005 | "mdast": {
|
9006 | "type": "root",
|
9007 | "children": [
|
9008 | {
|
9009 | "type": "list",
|
9010 | "ordered": false,
|
9011 | "spread": false,
|
9012 | "children": [
|
9013 | {
|
9014 | "type": "listItem",
|
9015 | "spread": true,
|
9016 | "children": [
|
9017 | {
|
9018 | "type": "text",
|
9019 | "value": "a"
|
9020 | }
|
9021 | ]
|
9022 | },
|
9023 | {
|
9024 | "type": "listItem",
|
9025 | "spread": true,
|
9026 | "children": [
|
9027 | {
|
9028 | "type": "code",
|
9029 | "lang": "",
|
9030 | "value": "b\n\n"
|
9031 | }
|
9032 | ]
|
9033 | },
|
9034 | {
|
9035 | "type": "listItem",
|
9036 | "spread": true,
|
9037 | "children": [
|
9038 | {
|
9039 | "type": "text",
|
9040 | "value": "c"
|
9041 | }
|
9042 | ]
|
9043 | }
|
9044 | ]
|
9045 | }
|
9046 | ]
|
9047 | },
|
9048 | "myst": "- a\n- ```\n b\n\n\n ```\n- c\n",
|
9049 | "html": "<ul>\n<li>a</li>\n<li>\n<pre><code>b\n\n\n</code></pre>\n</li>\n<li>c</li>\n</ul>\n"
|
9050 | },
|
9051 | {
|
9052 | "title": "cmark_spec_0.30: Lists - example 319",
|
9053 | "mdast": {
|
9054 | "type": "root",
|
9055 | "children": [
|
9056 | {
|
9057 | "type": "list",
|
9058 | "ordered": false,
|
9059 | "spread": false,
|
9060 | "children": [
|
9061 | {
|
9062 | "type": "listItem",
|
9063 | "spread": true,
|
9064 | "children": [
|
9065 | {
|
9066 | "type": "text",
|
9067 | "value": "a"
|
9068 | },
|
9069 | {
|
9070 | "type": "list",
|
9071 | "ordered": false,
|
9072 | "spread": false,
|
9073 | "children": [
|
9074 | {
|
9075 | "type": "listItem",
|
9076 | "spread": true,
|
9077 | "children": [
|
9078 | {
|
9079 | "type": "paragraph",
|
9080 | "children": [
|
9081 | {
|
9082 | "type": "text",
|
9083 | "value": "b"
|
9084 | }
|
9085 | ]
|
9086 | },
|
9087 | {
|
9088 | "type": "paragraph",
|
9089 | "children": [
|
9090 | {
|
9091 | "type": "text",
|
9092 | "value": "c"
|
9093 | }
|
9094 | ]
|
9095 | }
|
9096 | ]
|
9097 | }
|
9098 | ]
|
9099 | }
|
9100 | ]
|
9101 | },
|
9102 | {
|
9103 | "type": "listItem",
|
9104 | "spread": true,
|
9105 | "children": [
|
9106 | {
|
9107 | "type": "text",
|
9108 | "value": "d"
|
9109 | }
|
9110 | ]
|
9111 | }
|
9112 | ]
|
9113 | }
|
9114 | ]
|
9115 | },
|
9116 | "myst": "- a\n - b\n\n c\n- d\n",
|
9117 | "html": "<ul>\n<li>a\n<ul>\n<li>\n<p>b</p>\n<p>c</p>\n</li>\n</ul>\n</li>\n<li>d</li>\n</ul>\n"
|
9118 | },
|
9119 | {
|
9120 | "title": "cmark_spec_0.30: Lists - example 320",
|
9121 | "mdast": {
|
9122 | "type": "root",
|
9123 | "children": [
|
9124 | {
|
9125 | "type": "list",
|
9126 | "ordered": false,
|
9127 | "spread": false,
|
9128 | "children": [
|
9129 | {
|
9130 | "type": "listItem",
|
9131 | "spread": true,
|
9132 | "children": [
|
9133 | {
|
9134 | "type": "text",
|
9135 | "value": "a"
|
9136 | },
|
9137 | {
|
9138 | "type": "blockquote",
|
9139 | "children": [
|
9140 | {
|
9141 | "type": "paragraph",
|
9142 | "children": [
|
9143 | {
|
9144 | "type": "text",
|
9145 | "value": "b"
|
9146 | }
|
9147 | ]
|
9148 | }
|
9149 | ]
|
9150 | }
|
9151 | ]
|
9152 | },
|
9153 | {
|
9154 | "type": "listItem",
|
9155 | "spread": true,
|
9156 | "children": [
|
9157 | {
|
9158 | "type": "text",
|
9159 | "value": "c"
|
9160 | }
|
9161 | ]
|
9162 | }
|
9163 | ]
|
9164 | }
|
9165 | ]
|
9166 | },
|
9167 | "myst": "* a\n > b\n >\n* c\n",
|
9168 | "html": "<ul>\n<li>a\n<blockquote>\n<p>b</p>\n</blockquote>\n</li>\n<li>c</li>\n</ul>\n"
|
9169 | },
|
9170 | {
|
9171 | "title": "cmark_spec_0.30: Lists - example 321",
|
9172 | "mdast": {
|
9173 | "type": "root",
|
9174 | "children": [
|
9175 | {
|
9176 | "type": "list",
|
9177 | "ordered": false,
|
9178 | "spread": false,
|
9179 | "children": [
|
9180 | {
|
9181 | "type": "listItem",
|
9182 | "spread": true,
|
9183 | "children": [
|
9184 | {
|
9185 | "type": "text",
|
9186 | "value": "a"
|
9187 | },
|
9188 | {
|
9189 | "type": "blockquote",
|
9190 | "children": [
|
9191 | {
|
9192 | "type": "paragraph",
|
9193 | "children": [
|
9194 | {
|
9195 | "type": "text",
|
9196 | "value": "b"
|
9197 | }
|
9198 | ]
|
9199 | }
|
9200 | ]
|
9201 | },
|
9202 | {
|
9203 | "type": "code",
|
9204 | "lang": "",
|
9205 | "value": "c"
|
9206 | }
|
9207 | ]
|
9208 | },
|
9209 | {
|
9210 | "type": "listItem",
|
9211 | "spread": true,
|
9212 | "children": [
|
9213 | {
|
9214 | "type": "text",
|
9215 | "value": "d"
|
9216 | }
|
9217 | ]
|
9218 | }
|
9219 | ]
|
9220 | }
|
9221 | ]
|
9222 | },
|
9223 | "myst": "- a\n > b\n ```\n c\n ```\n- d\n",
|
9224 | "html": "<ul>\n<li>a\n<blockquote>\n<p>b</p>\n</blockquote>\n<pre><code>c\n</code></pre>\n</li>\n<li>d</li>\n</ul>\n"
|
9225 | },
|
9226 | {
|
9227 | "title": "cmark_spec_0.30: Lists - example 322",
|
9228 | "mdast": {
|
9229 | "type": "root",
|
9230 | "children": [
|
9231 | {
|
9232 | "type": "list",
|
9233 | "ordered": false,
|
9234 | "spread": false,
|
9235 | "children": [
|
9236 | {
|
9237 | "type": "listItem",
|
9238 | "spread": true,
|
9239 | "children": [
|
9240 | {
|
9241 | "type": "text",
|
9242 | "value": "a"
|
9243 | }
|
9244 | ]
|
9245 | }
|
9246 | ]
|
9247 | }
|
9248 | ]
|
9249 | },
|
9250 | "myst": "- a\n",
|
9251 | "html": "<ul>\n<li>a</li>\n</ul>\n"
|
9252 | },
|
9253 | {
|
9254 | "title": "cmark_spec_0.30: Lists - example 323",
|
9255 | "mdast": {
|
9256 | "type": "root",
|
9257 | "children": [
|
9258 | {
|
9259 | "type": "list",
|
9260 | "ordered": false,
|
9261 | "spread": false,
|
9262 | "children": [
|
9263 | {
|
9264 | "type": "listItem",
|
9265 | "spread": true,
|
9266 | "children": [
|
9267 | {
|
9268 | "type": "text",
|
9269 | "value": "a"
|
9270 | },
|
9271 | {
|
9272 | "type": "list",
|
9273 | "ordered": false,
|
9274 | "spread": false,
|
9275 | "children": [
|
9276 | {
|
9277 | "type": "listItem",
|
9278 | "spread": true,
|
9279 | "children": [
|
9280 | {
|
9281 | "type": "text",
|
9282 | "value": "b"
|
9283 | }
|
9284 | ]
|
9285 | }
|
9286 | ]
|
9287 | }
|
9288 | ]
|
9289 | }
|
9290 | ]
|
9291 | }
|
9292 | ]
|
9293 | },
|
9294 | "myst": "- a\n - b\n",
|
9295 | "html": "<ul>\n<li>a\n<ul>\n<li>b</li>\n</ul>\n</li>\n</ul>\n"
|
9296 | },
|
9297 | {
|
9298 | "title": "cmark_spec_0.30: Lists - example 324",
|
9299 | "mdast": {
|
9300 | "type": "root",
|
9301 | "children": [
|
9302 | {
|
9303 | "type": "list",
|
9304 | "ordered": true,
|
9305 | "start": 1,
|
9306 | "spread": false,
|
9307 | "children": [
|
9308 | {
|
9309 | "type": "listItem",
|
9310 | "spread": true,
|
9311 | "children": [
|
9312 | {
|
9313 | "type": "code",
|
9314 | "lang": "",
|
9315 | "value": "foo"
|
9316 | },
|
9317 | {
|
9318 | "type": "paragraph",
|
9319 | "children": [
|
9320 | {
|
9321 | "type": "text",
|
9322 | "value": "bar"
|
9323 | }
|
9324 | ]
|
9325 | }
|
9326 | ]
|
9327 | }
|
9328 | ]
|
9329 | }
|
9330 | ]
|
9331 | },
|
9332 | "myst": "1. ```\n foo\n ```\n\n bar\n",
|
9333 | "html": "<ol>\n<li>\n<pre><code>foo\n</code></pre>\n<p>bar</p>\n</li>\n</ol>\n"
|
9334 | },
|
9335 | {
|
9336 | "title": "cmark_spec_0.30: Lists - example 325",
|
9337 | "mdast": {
|
9338 | "type": "root",
|
9339 | "children": [
|
9340 | {
|
9341 | "type": "list",
|
9342 | "ordered": false,
|
9343 | "spread": false,
|
9344 | "children": [
|
9345 | {
|
9346 | "type": "listItem",
|
9347 | "spread": true,
|
9348 | "children": [
|
9349 | {
|
9350 | "type": "paragraph",
|
9351 | "children": [
|
9352 | {
|
9353 | "type": "text",
|
9354 | "value": "foo"
|
9355 | }
|
9356 | ]
|
9357 | },
|
9358 | {
|
9359 | "type": "list",
|
9360 | "ordered": false,
|
9361 | "spread": false,
|
9362 | "children": [
|
9363 | {
|
9364 | "type": "listItem",
|
9365 | "spread": true,
|
9366 | "children": [
|
9367 | {
|
9368 | "type": "text",
|
9369 | "value": "bar"
|
9370 | }
|
9371 | ]
|
9372 | }
|
9373 | ]
|
9374 | },
|
9375 | {
|
9376 | "type": "paragraph",
|
9377 | "children": [
|
9378 | {
|
9379 | "type": "text",
|
9380 | "value": "baz"
|
9381 | }
|
9382 | ]
|
9383 | }
|
9384 | ]
|
9385 | }
|
9386 | ]
|
9387 | }
|
9388 | ]
|
9389 | },
|
9390 | "myst": "* foo\n * bar\n\n baz\n",
|
9391 | "html": "<ul>\n<li>\n<p>foo</p>\n<ul>\n<li>bar</li>\n</ul>\n<p>baz</p>\n</li>\n</ul>\n"
|
9392 | },
|
9393 | {
|
9394 | "title": "cmark_spec_0.30: Lists - example 326",
|
9395 | "mdast": {
|
9396 | "type": "root",
|
9397 | "children": [
|
9398 | {
|
9399 | "type": "list",
|
9400 | "ordered": false,
|
9401 | "spread": false,
|
9402 | "children": [
|
9403 | {
|
9404 | "type": "listItem",
|
9405 | "spread": true,
|
9406 | "children": [
|
9407 | {
|
9408 | "type": "paragraph",
|
9409 | "children": [
|
9410 | {
|
9411 | "type": "text",
|
9412 | "value": "a"
|
9413 | }
|
9414 | ]
|
9415 | },
|
9416 | {
|
9417 | "type": "list",
|
9418 | "ordered": false,
|
9419 | "spread": false,
|
9420 | "children": [
|
9421 | {
|
9422 | "type": "listItem",
|
9423 | "spread": true,
|
9424 | "children": [
|
9425 | {
|
9426 | "type": "text",
|
9427 | "value": "b"
|
9428 | }
|
9429 | ]
|
9430 | },
|
9431 | {
|
9432 | "type": "listItem",
|
9433 | "spread": true,
|
9434 | "children": [
|
9435 | {
|
9436 | "type": "text",
|
9437 | "value": "c"
|
9438 | }
|
9439 | ]
|
9440 | }
|
9441 | ]
|
9442 | }
|
9443 | ]
|
9444 | },
|
9445 | {
|
9446 | "type": "listItem",
|
9447 | "spread": true,
|
9448 | "children": [
|
9449 | {
|
9450 | "type": "paragraph",
|
9451 | "children": [
|
9452 | {
|
9453 | "type": "text",
|
9454 | "value": "d"
|
9455 | }
|
9456 | ]
|
9457 | },
|
9458 | {
|
9459 | "type": "list",
|
9460 | "ordered": false,
|
9461 | "spread": false,
|
9462 | "children": [
|
9463 | {
|
9464 | "type": "listItem",
|
9465 | "spread": true,
|
9466 | "children": [
|
9467 | {
|
9468 | "type": "text",
|
9469 | "value": "e"
|
9470 | }
|
9471 | ]
|
9472 | },
|
9473 | {
|
9474 | "type": "listItem",
|
9475 | "spread": true,
|
9476 | "children": [
|
9477 | {
|
9478 | "type": "text",
|
9479 | "value": "f"
|
9480 | }
|
9481 | ]
|
9482 | }
|
9483 | ]
|
9484 | }
|
9485 | ]
|
9486 | }
|
9487 | ]
|
9488 | }
|
9489 | ]
|
9490 | },
|
9491 | "myst": "- a\n - b\n - c\n\n- d\n - e\n - f\n",
|
9492 | "html": "<ul>\n<li>\n<p>a</p>\n<ul>\n<li>b</li>\n<li>c</li>\n</ul>\n</li>\n<li>\n<p>d</p>\n<ul>\n<li>e</li>\n<li>f</li>\n</ul>\n</li>\n</ul>\n"
|
9493 | },
|
9494 | {
|
9495 | "title": "cmark_spec_0.30: Inlines - example 327",
|
9496 | "mdast": {
|
9497 | "type": "root",
|
9498 | "children": [
|
9499 | {
|
9500 | "type": "paragraph",
|
9501 | "children": [
|
9502 | {
|
9503 | "type": "inlineCode",
|
9504 | "value": "hi"
|
9505 | },
|
9506 | {
|
9507 | "type": "text",
|
9508 | "value": "lo`"
|
9509 | }
|
9510 | ]
|
9511 | }
|
9512 | ]
|
9513 | },
|
9514 | "myst": "`hi`lo`\n",
|
9515 | "html": "<p><code>hi</code>lo`</p>\n"
|
9516 | },
|
9517 | {
|
9518 | "title": "cmark_spec_0.30: Code spans - example 328",
|
9519 | "mdast": {
|
9520 | "type": "root",
|
9521 | "children": [
|
9522 | {
|
9523 | "type": "paragraph",
|
9524 | "children": [
|
9525 | {
|
9526 | "type": "inlineCode",
|
9527 | "value": "foo"
|
9528 | }
|
9529 | ]
|
9530 | }
|
9531 | ]
|
9532 | },
|
9533 | "myst": "`foo`\n",
|
9534 | "html": "<p><code>foo</code></p>\n"
|
9535 | },
|
9536 | {
|
9537 | "title": "cmark_spec_0.30: Code spans - example 329",
|
9538 | "mdast": {
|
9539 | "type": "root",
|
9540 | "children": [
|
9541 | {
|
9542 | "type": "paragraph",
|
9543 | "children": [
|
9544 | {
|
9545 | "type": "inlineCode",
|
9546 | "value": "foo ` bar"
|
9547 | }
|
9548 | ]
|
9549 | }
|
9550 | ]
|
9551 | },
|
9552 | "myst": "`` foo ` bar ``\n",
|
9553 | "html": "<p><code>foo ` bar</code></p>\n"
|
9554 | },
|
9555 | {
|
9556 | "title": "cmark_spec_0.30: Code spans - example 330",
|
9557 | "mdast": {
|
9558 | "type": "root",
|
9559 | "children": [
|
9560 | {
|
9561 | "type": "paragraph",
|
9562 | "children": [
|
9563 | {
|
9564 | "type": "inlineCode",
|
9565 | "value": "``"
|
9566 | }
|
9567 | ]
|
9568 | }
|
9569 | ]
|
9570 | },
|
9571 | "myst": "` `` `\n",
|
9572 | "html": "<p><code>``</code></p>\n"
|
9573 | },
|
9574 | {
|
9575 | "title": "cmark_spec_0.30: Code spans - example 331",
|
9576 | "mdast": {
|
9577 | "type": "root",
|
9578 | "children": [
|
9579 | {
|
9580 | "type": "paragraph",
|
9581 | "children": [
|
9582 | {
|
9583 | "type": "inlineCode",
|
9584 | "value": " `` "
|
9585 | }
|
9586 | ]
|
9587 | }
|
9588 | ]
|
9589 | },
|
9590 | "myst": "` `` `\n",
|
9591 | "html": "<p><code> `` </code></p>\n"
|
9592 | },
|
9593 | {
|
9594 | "title": "cmark_spec_0.30: Code spans - example 332",
|
9595 | "mdast": {
|
9596 | "type": "root",
|
9597 | "children": [
|
9598 | {
|
9599 | "type": "paragraph",
|
9600 | "children": [
|
9601 | {
|
9602 | "type": "inlineCode",
|
9603 | "value": " a"
|
9604 | }
|
9605 | ]
|
9606 | }
|
9607 | ]
|
9608 | },
|
9609 | "myst": "` a`\n",
|
9610 | "html": "<p><code> a</code></p>\n"
|
9611 | },
|
9612 | {
|
9613 | "title": "cmark_spec_0.30: Code spans - example 333",
|
9614 | "mdast": {
|
9615 | "type": "root",
|
9616 | "children": [
|
9617 | {
|
9618 | "type": "paragraph",
|
9619 | "children": [
|
9620 | {
|
9621 | "type": "inlineCode",
|
9622 | "value": " b "
|
9623 | }
|
9624 | ]
|
9625 | }
|
9626 | ]
|
9627 | },
|
9628 | "myst": "` b `\n",
|
9629 | "html": "<p><code> b </code></p>\n"
|
9630 | },
|
9631 | {
|
9632 | "title": "cmark_spec_0.30: Code spans - example 334",
|
9633 | "mdast": {
|
9634 | "type": "root",
|
9635 | "children": [
|
9636 | {
|
9637 | "type": "paragraph",
|
9638 | "children": [
|
9639 | {
|
9640 | "type": "inlineCode",
|
9641 | "value": " "
|
9642 | },
|
9643 | {
|
9644 | "type": "text",
|
9645 | "value": "\n"
|
9646 | },
|
9647 | {
|
9648 | "type": "inlineCode",
|
9649 | "value": " "
|
9650 | }
|
9651 | ]
|
9652 | }
|
9653 | ]
|
9654 | },
|
9655 | "myst": "` `\n` `\n",
|
9656 | "html": "<p><code> </code>\n<code> </code></p>\n"
|
9657 | },
|
9658 | {
|
9659 | "title": "cmark_spec_0.30: Code spans - example 335",
|
9660 | "mdast": {
|
9661 | "type": "root",
|
9662 | "children": [
|
9663 | {
|
9664 | "type": "paragraph",
|
9665 | "children": [
|
9666 | {
|
9667 | "type": "inlineCode",
|
9668 | "value": "foo bar baz"
|
9669 | }
|
9670 | ]
|
9671 | }
|
9672 | ]
|
9673 | },
|
9674 | "myst": "``\nfoo\nbar \nbaz\n``\n",
|
9675 | "html": "<p><code>foo bar baz</code></p>\n"
|
9676 | },
|
9677 | {
|
9678 | "title": "cmark_spec_0.30: Code spans - example 336",
|
9679 | "mdast": {
|
9680 | "type": "root",
|
9681 | "children": [
|
9682 | {
|
9683 | "type": "paragraph",
|
9684 | "children": [
|
9685 | {
|
9686 | "type": "inlineCode",
|
9687 | "value": "foo "
|
9688 | }
|
9689 | ]
|
9690 | }
|
9691 | ]
|
9692 | },
|
9693 | "myst": "``\nfoo \n``\n",
|
9694 | "html": "<p><code>foo </code></p>\n"
|
9695 | },
|
9696 | {
|
9697 | "title": "cmark_spec_0.30: Code spans - example 337",
|
9698 | "mdast": {
|
9699 | "type": "root",
|
9700 | "children": [
|
9701 | {
|
9702 | "type": "paragraph",
|
9703 | "children": [
|
9704 | {
|
9705 | "type": "inlineCode",
|
9706 | "value": "foo bar baz"
|
9707 | }
|
9708 | ]
|
9709 | }
|
9710 | ]
|
9711 | },
|
9712 | "myst": "`foo bar \nbaz`\n",
|
9713 | "html": "<p><code>foo bar baz</code></p>\n"
|
9714 | },
|
9715 | {
|
9716 | "title": "cmark_spec_0.30: Code spans - example 338",
|
9717 | "mdast": {
|
9718 | "type": "root",
|
9719 | "children": [
|
9720 | {
|
9721 | "type": "paragraph",
|
9722 | "children": [
|
9723 | {
|
9724 | "type": "inlineCode",
|
9725 | "value": "foo\\"
|
9726 | },
|
9727 | {
|
9728 | "type": "text",
|
9729 | "value": "bar`"
|
9730 | }
|
9731 | ]
|
9732 | }
|
9733 | ]
|
9734 | },
|
9735 | "myst": "`foo\\`bar`\n",
|
9736 | "html": "<p><code>foo\\</code>bar`</p>\n"
|
9737 | },
|
9738 | {
|
9739 | "title": "cmark_spec_0.30: Code spans - example 339",
|
9740 | "mdast": {
|
9741 | "type": "root",
|
9742 | "children": [
|
9743 | {
|
9744 | "type": "paragraph",
|
9745 | "children": [
|
9746 | {
|
9747 | "type": "inlineCode",
|
9748 | "value": "foo`bar"
|
9749 | }
|
9750 | ]
|
9751 | }
|
9752 | ]
|
9753 | },
|
9754 | "myst": "``foo`bar``\n",
|
9755 | "html": "<p><code>foo`bar</code></p>\n"
|
9756 | },
|
9757 | {
|
9758 | "title": "cmark_spec_0.30: Code spans - example 340",
|
9759 | "mdast": {
|
9760 | "type": "root",
|
9761 | "children": [
|
9762 | {
|
9763 | "type": "paragraph",
|
9764 | "children": [
|
9765 | {
|
9766 | "type": "inlineCode",
|
9767 | "value": "foo `` bar"
|
9768 | }
|
9769 | ]
|
9770 | }
|
9771 | ]
|
9772 | },
|
9773 | "myst": "` foo `` bar `\n",
|
9774 | "html": "<p><code>foo `` bar</code></p>\n"
|
9775 | },
|
9776 | {
|
9777 | "title": "cmark_spec_0.30: Code spans - example 341",
|
9778 | "mdast": {
|
9779 | "type": "root",
|
9780 | "children": [
|
9781 | {
|
9782 | "type": "paragraph",
|
9783 | "children": [
|
9784 | {
|
9785 | "type": "text",
|
9786 | "value": "*foo"
|
9787 | },
|
9788 | {
|
9789 | "type": "inlineCode",
|
9790 | "value": "*"
|
9791 | }
|
9792 | ]
|
9793 | }
|
9794 | ]
|
9795 | },
|
9796 | "myst": "*foo`*`\n",
|
9797 | "html": "<p>*foo<code>*</code></p>\n"
|
9798 | },
|
9799 | {
|
9800 | "title": "cmark_spec_0.30: Code spans - example 342",
|
9801 | "mdast": {
|
9802 | "type": "root",
|
9803 | "children": [
|
9804 | {
|
9805 | "type": "paragraph",
|
9806 | "children": [
|
9807 | {
|
9808 | "type": "text",
|
9809 | "value": "[not a "
|
9810 | },
|
9811 | {
|
9812 | "type": "inlineCode",
|
9813 | "value": "link](/foo"
|
9814 | },
|
9815 | {
|
9816 | "type": "text",
|
9817 | "value": ")"
|
9818 | }
|
9819 | ]
|
9820 | }
|
9821 | ]
|
9822 | },
|
9823 | "myst": "[not a `link](/foo`)\n",
|
9824 | "html": "<p>[not a <code>link](/foo</code>)</p>\n"
|
9825 | },
|
9826 | {
|
9827 | "title": "cmark_spec_0.30: Code spans - example 343",
|
9828 | "mdast": {
|
9829 | "type": "root",
|
9830 | "children": [
|
9831 | {
|
9832 | "type": "paragraph",
|
9833 | "children": [
|
9834 | {
|
9835 | "type": "inlineCode",
|
9836 | "value": "<a href=\""
|
9837 | },
|
9838 | {
|
9839 | "type": "text",
|
9840 | "value": "\">`"
|
9841 | }
|
9842 | ]
|
9843 | }
|
9844 | ]
|
9845 | },
|
9846 | "myst": "`<a href=\"`\">`\n",
|
9847 | "html": "<p><code><a href="</code>">`</p>\n"
|
9848 | },
|
9849 | {
|
9850 | "title": "cmark_spec_0.30: Code spans - example 344",
|
9851 | "mdast": {
|
9852 | "type": "root",
|
9853 | "children": [
|
9854 | {
|
9855 | "type": "paragraph",
|
9856 | "children": [
|
9857 | {
|
9858 | "type": "html",
|
9859 | "value": "<a href=\"`\">"
|
9860 | },
|
9861 | {
|
9862 | "type": "text",
|
9863 | "value": "`"
|
9864 | }
|
9865 | ]
|
9866 | }
|
9867 | ]
|
9868 | },
|
9869 | "myst": "<a href=\"`\">`\n",
|
9870 | "html": "<p><a href=\"`\">`</p>\n"
|
9871 | },
|
9872 | {
|
9873 | "title": "cmark_spec_0.30: Code spans - example 345",
|
9874 | "mdast": {
|
9875 | "type": "root",
|
9876 | "children": [
|
9877 | {
|
9878 | "type": "paragraph",
|
9879 | "children": [
|
9880 | {
|
9881 | "type": "inlineCode",
|
9882 | "value": "<http://foo.bar."
|
9883 | },
|
9884 | {
|
9885 | "type": "text",
|
9886 | "value": "baz>`"
|
9887 | }
|
9888 | ]
|
9889 | }
|
9890 | ]
|
9891 | },
|
9892 | "myst": "`<http://foo.bar.`baz>`\n",
|
9893 | "html": "<p><code><http://foo.bar.</code>baz>`</p>\n"
|
9894 | },
|
9895 | {
|
9896 | "title": "cmark_spec_0.30: Code spans - example 346",
|
9897 | "mdast": {
|
9898 | "type": "root",
|
9899 | "children": [
|
9900 | {
|
9901 | "type": "paragraph",
|
9902 | "children": [
|
9903 | {
|
9904 | "type": "link",
|
9905 | "url": "http://foo.bar.%60baz",
|
9906 | "children": [
|
9907 | {
|
9908 | "type": "text",
|
9909 | "value": "http://foo.bar.`baz"
|
9910 | }
|
9911 | ]
|
9912 | },
|
9913 | {
|
9914 | "type": "text",
|
9915 | "value": "`"
|
9916 | }
|
9917 | ]
|
9918 | }
|
9919 | ]
|
9920 | },
|
9921 | "myst": "<http://foo.bar.`baz>`\n",
|
9922 | "html": "<p><a href=\"http://foo.bar.%60baz\">http://foo.bar.`baz</a>`</p>\n"
|
9923 | },
|
9924 | {
|
9925 | "title": "cmark_spec_0.30: Code spans - example 347",
|
9926 | "mdast": {
|
9927 | "type": "root",
|
9928 | "children": [
|
9929 | {
|
9930 | "type": "paragraph",
|
9931 | "children": [
|
9932 | {
|
9933 | "type": "text",
|
9934 | "value": "```foo``"
|
9935 | }
|
9936 | ]
|
9937 | }
|
9938 | ]
|
9939 | },
|
9940 | "myst": "```foo``\n",
|
9941 | "html": "<p>```foo``</p>\n"
|
9942 | },
|
9943 | {
|
9944 | "title": "cmark_spec_0.30: Code spans - example 348",
|
9945 | "mdast": {
|
9946 | "type": "root",
|
9947 | "children": [
|
9948 | {
|
9949 | "type": "paragraph",
|
9950 | "children": [
|
9951 | {
|
9952 | "type": "text",
|
9953 | "value": "`foo"
|
9954 | }
|
9955 | ]
|
9956 | }
|
9957 | ]
|
9958 | },
|
9959 | "myst": "`foo\n",
|
9960 | "html": "<p>`foo</p>\n"
|
9961 | },
|
9962 | {
|
9963 | "title": "cmark_spec_0.30: Code spans - example 349",
|
9964 | "mdast": {
|
9965 | "type": "root",
|
9966 | "children": [
|
9967 | {
|
9968 | "type": "paragraph",
|
9969 | "children": [
|
9970 | {
|
9971 | "type": "text",
|
9972 | "value": "`foo"
|
9973 | },
|
9974 | {
|
9975 | "type": "inlineCode",
|
9976 | "value": "bar"
|
9977 | }
|
9978 | ]
|
9979 | }
|
9980 | ]
|
9981 | },
|
9982 | "myst": "`foo``bar``\n",
|
9983 | "html": "<p>`foo<code>bar</code></p>\n"
|
9984 | },
|
9985 | {
|
9986 | "title": "cmark_spec_0.30: Emphasis and strong emphasis - example 350",
|
9987 | "mdast": {
|
9988 | "type": "root",
|
9989 | "children": [
|
9990 | {
|
9991 | "type": "paragraph",
|
9992 | "children": [
|
9993 | {
|
9994 | "type": "emphasis",
|
9995 | "children": [
|
9996 | {
|
9997 | "type": "text",
|
9998 | "value": "foo bar"
|
9999 | }
|
10000 | ]
|
10001 | }
|
10002 | ]
|
10003 | }
|
10004 | ]
|
10005 | },
|
10006 | "myst": "*foo bar*\n",
|
10007 | "html": "<p><em>foo bar</em></p>\n"
|
10008 | },
|
10009 | {
|
10010 | "title": "cmark_spec_0.30: Emphasis and strong emphasis - example 351",
|
10011 | "mdast": {
|
10012 | "type": "root",
|
10013 | "children": [
|
10014 | {
|
10015 | "type": "paragraph",
|
10016 | "children": [
|
10017 | {
|
10018 | "type": "text",
|
10019 | "value": "a * foo bar*"
|
10020 | }
|
10021 | ]
|
10022 | }
|
10023 | ]
|
10024 | },
|
10025 | "myst": "a * foo bar*\n",
|
10026 | "html": "<p>a * foo bar*</p>\n"
|
10027 | },
|
10028 | {
|
10029 | "title": "cmark_spec_0.30: Emphasis and strong emphasis - example 352",
|
10030 | "mdast": {
|
10031 | "type": "root",
|
10032 | "children": [
|
10033 | {
|
10034 | "type": "paragraph",
|
10035 | "children": [
|
10036 | {
|
10037 | "type": "text",
|
10038 | "value": "a*\"foo\"*"
|
10039 | }
|
10040 | ]
|
10041 | }
|
10042 | ]
|
10043 | },
|
10044 | "myst": "a*\"foo\"*\n",
|
10045 | "html": "<p>a*"foo"*</p>\n"
|
10046 | },
|
10047 | {
|
10048 | "title": "cmark_spec_0.30: Emphasis and strong emphasis - example 353",
|
10049 | "mdast": {
|
10050 | "type": "root",
|
10051 | "children": [
|
10052 | {
|
10053 | "type": "paragraph",
|
10054 | "children": [
|
10055 | {
|
10056 | "type": "text",
|
10057 | "value": "* a *"
|
10058 | }
|
10059 | ]
|
10060 | }
|
10061 | ]
|
10062 | },
|
10063 | "myst": "* a *\n",
|
10064 | "html": "<p>* a *</p>\n"
|
10065 | },
|
10066 | {
|
10067 | "title": "cmark_spec_0.30: Emphasis and strong emphasis - example 354",
|
10068 | "mdast": {
|
10069 | "type": "root",
|
10070 | "children": [
|
10071 | {
|
10072 | "type": "paragraph",
|
10073 | "children": [
|
10074 | {
|
10075 | "type": "text",
|
10076 | "value": "foo"
|
10077 | },
|
10078 | {
|
10079 | "type": "emphasis",
|
10080 | "children": [
|
10081 | {
|
10082 | "type": "text",
|
10083 | "value": "bar"
|
10084 | }
|
10085 | ]
|
10086 | }
|
10087 | ]
|
10088 | }
|
10089 | ]
|
10090 | },
|
10091 | "myst": "foo*bar*\n",
|
10092 | "html": "<p>foo<em>bar</em></p>\n"
|
10093 | },
|
10094 | {
|
10095 | "title": "cmark_spec_0.30: Emphasis and strong emphasis - example 355",
|
10096 | "mdast": {
|
10097 | "type": "root",
|
10098 | "children": [
|
10099 | {
|
10100 | "type": "paragraph",
|
10101 | "children": [
|
10102 | {
|
10103 | "type": "text",
|
10104 | "value": "5"
|
10105 | },
|
10106 | {
|
10107 | "type": "emphasis",
|
10108 | "children": [
|
10109 | {
|
10110 | "type": "text",
|
10111 | "value": "6"
|
10112 | }
|
10113 | ]
|
10114 | },
|
10115 | {
|
10116 | "type": "text",
|
10117 | "value": "78"
|
10118 | }
|
10119 | ]
|
10120 | }
|
10121 | ]
|
10122 | },
|
10123 | "myst": "5*6*78\n",
|
10124 | "html": "<p>5<em>6</em>78</p>\n"
|
10125 | },
|
10126 | {
|
10127 | "title": "cmark_spec_0.30: Emphasis and strong emphasis - example 356",
|
10128 | "mdast": {
|
10129 | "type": "root",
|
10130 | "children": [
|
10131 | {
|
10132 | "type": "paragraph",
|
10133 | "children": [
|
10134 | {
|
10135 | "type": "emphasis",
|
10136 | "children": [
|
10137 | {
|
10138 | "type": "text",
|
10139 | "value": "foo bar"
|
10140 | }
|
10141 | ]
|
10142 | }
|
10143 | ]
|
10144 | }
|
10145 | ]
|
10146 | },
|
10147 | "myst": "_foo bar_\n",
|
10148 | "html": "<p><em>foo bar</em></p>\n"
|
10149 | },
|
10150 | {
|
10151 | "title": "cmark_spec_0.30: Emphasis and strong emphasis - example 357",
|
10152 | "mdast": {
|
10153 | "type": "root",
|
10154 | "children": [
|
10155 | {
|
10156 | "type": "paragraph",
|
10157 | "children": [
|
10158 | {
|
10159 | "type": "text",
|
10160 | "value": "_ foo bar_"
|
10161 | }
|
10162 | ]
|
10163 | }
|
10164 | ]
|
10165 | },
|
10166 | "myst": "_ foo bar_\n",
|
10167 | "html": "<p>_ foo bar_</p>\n"
|
10168 | },
|
10169 | {
|
10170 | "title": "cmark_spec_0.30: Emphasis and strong emphasis - example 358",
|
10171 | "mdast": {
|
10172 | "type": "root",
|
10173 | "children": [
|
10174 | {
|
10175 | "type": "paragraph",
|
10176 | "children": [
|
10177 | {
|
10178 | "type": "text",
|
10179 | "value": "a_\"foo\"_"
|
10180 | }
|
10181 | ]
|
10182 | }
|
10183 | ]
|
10184 | },
|
10185 | "myst": "a_\"foo\"_\n",
|
10186 | "html": "<p>a_"foo"_</p>\n"
|
10187 | },
|
10188 | {
|
10189 | "title": "cmark_spec_0.30: Emphasis and strong emphasis - example 359",
|
10190 | "mdast": {
|
10191 | "type": "root",
|
10192 | "children": [
|
10193 | {
|
10194 | "type": "paragraph",
|
10195 | "children": [
|
10196 | {
|
10197 | "type": "text",
|
10198 | "value": "foo_bar_"
|
10199 | }
|
10200 | ]
|
10201 | }
|
10202 | ]
|
10203 | },
|
10204 | "myst": "foo_bar_\n",
|
10205 | "html": "<p>foo_bar_</p>\n"
|
10206 | },
|
10207 | {
|
10208 | "title": "cmark_spec_0.30: Emphasis and strong emphasis - example 360",
|
10209 | "mdast": {
|
10210 | "type": "root",
|
10211 | "children": [
|
10212 | {
|
10213 | "type": "paragraph",
|
10214 | "children": [
|
10215 | {
|
10216 | "type": "text",
|
10217 | "value": "5_6_78"
|
10218 | }
|
10219 | ]
|
10220 | }
|
10221 | ]
|
10222 | },
|
10223 | "myst": "5_6_78\n",
|
10224 | "html": "<p>5_6_78</p>\n"
|
10225 | },
|
10226 | {
|
10227 | "title": "cmark_spec_0.30: Emphasis and strong emphasis - example 361",
|
10228 | "mdast": {
|
10229 | "type": "root",
|
10230 | "children": [
|
10231 | {
|
10232 | "type": "paragraph",
|
10233 | "children": [
|
10234 | {
|
10235 | "type": "text",
|
10236 | "value": "пристаням_стремятся_"
|
10237 | }
|
10238 | ]
|
10239 | }
|
10240 | ]
|
10241 | },
|
10242 | "myst": "пристаням_стремятся_\n",
|
10243 | "html": "<p>пристаням_стремятся_</p>\n"
|
10244 | },
|
10245 | {
|
10246 | "title": "cmark_spec_0.30: Emphasis and strong emphasis - example 362",
|
10247 | "mdast": {
|
10248 | "type": "root",
|
10249 | "children": [
|
10250 | {
|
10251 | "type": "paragraph",
|
10252 | "children": [
|
10253 | {
|
10254 | "type": "text",
|
10255 | "value": "aa_\"bb\"_cc"
|
10256 | }
|
10257 | ]
|
10258 | }
|
10259 | ]
|
10260 | },
|
10261 | "myst": "aa_\"bb\"_cc\n",
|
10262 | "html": "<p>aa_"bb"_cc</p>\n"
|
10263 | },
|
10264 | {
|
10265 | "title": "cmark_spec_0.30: Emphasis and strong emphasis - example 363",
|
10266 | "mdast": {
|
10267 | "type": "root",
|
10268 | "children": [
|
10269 | {
|
10270 | "type": "paragraph",
|
10271 | "children": [
|
10272 | {
|
10273 | "type": "text",
|
10274 | "value": "foo-"
|
10275 | },
|
10276 | {
|
10277 | "type": "emphasis",
|
10278 | "children": [
|
10279 | {
|
10280 | "type": "text",
|
10281 | "value": "(bar)"
|
10282 | }
|
10283 | ]
|
10284 | }
|
10285 | ]
|
10286 | }
|
10287 | ]
|
10288 | },
|
10289 | "myst": "foo-_(bar)_\n",
|
10290 | "html": "<p>foo-<em>(bar)</em></p>\n"
|
10291 | },
|
10292 | {
|
10293 | "title": "cmark_spec_0.30: Emphasis and strong emphasis - example 364",
|
10294 | "mdast": {
|
10295 | "type": "root",
|
10296 | "children": [
|
10297 | {
|
10298 | "type": "paragraph",
|
10299 | "children": [
|
10300 | {
|
10301 | "type": "text",
|
10302 | "value": "_foo*"
|
10303 | }
|
10304 | ]
|
10305 | }
|
10306 | ]
|
10307 | },
|
10308 | "myst": "_foo*\n",
|
10309 | "html": "<p>_foo*</p>\n"
|
10310 | },
|
10311 | {
|
10312 | "title": "cmark_spec_0.30: Emphasis and strong emphasis - example 365",
|
10313 | "mdast": {
|
10314 | "type": "root",
|
10315 | "children": [
|
10316 | {
|
10317 | "type": "paragraph",
|
10318 | "children": [
|
10319 | {
|
10320 | "type": "text",
|
10321 | "value": "*foo bar *"
|
10322 | }
|
10323 | ]
|
10324 | }
|
10325 | ]
|
10326 | },
|
10327 | "myst": "*foo bar *\n",
|
10328 | "html": "<p>*foo bar *</p>\n"
|
10329 | },
|
10330 | {
|
10331 | "title": "cmark_spec_0.30: Emphasis and strong emphasis - example 366",
|
10332 | "mdast": {
|
10333 | "type": "root",
|
10334 | "children": [
|
10335 | {
|
10336 | "type": "paragraph",
|
10337 | "children": [
|
10338 | {
|
10339 | "type": "text",
|
10340 | "value": "*foo bar\n*"
|
10341 | }
|
10342 | ]
|
10343 | }
|
10344 | ]
|
10345 | },
|
10346 | "myst": "*foo bar\n*\n",
|
10347 | "html": "<p>*foo bar\n*</p>\n"
|
10348 | },
|
10349 | {
|
10350 | "title": "cmark_spec_0.30: Emphasis and strong emphasis - example 367",
|
10351 | "mdast": {
|
10352 | "type": "root",
|
10353 | "children": [
|
10354 | {
|
10355 | "type": "paragraph",
|
10356 | "children": [
|
10357 | {
|
10358 | "type": "text",
|
10359 | "value": "*(*foo)"
|
10360 | }
|
10361 | ]
|
10362 | }
|
10363 | ]
|
10364 | },
|
10365 | "myst": "*(*foo)\n",
|
10366 | "html": "<p>*(*foo)</p>\n"
|
10367 | },
|
10368 | {
|
10369 | "title": "cmark_spec_0.30: Emphasis and strong emphasis - example 368",
|
10370 | "mdast": {
|
10371 | "type": "root",
|
10372 | "children": [
|
10373 | {
|
10374 | "type": "paragraph",
|
10375 | "children": [
|
10376 | {
|
10377 | "type": "emphasis",
|
10378 | "children": [
|
10379 | {
|
10380 | "type": "text",
|
10381 | "value": "("
|
10382 | },
|
10383 | {
|
10384 | "type": "emphasis",
|
10385 | "children": [
|
10386 | {
|
10387 | "type": "text",
|
10388 | "value": "foo"
|
10389 | }
|
10390 | ]
|
10391 | },
|
10392 | {
|
10393 | "type": "text",
|
10394 | "value": ")"
|
10395 | }
|
10396 | ]
|
10397 | }
|
10398 | ]
|
10399 | }
|
10400 | ]
|
10401 | },
|
10402 | "myst": "*(*foo*)*\n",
|
10403 | "html": "<p><em>(<em>foo</em>)</em></p>\n"
|
10404 | },
|
10405 | {
|
10406 | "title": "cmark_spec_0.30: Emphasis and strong emphasis - example 369",
|
10407 | "mdast": {
|
10408 | "type": "root",
|
10409 | "children": [
|
10410 | {
|
10411 | "type": "paragraph",
|
10412 | "children": [
|
10413 | {
|
10414 | "type": "emphasis",
|
10415 | "children": [
|
10416 | {
|
10417 | "type": "text",
|
10418 | "value": "foo"
|
10419 | }
|
10420 | ]
|
10421 | },
|
10422 | {
|
10423 | "type": "text",
|
10424 | "value": "bar"
|
10425 | }
|
10426 | ]
|
10427 | }
|
10428 | ]
|
10429 | },
|
10430 | "myst": "*foo*bar\n",
|
10431 | "html": "<p><em>foo</em>bar</p>\n"
|
10432 | },
|
10433 | {
|
10434 | "title": "cmark_spec_0.30: Emphasis and strong emphasis - example 370",
|
10435 | "mdast": {
|
10436 | "type": "root",
|
10437 | "children": [
|
10438 | {
|
10439 | "type": "paragraph",
|
10440 | "children": [
|
10441 | {
|
10442 | "type": "text",
|
10443 | "value": "_foo bar _"
|
10444 | }
|
10445 | ]
|
10446 | }
|
10447 | ]
|
10448 | },
|
10449 | "myst": "_foo bar _\n",
|
10450 | "html": "<p>_foo bar _</p>\n"
|
10451 | },
|
10452 | {
|
10453 | "title": "cmark_spec_0.30: Emphasis and strong emphasis - example 371",
|
10454 | "mdast": {
|
10455 | "type": "root",
|
10456 | "children": [
|
10457 | {
|
10458 | "type": "paragraph",
|
10459 | "children": [
|
10460 | {
|
10461 | "type": "text",
|
10462 | "value": "_(_foo)"
|
10463 | }
|
10464 | ]
|
10465 | }
|
10466 | ]
|
10467 | },
|
10468 | "myst": "_(_foo)\n",
|
10469 | "html": "<p>_(_foo)</p>\n"
|
10470 | },
|
10471 | {
|
10472 | "title": "cmark_spec_0.30: Emphasis and strong emphasis - example 372",
|
10473 | "mdast": {
|
10474 | "type": "root",
|
10475 | "children": [
|
10476 | {
|
10477 | "type": "paragraph",
|
10478 | "children": [
|
10479 | {
|
10480 | "type": "emphasis",
|
10481 | "children": [
|
10482 | {
|
10483 | "type": "text",
|
10484 | "value": "("
|
10485 | },
|
10486 | {
|
10487 | "type": "emphasis",
|
10488 | "children": [
|
10489 | {
|
10490 | "type": "text",
|
10491 | "value": "foo"
|
10492 | }
|
10493 | ]
|
10494 | },
|
10495 | {
|
10496 | "type": "text",
|
10497 | "value": ")"
|
10498 | }
|
10499 | ]
|
10500 | }
|
10501 | ]
|
10502 | }
|
10503 | ]
|
10504 | },
|
10505 | "myst": "_(_foo_)_\n",
|
10506 | "html": "<p><em>(<em>foo</em>)</em></p>\n"
|
10507 | },
|
10508 | {
|
10509 | "title": "cmark_spec_0.30: Emphasis and strong emphasis - example 373",
|
10510 | "mdast": {
|
10511 | "type": "root",
|
10512 | "children": [
|
10513 | {
|
10514 | "type": "paragraph",
|
10515 | "children": [
|
10516 | {
|
10517 | "type": "text",
|
10518 | "value": "_foo_bar"
|
10519 | }
|
10520 | ]
|
10521 | }
|
10522 | ]
|
10523 | },
|
10524 | "myst": "_foo_bar\n",
|
10525 | "html": "<p>_foo_bar</p>\n"
|
10526 | },
|
10527 | {
|
10528 | "title": "cmark_spec_0.30: Emphasis and strong emphasis - example 374",
|
10529 | "mdast": {
|
10530 | "type": "root",
|
10531 | "children": [
|
10532 | {
|
10533 | "type": "paragraph",
|
10534 | "children": [
|
10535 | {
|
10536 | "type": "text",
|
10537 | "value": "_пристаням_стремятся"
|
10538 | }
|
10539 | ]
|
10540 | }
|
10541 | ]
|
10542 | },
|
10543 | "myst": "_пристаням_стремятся\n",
|
10544 | "html": "<p>_пристаням_стремятся</p>\n"
|
10545 | },
|
10546 | {
|
10547 | "title": "cmark_spec_0.30: Emphasis and strong emphasis - example 375",
|
10548 | "mdast": {
|
10549 | "type": "root",
|
10550 | "children": [
|
10551 | {
|
10552 | "type": "paragraph",
|
10553 | "children": [
|
10554 | {
|
10555 | "type": "emphasis",
|
10556 | "children": [
|
10557 | {
|
10558 | "type": "text",
|
10559 | "value": "foo_bar_baz"
|
10560 | }
|
10561 | ]
|
10562 | }
|
10563 | ]
|
10564 | }
|
10565 | ]
|
10566 | },
|
10567 | "myst": "_foo_bar_baz_\n",
|
10568 | "html": "<p><em>foo_bar_baz</em></p>\n"
|
10569 | },
|
10570 | {
|
10571 | "title": "cmark_spec_0.30: Emphasis and strong emphasis - example 376",
|
10572 | "mdast": {
|
10573 | "type": "root",
|
10574 | "children": [
|
10575 | {
|
10576 | "type": "paragraph",
|
10577 | "children": [
|
10578 | {
|
10579 | "type": "emphasis",
|
10580 | "children": [
|
10581 | {
|
10582 | "type": "text",
|
10583 | "value": "(bar)"
|
10584 | }
|
10585 | ]
|
10586 | },
|
10587 | {
|
10588 | "type": "text",
|
10589 | "value": "."
|
10590 | }
|
10591 | ]
|
10592 | }
|
10593 | ]
|
10594 | },
|
10595 | "myst": "_(bar)_.\n",
|
10596 | "html": "<p><em>(bar)</em>.</p>\n"
|
10597 | },
|
10598 | {
|
10599 | "title": "cmark_spec_0.30: Emphasis and strong emphasis - example 377",
|
10600 | "mdast": {
|
10601 | "type": "root",
|
10602 | "children": [
|
10603 | {
|
10604 | "type": "paragraph",
|
10605 | "children": [
|
10606 | {
|
10607 | "type": "strong",
|
10608 | "children": [
|
10609 | {
|
10610 | "type": "text",
|
10611 | "value": "foo bar"
|
10612 | }
|
10613 | ]
|
10614 | }
|
10615 | ]
|
10616 | }
|
10617 | ]
|
10618 | },
|
10619 | "myst": "**foo bar**\n",
|
10620 | "html": "<p><strong>foo bar</strong></p>\n"
|
10621 | },
|
10622 | {
|
10623 | "title": "cmark_spec_0.30: Emphasis and strong emphasis - example 378",
|
10624 | "mdast": {
|
10625 | "type": "root",
|
10626 | "children": [
|
10627 | {
|
10628 | "type": "paragraph",
|
10629 | "children": [
|
10630 | {
|
10631 | "type": "text",
|
10632 | "value": "** foo bar**"
|
10633 | }
|
10634 | ]
|
10635 | }
|
10636 | ]
|
10637 | },
|
10638 | "myst": "** foo bar**\n",
|
10639 | "html": "<p>** foo bar**</p>\n"
|
10640 | },
|
10641 | {
|
10642 | "title": "cmark_spec_0.30: Emphasis and strong emphasis - example 379",
|
10643 | "mdast": {
|
10644 | "type": "root",
|
10645 | "children": [
|
10646 | {
|
10647 | "type": "paragraph",
|
10648 | "children": [
|
10649 | {
|
10650 | "type": "text",
|
10651 | "value": "a**\"foo\"**"
|
10652 | }
|
10653 | ]
|
10654 | }
|
10655 | ]
|
10656 | },
|
10657 | "myst": "a**\"foo\"**\n",
|
10658 | "html": "<p>a**"foo"**</p>\n"
|
10659 | },
|
10660 | {
|
10661 | "title": "cmark_spec_0.30: Emphasis and strong emphasis - example 380",
|
10662 | "mdast": {
|
10663 | "type": "root",
|
10664 | "children": [
|
10665 | {
|
10666 | "type": "paragraph",
|
10667 | "children": [
|
10668 | {
|
10669 | "type": "text",
|
10670 | "value": "foo"
|
10671 | },
|
10672 | {
|
10673 | "type": "strong",
|
10674 | "children": [
|
10675 | {
|
10676 | "type": "text",
|
10677 | "value": "bar"
|
10678 | }
|
10679 | ]
|
10680 | }
|
10681 | ]
|
10682 | }
|
10683 | ]
|
10684 | },
|
10685 | "myst": "foo**bar**\n",
|
10686 | "html": "<p>foo<strong>bar</strong></p>\n"
|
10687 | },
|
10688 | {
|
10689 | "title": "cmark_spec_0.30: Emphasis and strong emphasis - example 381",
|
10690 | "mdast": {
|
10691 | "type": "root",
|
10692 | "children": [
|
10693 | {
|
10694 | "type": "paragraph",
|
10695 | "children": [
|
10696 | {
|
10697 | "type": "strong",
|
10698 | "children": [
|
10699 | {
|
10700 | "type": "text",
|
10701 | "value": "foo bar"
|
10702 | }
|
10703 | ]
|
10704 | }
|
10705 | ]
|
10706 | }
|
10707 | ]
|
10708 | },
|
10709 | "myst": "__foo bar__\n",
|
10710 | "html": "<p><strong>foo bar</strong></p>\n"
|
10711 | },
|
10712 | {
|
10713 | "title": "cmark_spec_0.30: Emphasis and strong emphasis - example 382",
|
10714 | "mdast": {
|
10715 | "type": "root",
|
10716 | "children": [
|
10717 | {
|
10718 | "type": "paragraph",
|
10719 | "children": [
|
10720 | {
|
10721 | "type": "text",
|
10722 | "value": "__ foo bar__"
|
10723 | }
|
10724 | ]
|
10725 | }
|
10726 | ]
|
10727 | },
|
10728 | "myst": "__ foo bar__\n",
|
10729 | "html": "<p>__ foo bar__</p>\n"
|
10730 | },
|
10731 | {
|
10732 | "title": "cmark_spec_0.30: Emphasis and strong emphasis - example 383",
|
10733 | "mdast": {
|
10734 | "type": "root",
|
10735 | "children": [
|
10736 | {
|
10737 | "type": "paragraph",
|
10738 | "children": [
|
10739 | {
|
10740 | "type": "text",
|
10741 | "value": "__\nfoo bar__"
|
10742 | }
|
10743 | ]
|
10744 | }
|
10745 | ]
|
10746 | },
|
10747 | "myst": "__\nfoo bar__\n",
|
10748 | "html": "<p>__\nfoo bar__</p>\n"
|
10749 | },
|
10750 | {
|
10751 | "title": "cmark_spec_0.30: Emphasis and strong emphasis - example 384",
|
10752 | "mdast": {
|
10753 | "type": "root",
|
10754 | "children": [
|
10755 | {
|
10756 | "type": "paragraph",
|
10757 | "children": [
|
10758 | {
|
10759 | "type": "text",
|
10760 | "value": "a__\"foo\"__"
|
10761 | }
|
10762 | ]
|
10763 | }
|
10764 | ]
|
10765 | },
|
10766 | "myst": "a__\"foo\"__\n",
|
10767 | "html": "<p>a__"foo"__</p>\n"
|
10768 | },
|
10769 | {
|
10770 | "title": "cmark_spec_0.30: Emphasis and strong emphasis - example 385",
|
10771 | "mdast": {
|
10772 | "type": "root",
|
10773 | "children": [
|
10774 | {
|
10775 | "type": "paragraph",
|
10776 | "children": [
|
10777 | {
|
10778 | "type": "text",
|
10779 | "value": "foo__bar__"
|
10780 | }
|
10781 | ]
|
10782 | }
|
10783 | ]
|
10784 | },
|
10785 | "myst": "foo__bar__\n",
|
10786 | "html": "<p>foo__bar__</p>\n"
|
10787 | },
|
10788 | {
|
10789 | "title": "cmark_spec_0.30: Emphasis and strong emphasis - example 386",
|
10790 | "mdast": {
|
10791 | "type": "root",
|
10792 | "children": [
|
10793 | {
|
10794 | "type": "paragraph",
|
10795 | "children": [
|
10796 | {
|
10797 | "type": "text",
|
10798 | "value": "5__6__78"
|
10799 | }
|
10800 | ]
|
10801 | }
|
10802 | ]
|
10803 | },
|
10804 | "myst": "5__6__78\n",
|
10805 | "html": "<p>5__6__78</p>\n"
|
10806 | },
|
10807 | {
|
10808 | "title": "cmark_spec_0.30: Emphasis and strong emphasis - example 387",
|
10809 | "mdast": {
|
10810 | "type": "root",
|
10811 | "children": [
|
10812 | {
|
10813 | "type": "paragraph",
|
10814 | "children": [
|
10815 | {
|
10816 | "type": "text",
|
10817 | "value": "пристаням__стремятся__"
|
10818 | }
|
10819 | ]
|
10820 | }
|
10821 | ]
|
10822 | },
|
10823 | "myst": "пристаням__стремятся__\n",
|
10824 | "html": "<p>пристаням__стремятся__</p>\n"
|
10825 | },
|
10826 | {
|
10827 | "title": "cmark_spec_0.30: Emphasis and strong emphasis - example 388",
|
10828 | "mdast": {
|
10829 | "type": "root",
|
10830 | "children": [
|
10831 | {
|
10832 | "type": "paragraph",
|
10833 | "children": [
|
10834 | {
|
10835 | "type": "strong",
|
10836 | "children": [
|
10837 | {
|
10838 | "type": "text",
|
10839 | "value": "foo, "
|
10840 | },
|
10841 | {
|
10842 | "type": "strong",
|
10843 | "children": [
|
10844 | {
|
10845 | "type": "text",
|
10846 | "value": "bar"
|
10847 | }
|
10848 | ]
|
10849 | },
|
10850 | {
|
10851 | "type": "text",
|
10852 | "value": ", baz"
|
10853 | }
|
10854 | ]
|
10855 | }
|
10856 | ]
|
10857 | }
|
10858 | ]
|
10859 | },
|
10860 | "myst": "__foo, __bar__, baz__\n",
|
10861 | "html": "<p><strong>foo, <strong>bar</strong>, baz</strong></p>\n"
|
10862 | },
|
10863 | {
|
10864 | "title": "cmark_spec_0.30: Emphasis and strong emphasis - example 389",
|
10865 | "mdast": {
|
10866 | "type": "root",
|
10867 | "children": [
|
10868 | {
|
10869 | "type": "paragraph",
|
10870 | "children": [
|
10871 | {
|
10872 | "type": "text",
|
10873 | "value": "foo-"
|
10874 | },
|
10875 | {
|
10876 | "type": "strong",
|
10877 | "children": [
|
10878 | {
|
10879 | "type": "text",
|
10880 | "value": "(bar)"
|
10881 | }
|
10882 | ]
|
10883 | }
|
10884 | ]
|
10885 | }
|
10886 | ]
|
10887 | },
|
10888 | "myst": "foo-__(bar)__\n",
|
10889 | "html": "<p>foo-<strong>(bar)</strong></p>\n"
|
10890 | },
|
10891 | {
|
10892 | "title": "cmark_spec_0.30: Emphasis and strong emphasis - example 390",
|
10893 | "mdast": {
|
10894 | "type": "root",
|
10895 | "children": [
|
10896 | {
|
10897 | "type": "paragraph",
|
10898 | "children": [
|
10899 | {
|
10900 | "type": "text",
|
10901 | "value": "**foo bar **"
|
10902 | }
|
10903 | ]
|
10904 | }
|
10905 | ]
|
10906 | },
|
10907 | "myst": "**foo bar **\n",
|
10908 | "html": "<p>**foo bar **</p>\n"
|
10909 | },
|
10910 | {
|
10911 | "title": "cmark_spec_0.30: Emphasis and strong emphasis - example 391",
|
10912 | "mdast": {
|
10913 | "type": "root",
|
10914 | "children": [
|
10915 | {
|
10916 | "type": "paragraph",
|
10917 | "children": [
|
10918 | {
|
10919 | "type": "text",
|
10920 | "value": "**(**foo)"
|
10921 | }
|
10922 | ]
|
10923 | }
|
10924 | ]
|
10925 | },
|
10926 | "myst": "**(**foo)\n",
|
10927 | "html": "<p>**(**foo)</p>\n"
|
10928 | },
|
10929 | {
|
10930 | "title": "cmark_spec_0.30: Emphasis and strong emphasis - example 392",
|
10931 | "mdast": {
|
10932 | "type": "root",
|
10933 | "children": [
|
10934 | {
|
10935 | "type": "paragraph",
|
10936 | "children": [
|
10937 | {
|
10938 | "type": "emphasis",
|
10939 | "children": [
|
10940 | {
|
10941 | "type": "text",
|
10942 | "value": "("
|
10943 | },
|
10944 | {
|
10945 | "type": "strong",
|
10946 | "children": [
|
10947 | {
|
10948 | "type": "text",
|
10949 | "value": "foo"
|
10950 | }
|
10951 | ]
|
10952 | },
|
10953 | {
|
10954 | "type": "text",
|
10955 | "value": ")"
|
10956 | }
|
10957 | ]
|
10958 | }
|
10959 | ]
|
10960 | }
|
10961 | ]
|
10962 | },
|
10963 | "myst": "*(**foo**)*\n",
|
10964 | "html": "<p><em>(<strong>foo</strong>)</em></p>\n"
|
10965 | },
|
10966 | {
|
10967 | "title": "cmark_spec_0.30: Emphasis and strong emphasis - example 393",
|
10968 | "mdast": {
|
10969 | "type": "root",
|
10970 | "children": [
|
10971 | {
|
10972 | "type": "paragraph",
|
10973 | "children": [
|
10974 | {
|
10975 | "type": "strong",
|
10976 | "children": [
|
10977 | {
|
10978 | "type": "text",
|
10979 | "value": "Gomphocarpus ("
|
10980 | },
|
10981 | {
|
10982 | "type": "emphasis",
|
10983 | "children": [
|
10984 | {
|
10985 | "type": "text",
|
10986 | "value": "Gomphocarpus physocarpus"
|
10987 | }
|
10988 | ]
|
10989 | },
|
10990 | {
|
10991 | "type": "text",
|
10992 | "value": ", syn.\n"
|
10993 | },
|
10994 | {
|
10995 | "type": "emphasis",
|
10996 | "children": [
|
10997 | {
|
10998 | "type": "text",
|
10999 | "value": "Asclepias physocarpa"
|
11000 | }
|
11001 | ]
|
11002 | },
|
11003 | {
|
11004 | "type": "text",
|
11005 | "value": ")"
|
11006 | }
|
11007 | ]
|
11008 | }
|
11009 | ]
|
11010 | }
|
11011 | ]
|
11012 | },
|
11013 | "myst": "**Gomphocarpus (*Gomphocarpus physocarpus*, syn.\n*Asclepias physocarpa*)**\n",
|
11014 | "html": "<p><strong>Gomphocarpus (<em>Gomphocarpus physocarpus</em>, syn.\n<em>Asclepias physocarpa</em>)</strong></p>\n"
|
11015 | },
|
11016 | {
|
11017 | "title": "cmark_spec_0.30: Emphasis and strong emphasis - example 394",
|
11018 | "mdast": {
|
11019 | "type": "root",
|
11020 | "children": [
|
11021 | {
|
11022 | "type": "paragraph",
|
11023 | "children": [
|
11024 | {
|
11025 | "type": "strong",
|
11026 | "children": [
|
11027 | {
|
11028 | "type": "text",
|
11029 | "value": "foo \""
|
11030 | },
|
11031 | {
|
11032 | "type": "emphasis",
|
11033 | "children": [
|
11034 | {
|
11035 | "type": "text",
|
11036 | "value": "bar"
|
11037 | }
|
11038 | ]
|
11039 | },
|
11040 | {
|
11041 | "type": "text",
|
11042 | "value": "\" foo"
|
11043 | }
|
11044 | ]
|
11045 | }
|
11046 | ]
|
11047 | }
|
11048 | ]
|
11049 | },
|
11050 | "myst": "**foo \"*bar*\" foo**\n",
|
11051 | "html": "<p><strong>foo "<em>bar</em>" foo</strong></p>\n"
|
11052 | },
|
11053 | {
|
11054 | "title": "cmark_spec_0.30: Emphasis and strong emphasis - example 395",
|
11055 | "mdast": {
|
11056 | "type": "root",
|
11057 | "children": [
|
11058 | {
|
11059 | "type": "paragraph",
|
11060 | "children": [
|
11061 | {
|
11062 | "type": "strong",
|
11063 | "children": [
|
11064 | {
|
11065 | "type": "text",
|
11066 | "value": "foo"
|
11067 | }
|
11068 | ]
|
11069 | },
|
11070 | {
|
11071 | "type": "text",
|
11072 | "value": "bar"
|
11073 | }
|
11074 | ]
|
11075 | }
|
11076 | ]
|
11077 | },
|
11078 | "myst": "**foo**bar\n",
|
11079 | "html": "<p><strong>foo</strong>bar</p>\n"
|
11080 | },
|
11081 | {
|
11082 | "title": "cmark_spec_0.30: Emphasis and strong emphasis - example 396",
|
11083 | "mdast": {
|
11084 | "type": "root",
|
11085 | "children": [
|
11086 | {
|
11087 | "type": "paragraph",
|
11088 | "children": [
|
11089 | {
|
11090 | "type": "text",
|
11091 | "value": "__foo bar __"
|
11092 | }
|
11093 | ]
|
11094 | }
|
11095 | ]
|
11096 | },
|
11097 | "myst": "__foo bar __\n",
|
11098 | "html": "<p>__foo bar __</p>\n"
|
11099 | },
|
11100 | {
|
11101 | "title": "cmark_spec_0.30: Emphasis and strong emphasis - example 397",
|
11102 | "mdast": {
|
11103 | "type": "root",
|
11104 | "children": [
|
11105 | {
|
11106 | "type": "paragraph",
|
11107 | "children": [
|
11108 | {
|
11109 | "type": "text",
|
11110 | "value": "__(__foo)"
|
11111 | }
|
11112 | ]
|
11113 | }
|
11114 | ]
|
11115 | },
|
11116 | "myst": "__(__foo)\n",
|
11117 | "html": "<p>__(__foo)</p>\n"
|
11118 | },
|
11119 | {
|
11120 | "title": "cmark_spec_0.30: Emphasis and strong emphasis - example 398",
|
11121 | "mdast": {
|
11122 | "type": "root",
|
11123 | "children": [
|
11124 | {
|
11125 | "type": "paragraph",
|
11126 | "children": [
|
11127 | {
|
11128 | "type": "emphasis",
|
11129 | "children": [
|
11130 | {
|
11131 | "type": "text",
|
11132 | "value": "("
|
11133 | },
|
11134 | {
|
11135 | "type": "strong",
|
11136 | "children": [
|
11137 | {
|
11138 | "type": "text",
|
11139 | "value": "foo"
|
11140 | }
|
11141 | ]
|
11142 | },
|
11143 | {
|
11144 | "type": "text",
|
11145 | "value": ")"
|
11146 | }
|
11147 | ]
|
11148 | }
|
11149 | ]
|
11150 | }
|
11151 | ]
|
11152 | },
|
11153 | "myst": "_(__foo__)_\n",
|
11154 | "html": "<p><em>(<strong>foo</strong>)</em></p>\n"
|
11155 | },
|
11156 | {
|
11157 | "title": "cmark_spec_0.30: Emphasis and strong emphasis - example 399",
|
11158 | "mdast": {
|
11159 | "type": "root",
|
11160 | "children": [
|
11161 | {
|
11162 | "type": "paragraph",
|
11163 | "children": [
|
11164 | {
|
11165 | "type": "text",
|
11166 | "value": "__foo__bar"
|
11167 | }
|
11168 | ]
|
11169 | }
|
11170 | ]
|
11171 | },
|
11172 | "myst": "__foo__bar\n",
|
11173 | "html": "<p>__foo__bar</p>\n"
|
11174 | },
|
11175 | {
|
11176 | "title": "cmark_spec_0.30: Emphasis and strong emphasis - example 400",
|
11177 | "mdast": {
|
11178 | "type": "root",
|
11179 | "children": [
|
11180 | {
|
11181 | "type": "paragraph",
|
11182 | "children": [
|
11183 | {
|
11184 | "type": "text",
|
11185 | "value": "__пристаням__стремятся"
|
11186 | }
|
11187 | ]
|
11188 | }
|
11189 | ]
|
11190 | },
|
11191 | "myst": "__пристаням__стремятся\n",
|
11192 | "html": "<p>__пристаням__стремятся</p>\n"
|
11193 | },
|
11194 | {
|
11195 | "title": "cmark_spec_0.30: Emphasis and strong emphasis - example 401",
|
11196 | "mdast": {
|
11197 | "type": "root",
|
11198 | "children": [
|
11199 | {
|
11200 | "type": "paragraph",
|
11201 | "children": [
|
11202 | {
|
11203 | "type": "strong",
|
11204 | "children": [
|
11205 | {
|
11206 | "type": "text",
|
11207 | "value": "foo__bar__baz"
|
11208 | }
|
11209 | ]
|
11210 | }
|
11211 | ]
|
11212 | }
|
11213 | ]
|
11214 | },
|
11215 | "myst": "__foo__bar__baz__\n",
|
11216 | "html": "<p><strong>foo__bar__baz</strong></p>\n"
|
11217 | },
|
11218 | {
|
11219 | "title": "cmark_spec_0.30: Emphasis and strong emphasis - example 402",
|
11220 | "mdast": {
|
11221 | "type": "root",
|
11222 | "children": [
|
11223 | {
|
11224 | "type": "paragraph",
|
11225 | "children": [
|
11226 | {
|
11227 | "type": "strong",
|
11228 | "children": [
|
11229 | {
|
11230 | "type": "text",
|
11231 | "value": "(bar)"
|
11232 | }
|
11233 | ]
|
11234 | },
|
11235 | {
|
11236 | "type": "text",
|
11237 | "value": "."
|
11238 | }
|
11239 | ]
|
11240 | }
|
11241 | ]
|
11242 | },
|
11243 | "myst": "__(bar)__.\n",
|
11244 | "html": "<p><strong>(bar)</strong>.</p>\n"
|
11245 | },
|
11246 | {
|
11247 | "title": "cmark_spec_0.30: Emphasis and strong emphasis - example 403",
|
11248 | "mdast": {
|
11249 | "type": "root",
|
11250 | "children": [
|
11251 | {
|
11252 | "type": "paragraph",
|
11253 | "children": [
|
11254 | {
|
11255 | "type": "emphasis",
|
11256 | "children": [
|
11257 | {
|
11258 | "type": "text",
|
11259 | "value": "foo "
|
11260 | },
|
11261 | {
|
11262 | "type": "link",
|
11263 | "url": "/url",
|
11264 | "children": [
|
11265 | {
|
11266 | "type": "text",
|
11267 | "value": "bar"
|
11268 | }
|
11269 | ]
|
11270 | }
|
11271 | ]
|
11272 | }
|
11273 | ]
|
11274 | }
|
11275 | ]
|
11276 | },
|
11277 | "myst": "*foo [bar](/url)*\n",
|
11278 | "html": "<p><em>foo <a href=\"/url\">bar</a></em></p>\n"
|
11279 | },
|
11280 | {
|
11281 | "title": "cmark_spec_0.30: Emphasis and strong emphasis - example 404",
|
11282 | "mdast": {
|
11283 | "type": "root",
|
11284 | "children": [
|
11285 | {
|
11286 | "type": "paragraph",
|
11287 | "children": [
|
11288 | {
|
11289 | "type": "emphasis",
|
11290 | "children": [
|
11291 | {
|
11292 | "type": "text",
|
11293 | "value": "foo\nbar"
|
11294 | }
|
11295 | ]
|
11296 | }
|
11297 | ]
|
11298 | }
|
11299 | ]
|
11300 | },
|
11301 | "myst": "*foo\nbar*\n",
|
11302 | "html": "<p><em>foo\nbar</em></p>\n"
|
11303 | },
|
11304 | {
|
11305 | "title": "cmark_spec_0.30: Emphasis and strong emphasis - example 405",
|
11306 | "mdast": {
|
11307 | "type": "root",
|
11308 | "children": [
|
11309 | {
|
11310 | "type": "paragraph",
|
11311 | "children": [
|
11312 | {
|
11313 | "type": "emphasis",
|
11314 | "children": [
|
11315 | {
|
11316 | "type": "text",
|
11317 | "value": "foo "
|
11318 | },
|
11319 | {
|
11320 | "type": "strong",
|
11321 | "children": [
|
11322 | {
|
11323 | "type": "text",
|
11324 | "value": "bar"
|
11325 | }
|
11326 | ]
|
11327 | },
|
11328 | {
|
11329 | "type": "text",
|
11330 | "value": " baz"
|
11331 | }
|
11332 | ]
|
11333 | }
|
11334 | ]
|
11335 | }
|
11336 | ]
|
11337 | },
|
11338 | "myst": "_foo __bar__ baz_\n",
|
11339 | "html": "<p><em>foo <strong>bar</strong> baz</em></p>\n"
|
11340 | },
|
11341 | {
|
11342 | "title": "cmark_spec_0.30: Emphasis and strong emphasis - example 406",
|
11343 | "mdast": {
|
11344 | "type": "root",
|
11345 | "children": [
|
11346 | {
|
11347 | "type": "paragraph",
|
11348 | "children": [
|
11349 | {
|
11350 | "type": "emphasis",
|
11351 | "children": [
|
11352 | {
|
11353 | "type": "text",
|
11354 | "value": "foo "
|
11355 | },
|
11356 | {
|
11357 | "type": "emphasis",
|
11358 | "children": [
|
11359 | {
|
11360 | "type": "text",
|
11361 | "value": "bar"
|
11362 | }
|
11363 | ]
|
11364 | },
|
11365 | {
|
11366 | "type": "text",
|
11367 | "value": " baz"
|
11368 | }
|
11369 | ]
|
11370 | }
|
11371 | ]
|
11372 | }
|
11373 | ]
|
11374 | },
|
11375 | "myst": "_foo _bar_ baz_\n",
|
11376 | "html": "<p><em>foo <em>bar</em> baz</em></p>\n"
|
11377 | },
|
11378 | {
|
11379 | "title": "cmark_spec_0.30: Emphasis and strong emphasis - example 407",
|
11380 | "mdast": {
|
11381 | "type": "root",
|
11382 | "children": [
|
11383 | {
|
11384 | "type": "paragraph",
|
11385 | "children": [
|
11386 | {
|
11387 | "type": "emphasis",
|
11388 | "children": [
|
11389 | {
|
11390 | "type": "emphasis",
|
11391 | "children": [
|
11392 | {
|
11393 | "type": "text",
|
11394 | "value": "foo"
|
11395 | }
|
11396 | ]
|
11397 | },
|
11398 | {
|
11399 | "type": "text",
|
11400 | "value": " bar"
|
11401 | }
|
11402 | ]
|
11403 | }
|
11404 | ]
|
11405 | }
|
11406 | ]
|
11407 | },
|
11408 | "myst": "__foo_ bar_\n",
|
11409 | "html": "<p><em><em>foo</em> bar</em></p>\n"
|
11410 | },
|
11411 | {
|
11412 | "title": "cmark_spec_0.30: Emphasis and strong emphasis - example 408",
|
11413 | "mdast": {
|
11414 | "type": "root",
|
11415 | "children": [
|
11416 | {
|
11417 | "type": "paragraph",
|
11418 | "children": [
|
11419 | {
|
11420 | "type": "emphasis",
|
11421 | "children": [
|
11422 | {
|
11423 | "type": "text",
|
11424 | "value": "foo "
|
11425 | },
|
11426 | {
|
11427 | "type": "emphasis",
|
11428 | "children": [
|
11429 | {
|
11430 | "type": "text",
|
11431 | "value": "bar"
|
11432 | }
|
11433 | ]
|
11434 | }
|
11435 | ]
|
11436 | }
|
11437 | ]
|
11438 | }
|
11439 | ]
|
11440 | },
|
11441 | "myst": "*foo *bar**\n",
|
11442 | "html": "<p><em>foo <em>bar</em></em></p>\n"
|
11443 | },
|
11444 | {
|
11445 | "title": "cmark_spec_0.30: Emphasis and strong emphasis - example 409",
|
11446 | "mdast": {
|
11447 | "type": "root",
|
11448 | "children": [
|
11449 | {
|
11450 | "type": "paragraph",
|
11451 | "children": [
|
11452 | {
|
11453 | "type": "emphasis",
|
11454 | "children": [
|
11455 | {
|
11456 | "type": "text",
|
11457 | "value": "foo "
|
11458 | },
|
11459 | {
|
11460 | "type": "strong",
|
11461 | "children": [
|
11462 | {
|
11463 | "type": "text",
|
11464 | "value": "bar"
|
11465 | }
|
11466 | ]
|
11467 | },
|
11468 | {
|
11469 | "type": "text",
|
11470 | "value": " baz"
|
11471 | }
|
11472 | ]
|
11473 | }
|
11474 | ]
|
11475 | }
|
11476 | ]
|
11477 | },
|
11478 | "myst": "*foo **bar** baz*\n",
|
11479 | "html": "<p><em>foo <strong>bar</strong> baz</em></p>\n"
|
11480 | },
|
11481 | {
|
11482 | "title": "cmark_spec_0.30: Emphasis and strong emphasis - example 410",
|
11483 | "mdast": {
|
11484 | "type": "root",
|
11485 | "children": [
|
11486 | {
|
11487 | "type": "paragraph",
|
11488 | "children": [
|
11489 | {
|
11490 | "type": "emphasis",
|
11491 | "children": [
|
11492 | {
|
11493 | "type": "text",
|
11494 | "value": "foo"
|
11495 | },
|
11496 | {
|
11497 | "type": "strong",
|
11498 | "children": [
|
11499 | {
|
11500 | "type": "text",
|
11501 | "value": "bar"
|
11502 | }
|
11503 | ]
|
11504 | },
|
11505 | {
|
11506 | "type": "text",
|
11507 | "value": "baz"
|
11508 | }
|
11509 | ]
|
11510 | }
|
11511 | ]
|
11512 | }
|
11513 | ]
|
11514 | },
|
11515 | "myst": "*foo**bar**baz*\n",
|
11516 | "html": "<p><em>foo<strong>bar</strong>baz</em></p>\n"
|
11517 | },
|
11518 | {
|
11519 | "title": "cmark_spec_0.30: Emphasis and strong emphasis - example 411",
|
11520 | "mdast": {
|
11521 | "type": "root",
|
11522 | "children": [
|
11523 | {
|
11524 | "type": "paragraph",
|
11525 | "children": [
|
11526 | {
|
11527 | "type": "emphasis",
|
11528 | "children": [
|
11529 | {
|
11530 | "type": "text",
|
11531 | "value": "foo**bar"
|
11532 | }
|
11533 | ]
|
11534 | }
|
11535 | ]
|
11536 | }
|
11537 | ]
|
11538 | },
|
11539 | "myst": "*foo**bar*\n",
|
11540 | "html": "<p><em>foo**bar</em></p>\n"
|
11541 | },
|
11542 | {
|
11543 | "title": "cmark_spec_0.30: Emphasis and strong emphasis - example 412",
|
11544 | "mdast": {
|
11545 | "type": "root",
|
11546 | "children": [
|
11547 | {
|
11548 | "type": "paragraph",
|
11549 | "children": [
|
11550 | {
|
11551 | "type": "emphasis",
|
11552 | "children": [
|
11553 | {
|
11554 | "type": "strong",
|
11555 | "children": [
|
11556 | {
|
11557 | "type": "text",
|
11558 | "value": "foo"
|
11559 | }
|
11560 | ]
|
11561 | },
|
11562 | {
|
11563 | "type": "text",
|
11564 | "value": " bar"
|
11565 | }
|
11566 | ]
|
11567 | }
|
11568 | ]
|
11569 | }
|
11570 | ]
|
11571 | },
|
11572 | "myst": "***foo** bar*\n",
|
11573 | "html": "<p><em><strong>foo</strong> bar</em></p>\n"
|
11574 | },
|
11575 | {
|
11576 | "title": "cmark_spec_0.30: Emphasis and strong emphasis - example 413",
|
11577 | "mdast": {
|
11578 | "type": "root",
|
11579 | "children": [
|
11580 | {
|
11581 | "type": "paragraph",
|
11582 | "children": [
|
11583 | {
|
11584 | "type": "emphasis",
|
11585 | "children": [
|
11586 | {
|
11587 | "type": "text",
|
11588 | "value": "foo "
|
11589 | },
|
11590 | {
|
11591 | "type": "strong",
|
11592 | "children": [
|
11593 | {
|
11594 | "type": "text",
|
11595 | "value": "bar"
|
11596 | }
|
11597 | ]
|
11598 | }
|
11599 | ]
|
11600 | }
|
11601 | ]
|
11602 | }
|
11603 | ]
|
11604 | },
|
11605 | "myst": "*foo **bar***\n",
|
11606 | "html": "<p><em>foo <strong>bar</strong></em></p>\n"
|
11607 | },
|
11608 | {
|
11609 | "title": "cmark_spec_0.30: Emphasis and strong emphasis - example 414",
|
11610 | "mdast": {
|
11611 | "type": "root",
|
11612 | "children": [
|
11613 | {
|
11614 | "type": "paragraph",
|
11615 | "children": [
|
11616 | {
|
11617 | "type": "emphasis",
|
11618 | "children": [
|
11619 | {
|
11620 | "type": "text",
|
11621 | "value": "foo"
|
11622 | },
|
11623 | {
|
11624 | "type": "strong",
|
11625 | "children": [
|
11626 | {
|
11627 | "type": "text",
|
11628 | "value": "bar"
|
11629 | }
|
11630 | ]
|
11631 | }
|
11632 | ]
|
11633 | }
|
11634 | ]
|
11635 | }
|
11636 | ]
|
11637 | },
|
11638 | "myst": "*foo**bar***\n",
|
11639 | "html": "<p><em>foo<strong>bar</strong></em></p>\n"
|
11640 | },
|
11641 | {
|
11642 | "title": "cmark_spec_0.30: Emphasis and strong emphasis - example 415",
|
11643 | "mdast": {
|
11644 | "type": "root",
|
11645 | "children": [
|
11646 | {
|
11647 | "type": "paragraph",
|
11648 | "children": [
|
11649 | {
|
11650 | "type": "text",
|
11651 | "value": "foo"
|
11652 | },
|
11653 | {
|
11654 | "type": "emphasis",
|
11655 | "children": [
|
11656 | {
|
11657 | "type": "strong",
|
11658 | "children": [
|
11659 | {
|
11660 | "type": "text",
|
11661 | "value": "bar"
|
11662 | }
|
11663 | ]
|
11664 | }
|
11665 | ]
|
11666 | },
|
11667 | {
|
11668 | "type": "text",
|
11669 | "value": "baz"
|
11670 | }
|
11671 | ]
|
11672 | }
|
11673 | ]
|
11674 | },
|
11675 | "myst": "foo***bar***baz\n",
|
11676 | "html": "<p>foo<em><strong>bar</strong></em>baz</p>\n"
|
11677 | },
|
11678 | {
|
11679 | "title": "cmark_spec_0.30: Emphasis and strong emphasis - example 416",
|
11680 | "mdast": {
|
11681 | "type": "root",
|
11682 | "children": [
|
11683 | {
|
11684 | "type": "paragraph",
|
11685 | "children": [
|
11686 | {
|
11687 | "type": "text",
|
11688 | "value": "foo"
|
11689 | },
|
11690 | {
|
11691 | "type": "strong",
|
11692 | "children": [
|
11693 | {
|
11694 | "type": "strong",
|
11695 | "children": [
|
11696 | {
|
11697 | "type": "strong",
|
11698 | "children": [
|
11699 | {
|
11700 | "type": "text",
|
11701 | "value": "bar"
|
11702 | }
|
11703 | ]
|
11704 | }
|
11705 | ]
|
11706 | }
|
11707 | ]
|
11708 | },
|
11709 | {
|
11710 | "type": "text",
|
11711 | "value": "***baz"
|
11712 | }
|
11713 | ]
|
11714 | }
|
11715 | ]
|
11716 | },
|
11717 | "myst": "foo******bar*********baz\n",
|
11718 | "html": "<p>foo<strong><strong><strong>bar</strong></strong></strong>***baz</p>\n"
|
11719 | },
|
11720 | {
|
11721 | "title": "cmark_spec_0.30: Emphasis and strong emphasis - example 417",
|
11722 | "mdast": {
|
11723 | "type": "root",
|
11724 | "children": [
|
11725 | {
|
11726 | "type": "paragraph",
|
11727 | "children": [
|
11728 | {
|
11729 | "type": "emphasis",
|
11730 | "children": [
|
11731 | {
|
11732 | "type": "text",
|
11733 | "value": "foo "
|
11734 | },
|
11735 | {
|
11736 | "type": "strong",
|
11737 | "children": [
|
11738 | {
|
11739 | "type": "text",
|
11740 | "value": "bar "
|
11741 | },
|
11742 | {
|
11743 | "type": "emphasis",
|
11744 | "children": [
|
11745 | {
|
11746 | "type": "text",
|
11747 | "value": "baz"
|
11748 | }
|
11749 | ]
|
11750 | },
|
11751 | {
|
11752 | "type": "text",
|
11753 | "value": " bim"
|
11754 | }
|
11755 | ]
|
11756 | },
|
11757 | {
|
11758 | "type": "text",
|
11759 | "value": " bop"
|
11760 | }
|
11761 | ]
|
11762 | }
|
11763 | ]
|
11764 | }
|
11765 | ]
|
11766 | },
|
11767 | "myst": "*foo **bar *baz* bim** bop*\n",
|
11768 | "html": "<p><em>foo <strong>bar <em>baz</em> bim</strong> bop</em></p>\n"
|
11769 | },
|
11770 | {
|
11771 | "title": "cmark_spec_0.30: Emphasis and strong emphasis - example 418",
|
11772 | "mdast": {
|
11773 | "type": "root",
|
11774 | "children": [
|
11775 | {
|
11776 | "type": "paragraph",
|
11777 | "children": [
|
11778 | {
|
11779 | "type": "emphasis",
|
11780 | "children": [
|
11781 | {
|
11782 | "type": "text",
|
11783 | "value": "foo "
|
11784 | },
|
11785 | {
|
11786 | "type": "link",
|
11787 | "url": "/url",
|
11788 | "children": [
|
11789 | {
|
11790 | "type": "emphasis",
|
11791 | "children": [
|
11792 | {
|
11793 | "type": "text",
|
11794 | "value": "bar"
|
11795 | }
|
11796 | ]
|
11797 | }
|
11798 | ]
|
11799 | }
|
11800 | ]
|
11801 | }
|
11802 | ]
|
11803 | }
|
11804 | ]
|
11805 | },
|
11806 | "myst": "*foo [*bar*](/url)*\n",
|
11807 | "html": "<p><em>foo <a href=\"/url\"><em>bar</em></a></em></p>\n"
|
11808 | },
|
11809 | {
|
11810 | "title": "cmark_spec_0.30: Emphasis and strong emphasis - example 419",
|
11811 | "mdast": {
|
11812 | "type": "root",
|
11813 | "children": [
|
11814 | {
|
11815 | "type": "paragraph",
|
11816 | "children": [
|
11817 | {
|
11818 | "type": "text",
|
11819 | "value": "** is not an empty emphasis"
|
11820 | }
|
11821 | ]
|
11822 | }
|
11823 | ]
|
11824 | },
|
11825 | "myst": "** is not an empty emphasis\n",
|
11826 | "html": "<p>** is not an empty emphasis</p>\n"
|
11827 | },
|
11828 | {
|
11829 | "title": "cmark_spec_0.30: Emphasis and strong emphasis - example 420",
|
11830 | "mdast": {
|
11831 | "type": "root",
|
11832 | "children": [
|
11833 | {
|
11834 | "type": "paragraph",
|
11835 | "children": [
|
11836 | {
|
11837 | "type": "text",
|
11838 | "value": "**** is not an empty strong emphasis"
|
11839 | }
|
11840 | ]
|
11841 | }
|
11842 | ]
|
11843 | },
|
11844 | "myst": "**** is not an empty strong emphasis\n",
|
11845 | "html": "<p>**** is not an empty strong emphasis</p>\n"
|
11846 | },
|
11847 | {
|
11848 | "title": "cmark_spec_0.30: Emphasis and strong emphasis - example 421",
|
11849 | "mdast": {
|
11850 | "type": "root",
|
11851 | "children": [
|
11852 | {
|
11853 | "type": "paragraph",
|
11854 | "children": [
|
11855 | {
|
11856 | "type": "strong",
|
11857 | "children": [
|
11858 | {
|
11859 | "type": "text",
|
11860 | "value": "foo "
|
11861 | },
|
11862 | {
|
11863 | "type": "link",
|
11864 | "url": "/url",
|
11865 | "children": [
|
11866 | {
|
11867 | "type": "text",
|
11868 | "value": "bar"
|
11869 | }
|
11870 | ]
|
11871 | }
|
11872 | ]
|
11873 | }
|
11874 | ]
|
11875 | }
|
11876 | ]
|
11877 | },
|
11878 | "myst": "**foo [bar](/url)**\n",
|
11879 | "html": "<p><strong>foo <a href=\"/url\">bar</a></strong></p>\n"
|
11880 | },
|
11881 | {
|
11882 | "title": "cmark_spec_0.30: Emphasis and strong emphasis - example 422",
|
11883 | "mdast": {
|
11884 | "type": "root",
|
11885 | "children": [
|
11886 | {
|
11887 | "type": "paragraph",
|
11888 | "children": [
|
11889 | {
|
11890 | "type": "strong",
|
11891 | "children": [
|
11892 | {
|
11893 | "type": "text",
|
11894 | "value": "foo\nbar"
|
11895 | }
|
11896 | ]
|
11897 | }
|
11898 | ]
|
11899 | }
|
11900 | ]
|
11901 | },
|
11902 | "myst": "**foo\nbar**\n",
|
11903 | "html": "<p><strong>foo\nbar</strong></p>\n"
|
11904 | },
|
11905 | {
|
11906 | "title": "cmark_spec_0.30: Emphasis and strong emphasis - example 423",
|
11907 | "mdast": {
|
11908 | "type": "root",
|
11909 | "children": [
|
11910 | {
|
11911 | "type": "paragraph",
|
11912 | "children": [
|
11913 | {
|
11914 | "type": "strong",
|
11915 | "children": [
|
11916 | {
|
11917 | "type": "text",
|
11918 | "value": "foo "
|
11919 | },
|
11920 | {
|
11921 | "type": "emphasis",
|
11922 | "children": [
|
11923 | {
|
11924 | "type": "text",
|
11925 | "value": "bar"
|
11926 | }
|
11927 | ]
|
11928 | },
|
11929 | {
|
11930 | "type": "text",
|
11931 | "value": " baz"
|
11932 | }
|
11933 | ]
|
11934 | }
|
11935 | ]
|
11936 | }
|
11937 | ]
|
11938 | },
|
11939 | "myst": "__foo _bar_ baz__\n",
|
11940 | "html": "<p><strong>foo <em>bar</em> baz</strong></p>\n"
|
11941 | },
|
11942 | {
|
11943 | "title": "cmark_spec_0.30: Emphasis and strong emphasis - example 424",
|
11944 | "mdast": {
|
11945 | "type": "root",
|
11946 | "children": [
|
11947 | {
|
11948 | "type": "paragraph",
|
11949 | "children": [
|
11950 | {
|
11951 | "type": "strong",
|
11952 | "children": [
|
11953 | {
|
11954 | "type": "text",
|
11955 | "value": "foo "
|
11956 | },
|
11957 | {
|
11958 | "type": "strong",
|
11959 | "children": [
|
11960 | {
|
11961 | "type": "text",
|
11962 | "value": "bar"
|
11963 | }
|
11964 | ]
|
11965 | },
|
11966 | {
|
11967 | "type": "text",
|
11968 | "value": " baz"
|
11969 | }
|
11970 | ]
|
11971 | }
|
11972 | ]
|
11973 | }
|
11974 | ]
|
11975 | },
|
11976 | "myst": "__foo __bar__ baz__\n",
|
11977 | "html": "<p><strong>foo <strong>bar</strong> baz</strong></p>\n"
|
11978 | },
|
11979 | {
|
11980 | "title": "cmark_spec_0.30: Emphasis and strong emphasis - example 425",
|
11981 | "mdast": {
|
11982 | "type": "root",
|
11983 | "children": [
|
11984 | {
|
11985 | "type": "paragraph",
|
11986 | "children": [
|
11987 | {
|
11988 | "type": "strong",
|
11989 | "children": [
|
11990 | {
|
11991 | "type": "strong",
|
11992 | "children": [
|
11993 | {
|
11994 | "type": "text",
|
11995 | "value": "foo"
|
11996 | }
|
11997 | ]
|
11998 | },
|
11999 | {
|
12000 | "type": "text",
|
12001 | "value": " bar"
|
12002 | }
|
12003 | ]
|
12004 | }
|
12005 | ]
|
12006 | }
|
12007 | ]
|
12008 | },
|
12009 | "myst": "____foo__ bar__\n",
|
12010 | "html": "<p><strong><strong>foo</strong> bar</strong></p>\n"
|
12011 | },
|
12012 | {
|
12013 | "title": "cmark_spec_0.30: Emphasis and strong emphasis - example 426",
|
12014 | "mdast": {
|
12015 | "type": "root",
|
12016 | "children": [
|
12017 | {
|
12018 | "type": "paragraph",
|
12019 | "children": [
|
12020 | {
|
12021 | "type": "strong",
|
12022 | "children": [
|
12023 | {
|
12024 | "type": "text",
|
12025 | "value": "foo "
|
12026 | },
|
12027 | {
|
12028 | "type": "strong",
|
12029 | "children": [
|
12030 | {
|
12031 | "type": "text",
|
12032 | "value": "bar"
|
12033 | }
|
12034 | ]
|
12035 | }
|
12036 | ]
|
12037 | }
|
12038 | ]
|
12039 | }
|
12040 | ]
|
12041 | },
|
12042 | "myst": "**foo **bar****\n",
|
12043 | "html": "<p><strong>foo <strong>bar</strong></strong></p>\n"
|
12044 | },
|
12045 | {
|
12046 | "title": "cmark_spec_0.30: Emphasis and strong emphasis - example 427",
|
12047 | "mdast": {
|
12048 | "type": "root",
|
12049 | "children": [
|
12050 | {
|
12051 | "type": "paragraph",
|
12052 | "children": [
|
12053 | {
|
12054 | "type": "strong",
|
12055 | "children": [
|
12056 | {
|
12057 | "type": "text",
|
12058 | "value": "foo "
|
12059 | },
|
12060 | {
|
12061 | "type": "emphasis",
|
12062 | "children": [
|
12063 | {
|
12064 | "type": "text",
|
12065 | "value": "bar"
|
12066 | }
|
12067 | ]
|
12068 | },
|
12069 | {
|
12070 | "type": "text",
|
12071 | "value": " baz"
|
12072 | }
|
12073 | ]
|
12074 | }
|
12075 | ]
|
12076 | }
|
12077 | ]
|
12078 | },
|
12079 | "myst": "**foo *bar* baz**\n",
|
12080 | "html": "<p><strong>foo <em>bar</em> baz</strong></p>\n"
|
12081 | },
|
12082 | {
|
12083 | "title": "cmark_spec_0.30: Emphasis and strong emphasis - example 428",
|
12084 | "mdast": {
|
12085 | "type": "root",
|
12086 | "children": [
|
12087 | {
|
12088 | "type": "paragraph",
|
12089 | "children": [
|
12090 | {
|
12091 | "type": "strong",
|
12092 | "children": [
|
12093 | {
|
12094 | "type": "text",
|
12095 | "value": "foo"
|
12096 | },
|
12097 | {
|
12098 | "type": "emphasis",
|
12099 | "children": [
|
12100 | {
|
12101 | "type": "text",
|
12102 | "value": "bar"
|
12103 | }
|
12104 | ]
|
12105 | },
|
12106 | {
|
12107 | "type": "text",
|
12108 | "value": "baz"
|
12109 | }
|
12110 | ]
|
12111 | }
|
12112 | ]
|
12113 | }
|
12114 | ]
|
12115 | },
|
12116 | "myst": "**foo*bar*baz**\n",
|
12117 | "html": "<p><strong>foo<em>bar</em>baz</strong></p>\n"
|
12118 | },
|
12119 | {
|
12120 | "title": "cmark_spec_0.30: Emphasis and strong emphasis - example 429",
|
12121 | "mdast": {
|
12122 | "type": "root",
|
12123 | "children": [
|
12124 | {
|
12125 | "type": "paragraph",
|
12126 | "children": [
|
12127 | {
|
12128 | "type": "strong",
|
12129 | "children": [
|
12130 | {
|
12131 | "type": "emphasis",
|
12132 | "children": [
|
12133 | {
|
12134 | "type": "text",
|
12135 | "value": "foo"
|
12136 | }
|
12137 | ]
|
12138 | },
|
12139 | {
|
12140 | "type": "text",
|
12141 | "value": " bar"
|
12142 | }
|
12143 | ]
|
12144 | }
|
12145 | ]
|
12146 | }
|
12147 | ]
|
12148 | },
|
12149 | "myst": "***foo* bar**\n",
|
12150 | "html": "<p><strong><em>foo</em> bar</strong></p>\n"
|
12151 | },
|
12152 | {
|
12153 | "title": "cmark_spec_0.30: Emphasis and strong emphasis - example 430",
|
12154 | "mdast": {
|
12155 | "type": "root",
|
12156 | "children": [
|
12157 | {
|
12158 | "type": "paragraph",
|
12159 | "children": [
|
12160 | {
|
12161 | "type": "strong",
|
12162 | "children": [
|
12163 | {
|
12164 | "type": "text",
|
12165 | "value": "foo "
|
12166 | },
|
12167 | {
|
12168 | "type": "emphasis",
|
12169 | "children": [
|
12170 | {
|
12171 | "type": "text",
|
12172 | "value": "bar"
|
12173 | }
|
12174 | ]
|
12175 | }
|
12176 | ]
|
12177 | }
|
12178 | ]
|
12179 | }
|
12180 | ]
|
12181 | },
|
12182 | "myst": "**foo *bar***\n",
|
12183 | "html": "<p><strong>foo <em>bar</em></strong></p>\n"
|
12184 | },
|
12185 | {
|
12186 | "title": "cmark_spec_0.30: Emphasis and strong emphasis - example 431",
|
12187 | "mdast": {
|
12188 | "type": "root",
|
12189 | "children": [
|
12190 | {
|
12191 | "type": "paragraph",
|
12192 | "children": [
|
12193 | {
|
12194 | "type": "strong",
|
12195 | "children": [
|
12196 | {
|
12197 | "type": "text",
|
12198 | "value": "foo "
|
12199 | },
|
12200 | {
|
12201 | "type": "emphasis",
|
12202 | "children": [
|
12203 | {
|
12204 | "type": "text",
|
12205 | "value": "bar "
|
12206 | },
|
12207 | {
|
12208 | "type": "strong",
|
12209 | "children": [
|
12210 | {
|
12211 | "type": "text",
|
12212 | "value": "baz"
|
12213 | }
|
12214 | ]
|
12215 | },
|
12216 | {
|
12217 | "type": "text",
|
12218 | "value": "\nbim"
|
12219 | }
|
12220 | ]
|
12221 | },
|
12222 | {
|
12223 | "type": "text",
|
12224 | "value": " bop"
|
12225 | }
|
12226 | ]
|
12227 | }
|
12228 | ]
|
12229 | }
|
12230 | ]
|
12231 | },
|
12232 | "myst": "**foo *bar **baz**\nbim* bop**\n",
|
12233 | "html": "<p><strong>foo <em>bar <strong>baz</strong>\nbim</em> bop</strong></p>\n"
|
12234 | },
|
12235 | {
|
12236 | "title": "cmark_spec_0.30: Emphasis and strong emphasis - example 432",
|
12237 | "mdast": {
|
12238 | "type": "root",
|
12239 | "children": [
|
12240 | {
|
12241 | "type": "paragraph",
|
12242 | "children": [
|
12243 | {
|
12244 | "type": "strong",
|
12245 | "children": [
|
12246 | {
|
12247 | "type": "text",
|
12248 | "value": "foo "
|
12249 | },
|
12250 | {
|
12251 | "type": "link",
|
12252 | "url": "/url",
|
12253 | "children": [
|
12254 | {
|
12255 | "type": "emphasis",
|
12256 | "children": [
|
12257 | {
|
12258 | "type": "text",
|
12259 | "value": "bar"
|
12260 | }
|
12261 | ]
|
12262 | }
|
12263 | ]
|
12264 | }
|
12265 | ]
|
12266 | }
|
12267 | ]
|
12268 | }
|
12269 | ]
|
12270 | },
|
12271 | "myst": "**foo [*bar*](/url)**\n",
|
12272 | "html": "<p><strong>foo <a href=\"/url\"><em>bar</em></a></strong></p>\n"
|
12273 | },
|
12274 | {
|
12275 | "title": "cmark_spec_0.30: Emphasis and strong emphasis - example 433",
|
12276 | "mdast": {
|
12277 | "type": "root",
|
12278 | "children": [
|
12279 | {
|
12280 | "type": "paragraph",
|
12281 | "children": [
|
12282 | {
|
12283 | "type": "text",
|
12284 | "value": "__ is not an empty emphasis"
|
12285 | }
|
12286 | ]
|
12287 | }
|
12288 | ]
|
12289 | },
|
12290 | "myst": "__ is not an empty emphasis\n",
|
12291 | "html": "<p>__ is not an empty emphasis</p>\n"
|
12292 | },
|
12293 | {
|
12294 | "title": "cmark_spec_0.30: Emphasis and strong emphasis - example 434",
|
12295 | "mdast": {
|
12296 | "type": "root",
|
12297 | "children": [
|
12298 | {
|
12299 | "type": "paragraph",
|
12300 | "children": [
|
12301 | {
|
12302 | "type": "text",
|
12303 | "value": "____ is not an empty strong emphasis"
|
12304 | }
|
12305 | ]
|
12306 | }
|
12307 | ]
|
12308 | },
|
12309 | "myst": "____ is not an empty strong emphasis\n",
|
12310 | "html": "<p>____ is not an empty strong emphasis</p>\n"
|
12311 | },
|
12312 | {
|
12313 | "title": "cmark_spec_0.30: Emphasis and strong emphasis - example 435",
|
12314 | "mdast": {
|
12315 | "type": "root",
|
12316 | "children": [
|
12317 | {
|
12318 | "type": "paragraph",
|
12319 | "children": [
|
12320 | {
|
12321 | "type": "text",
|
12322 | "value": "foo ***"
|
12323 | }
|
12324 | ]
|
12325 | }
|
12326 | ]
|
12327 | },
|
12328 | "myst": "foo ***\n",
|
12329 | "html": "<p>foo ***</p>\n"
|
12330 | },
|
12331 | {
|
12332 | "title": "cmark_spec_0.30: Emphasis and strong emphasis - example 436",
|
12333 | "mdast": {
|
12334 | "type": "root",
|
12335 | "children": [
|
12336 | {
|
12337 | "type": "paragraph",
|
12338 | "children": [
|
12339 | {
|
12340 | "type": "text",
|
12341 | "value": "foo "
|
12342 | },
|
12343 | {
|
12344 | "type": "emphasis",
|
12345 | "children": [
|
12346 | {
|
12347 | "type": "text",
|
12348 | "value": "*"
|
12349 | }
|
12350 | ]
|
12351 | }
|
12352 | ]
|
12353 | }
|
12354 | ]
|
12355 | },
|
12356 | "myst": "foo *\\**\n",
|
12357 | "html": "<p>foo <em>*</em></p>\n"
|
12358 | },
|
12359 | {
|
12360 | "title": "cmark_spec_0.30: Emphasis and strong emphasis - example 437",
|
12361 | "mdast": {
|
12362 | "type": "root",
|
12363 | "children": [
|
12364 | {
|
12365 | "type": "paragraph",
|
12366 | "children": [
|
12367 | {
|
12368 | "type": "text",
|
12369 | "value": "foo "
|
12370 | },
|
12371 | {
|
12372 | "type": "emphasis",
|
12373 | "children": [
|
12374 | {
|
12375 | "type": "text",
|
12376 | "value": "_"
|
12377 | }
|
12378 | ]
|
12379 | }
|
12380 | ]
|
12381 | }
|
12382 | ]
|
12383 | },
|
12384 | "myst": "foo *_*\n",
|
12385 | "html": "<p>foo <em>_</em></p>\n"
|
12386 | },
|
12387 | {
|
12388 | "title": "cmark_spec_0.30: Emphasis and strong emphasis - example 438",
|
12389 | "mdast": {
|
12390 | "type": "root",
|
12391 | "children": [
|
12392 | {
|
12393 | "type": "paragraph",
|
12394 | "children": [
|
12395 | {
|
12396 | "type": "text",
|
12397 | "value": "foo *****"
|
12398 | }
|
12399 | ]
|
12400 | }
|
12401 | ]
|
12402 | },
|
12403 | "myst": "foo *****\n",
|
12404 | "html": "<p>foo *****</p>\n"
|
12405 | },
|
12406 | {
|
12407 | "title": "cmark_spec_0.30: Emphasis and strong emphasis - example 439",
|
12408 | "mdast": {
|
12409 | "type": "root",
|
12410 | "children": [
|
12411 | {
|
12412 | "type": "paragraph",
|
12413 | "children": [
|
12414 | {
|
12415 | "type": "text",
|
12416 | "value": "foo "
|
12417 | },
|
12418 | {
|
12419 | "type": "strong",
|
12420 | "children": [
|
12421 | {
|
12422 | "type": "text",
|
12423 | "value": "*"
|
12424 | }
|
12425 | ]
|
12426 | }
|
12427 | ]
|
12428 | }
|
12429 | ]
|
12430 | },
|
12431 | "myst": "foo **\\***\n",
|
12432 | "html": "<p>foo <strong>*</strong></p>\n"
|
12433 | },
|
12434 | {
|
12435 | "title": "cmark_spec_0.30: Emphasis and strong emphasis - example 440",
|
12436 | "mdast": {
|
12437 | "type": "root",
|
12438 | "children": [
|
12439 | {
|
12440 | "type": "paragraph",
|
12441 | "children": [
|
12442 | {
|
12443 | "type": "text",
|
12444 | "value": "foo "
|
12445 | },
|
12446 | {
|
12447 | "type": "strong",
|
12448 | "children": [
|
12449 | {
|
12450 | "type": "text",
|
12451 | "value": "_"
|
12452 | }
|
12453 | ]
|
12454 | }
|
12455 | ]
|
12456 | }
|
12457 | ]
|
12458 | },
|
12459 | "myst": "foo **_**\n",
|
12460 | "html": "<p>foo <strong>_</strong></p>\n"
|
12461 | },
|
12462 | {
|
12463 | "title": "cmark_spec_0.30: Emphasis and strong emphasis - example 441",
|
12464 | "mdast": {
|
12465 | "type": "root",
|
12466 | "children": [
|
12467 | {
|
12468 | "type": "paragraph",
|
12469 | "children": [
|
12470 | {
|
12471 | "type": "text",
|
12472 | "value": "*"
|
12473 | },
|
12474 | {
|
12475 | "type": "emphasis",
|
12476 | "children": [
|
12477 | {
|
12478 | "type": "text",
|
12479 | "value": "foo"
|
12480 | }
|
12481 | ]
|
12482 | }
|
12483 | ]
|
12484 | }
|
12485 | ]
|
12486 | },
|
12487 | "myst": "**foo*\n",
|
12488 | "html": "<p>*<em>foo</em></p>\n"
|
12489 | },
|
12490 | {
|
12491 | "title": "cmark_spec_0.30: Emphasis and strong emphasis - example 442",
|
12492 | "mdast": {
|
12493 | "type": "root",
|
12494 | "children": [
|
12495 | {
|
12496 | "type": "paragraph",
|
12497 | "children": [
|
12498 | {
|
12499 | "type": "emphasis",
|
12500 | "children": [
|
12501 | {
|
12502 | "type": "text",
|
12503 | "value": "foo"
|
12504 | }
|
12505 | ]
|
12506 | },
|
12507 | {
|
12508 | "type": "text",
|
12509 | "value": "*"
|
12510 | }
|
12511 | ]
|
12512 | }
|
12513 | ]
|
12514 | },
|
12515 | "myst": "*foo**\n",
|
12516 | "html": "<p><em>foo</em>*</p>\n"
|
12517 | },
|
12518 | {
|
12519 | "title": "cmark_spec_0.30: Emphasis and strong emphasis - example 443",
|
12520 | "mdast": {
|
12521 | "type": "root",
|
12522 | "children": [
|
12523 | {
|
12524 | "type": "paragraph",
|
12525 | "children": [
|
12526 | {
|
12527 | "type": "text",
|
12528 | "value": "*"
|
12529 | },
|
12530 | {
|
12531 | "type": "strong",
|
12532 | "children": [
|
12533 | {
|
12534 | "type": "text",
|
12535 | "value": "foo"
|
12536 | }
|
12537 | ]
|
12538 | }
|
12539 | ]
|
12540 | }
|
12541 | ]
|
12542 | },
|
12543 | "myst": "***foo**\n",
|
12544 | "html": "<p>*<strong>foo</strong></p>\n"
|
12545 | },
|
12546 | {
|
12547 | "title": "cmark_spec_0.30: Emphasis and strong emphasis - example 444",
|
12548 | "mdast": {
|
12549 | "type": "root",
|
12550 | "children": [
|
12551 | {
|
12552 | "type": "paragraph",
|
12553 | "children": [
|
12554 | {
|
12555 | "type": "text",
|
12556 | "value": "***"
|
12557 | },
|
12558 | {
|
12559 | "type": "emphasis",
|
12560 | "children": [
|
12561 | {
|
12562 | "type": "text",
|
12563 | "value": "foo"
|
12564 | }
|
12565 | ]
|
12566 | }
|
12567 | ]
|
12568 | }
|
12569 | ]
|
12570 | },
|
12571 | "myst": "****foo*\n",
|
12572 | "html": "<p>***<em>foo</em></p>\n"
|
12573 | },
|
12574 | {
|
12575 | "title": "cmark_spec_0.30: Emphasis and strong emphasis - example 445",
|
12576 | "mdast": {
|
12577 | "type": "root",
|
12578 | "children": [
|
12579 | {
|
12580 | "type": "paragraph",
|
12581 | "children": [
|
12582 | {
|
12583 | "type": "strong",
|
12584 | "children": [
|
12585 | {
|
12586 | "type": "text",
|
12587 | "value": "foo"
|
12588 | }
|
12589 | ]
|
12590 | },
|
12591 | {
|
12592 | "type": "text",
|
12593 | "value": "*"
|
12594 | }
|
12595 | ]
|
12596 | }
|
12597 | ]
|
12598 | },
|
12599 | "myst": "**foo***\n",
|
12600 | "html": "<p><strong>foo</strong>*</p>\n"
|
12601 | },
|
12602 | {
|
12603 | "title": "cmark_spec_0.30: Emphasis and strong emphasis - example 446",
|
12604 | "mdast": {
|
12605 | "type": "root",
|
12606 | "children": [
|
12607 | {
|
12608 | "type": "paragraph",
|
12609 | "children": [
|
12610 | {
|
12611 | "type": "emphasis",
|
12612 | "children": [
|
12613 | {
|
12614 | "type": "text",
|
12615 | "value": "foo"
|
12616 | }
|
12617 | ]
|
12618 | },
|
12619 | {
|
12620 | "type": "text",
|
12621 | "value": "***"
|
12622 | }
|
12623 | ]
|
12624 | }
|
12625 | ]
|
12626 | },
|
12627 | "myst": "*foo****\n",
|
12628 | "html": "<p><em>foo</em>***</p>\n"
|
12629 | },
|
12630 | {
|
12631 | "title": "cmark_spec_0.30: Emphasis and strong emphasis - example 447",
|
12632 | "mdast": {
|
12633 | "type": "root",
|
12634 | "children": [
|
12635 | {
|
12636 | "type": "paragraph",
|
12637 | "children": [
|
12638 | {
|
12639 | "type": "text",
|
12640 | "value": "foo ___"
|
12641 | }
|
12642 | ]
|
12643 | }
|
12644 | ]
|
12645 | },
|
12646 | "myst": "foo ___\n",
|
12647 | "html": "<p>foo ___</p>\n"
|
12648 | },
|
12649 | {
|
12650 | "title": "cmark_spec_0.30: Emphasis and strong emphasis - example 448",
|
12651 | "mdast": {
|
12652 | "type": "root",
|
12653 | "children": [
|
12654 | {
|
12655 | "type": "paragraph",
|
12656 | "children": [
|
12657 | {
|
12658 | "type": "text",
|
12659 | "value": "foo "
|
12660 | },
|
12661 | {
|
12662 | "type": "emphasis",
|
12663 | "children": [
|
12664 | {
|
12665 | "type": "text",
|
12666 | "value": "_"
|
12667 | }
|
12668 | ]
|
12669 | }
|
12670 | ]
|
12671 | }
|
12672 | ]
|
12673 | },
|
12674 | "myst": "foo _\\__\n",
|
12675 | "html": "<p>foo <em>_</em></p>\n"
|
12676 | },
|
12677 | {
|
12678 | "title": "cmark_spec_0.30: Emphasis and strong emphasis - example 449",
|
12679 | "mdast": {
|
12680 | "type": "root",
|
12681 | "children": [
|
12682 | {
|
12683 | "type": "paragraph",
|
12684 | "children": [
|
12685 | {
|
12686 | "type": "text",
|
12687 | "value": "foo "
|
12688 | },
|
12689 | {
|
12690 | "type": "emphasis",
|
12691 | "children": [
|
12692 | {
|
12693 | "type": "text",
|
12694 | "value": "*"
|
12695 | }
|
12696 | ]
|
12697 | }
|
12698 | ]
|
12699 | }
|
12700 | ]
|
12701 | },
|
12702 | "myst": "foo _*_\n",
|
12703 | "html": "<p>foo <em>*</em></p>\n"
|
12704 | },
|
12705 | {
|
12706 | "title": "cmark_spec_0.30: Emphasis and strong emphasis - example 450",
|
12707 | "mdast": {
|
12708 | "type": "root",
|
12709 | "children": [
|
12710 | {
|
12711 | "type": "paragraph",
|
12712 | "children": [
|
12713 | {
|
12714 | "type": "text",
|
12715 | "value": "foo _____"
|
12716 | }
|
12717 | ]
|
12718 | }
|
12719 | ]
|
12720 | },
|
12721 | "myst": "foo _____\n",
|
12722 | "html": "<p>foo _____</p>\n"
|
12723 | },
|
12724 | {
|
12725 | "title": "cmark_spec_0.30: Emphasis and strong emphasis - example 451",
|
12726 | "mdast": {
|
12727 | "type": "root",
|
12728 | "children": [
|
12729 | {
|
12730 | "type": "paragraph",
|
12731 | "children": [
|
12732 | {
|
12733 | "type": "text",
|
12734 | "value": "foo "
|
12735 | },
|
12736 | {
|
12737 | "type": "strong",
|
12738 | "children": [
|
12739 | {
|
12740 | "type": "text",
|
12741 | "value": "_"
|
12742 | }
|
12743 | ]
|
12744 | }
|
12745 | ]
|
12746 | }
|
12747 | ]
|
12748 | },
|
12749 | "myst": "foo __\\___\n",
|
12750 | "html": "<p>foo <strong>_</strong></p>\n"
|
12751 | },
|
12752 | {
|
12753 | "title": "cmark_spec_0.30: Emphasis and strong emphasis - example 452",
|
12754 | "mdast": {
|
12755 | "type": "root",
|
12756 | "children": [
|
12757 | {
|
12758 | "type": "paragraph",
|
12759 | "children": [
|
12760 | {
|
12761 | "type": "text",
|
12762 | "value": "foo "
|
12763 | },
|
12764 | {
|
12765 | "type": "strong",
|
12766 | "children": [
|
12767 | {
|
12768 | "type": "text",
|
12769 | "value": "*"
|
12770 | }
|
12771 | ]
|
12772 | }
|
12773 | ]
|
12774 | }
|
12775 | ]
|
12776 | },
|
12777 | "myst": "foo __*__\n",
|
12778 | "html": "<p>foo <strong>*</strong></p>\n"
|
12779 | },
|
12780 | {
|
12781 | "title": "cmark_spec_0.30: Emphasis and strong emphasis - example 453",
|
12782 | "mdast": {
|
12783 | "type": "root",
|
12784 | "children": [
|
12785 | {
|
12786 | "type": "paragraph",
|
12787 | "children": [
|
12788 | {
|
12789 | "type": "text",
|
12790 | "value": "_"
|
12791 | },
|
12792 | {
|
12793 | "type": "emphasis",
|
12794 | "children": [
|
12795 | {
|
12796 | "type": "text",
|
12797 | "value": "foo"
|
12798 | }
|
12799 | ]
|
12800 | }
|
12801 | ]
|
12802 | }
|
12803 | ]
|
12804 | },
|
12805 | "myst": "__foo_\n",
|
12806 | "html": "<p>_<em>foo</em></p>\n"
|
12807 | },
|
12808 | {
|
12809 | "title": "cmark_spec_0.30: Emphasis and strong emphasis - example 454",
|
12810 | "mdast": {
|
12811 | "type": "root",
|
12812 | "children": [
|
12813 | {
|
12814 | "type": "paragraph",
|
12815 | "children": [
|
12816 | {
|
12817 | "type": "emphasis",
|
12818 | "children": [
|
12819 | {
|
12820 | "type": "text",
|
12821 | "value": "foo"
|
12822 | }
|
12823 | ]
|
12824 | },
|
12825 | {
|
12826 | "type": "text",
|
12827 | "value": "_"
|
12828 | }
|
12829 | ]
|
12830 | }
|
12831 | ]
|
12832 | },
|
12833 | "myst": "_foo__\n",
|
12834 | "html": "<p><em>foo</em>_</p>\n"
|
12835 | },
|
12836 | {
|
12837 | "title": "cmark_spec_0.30: Emphasis and strong emphasis - example 455",
|
12838 | "mdast": {
|
12839 | "type": "root",
|
12840 | "children": [
|
12841 | {
|
12842 | "type": "paragraph",
|
12843 | "children": [
|
12844 | {
|
12845 | "type": "text",
|
12846 | "value": "_"
|
12847 | },
|
12848 | {
|
12849 | "type": "strong",
|
12850 | "children": [
|
12851 | {
|
12852 | "type": "text",
|
12853 | "value": "foo"
|
12854 | }
|
12855 | ]
|
12856 | }
|
12857 | ]
|
12858 | }
|
12859 | ]
|
12860 | },
|
12861 | "myst": "___foo__\n",
|
12862 | "html": "<p>_<strong>foo</strong></p>\n"
|
12863 | },
|
12864 | {
|
12865 | "title": "cmark_spec_0.30: Emphasis and strong emphasis - example 456",
|
12866 | "mdast": {
|
12867 | "type": "root",
|
12868 | "children": [
|
12869 | {
|
12870 | "type": "paragraph",
|
12871 | "children": [
|
12872 | {
|
12873 | "type": "text",
|
12874 | "value": "___"
|
12875 | },
|
12876 | {
|
12877 | "type": "emphasis",
|
12878 | "children": [
|
12879 | {
|
12880 | "type": "text",
|
12881 | "value": "foo"
|
12882 | }
|
12883 | ]
|
12884 | }
|
12885 | ]
|
12886 | }
|
12887 | ]
|
12888 | },
|
12889 | "myst": "____foo_\n",
|
12890 | "html": "<p>___<em>foo</em></p>\n"
|
12891 | },
|
12892 | {
|
12893 | "title": "cmark_spec_0.30: Emphasis and strong emphasis - example 457",
|
12894 | "mdast": {
|
12895 | "type": "root",
|
12896 | "children": [
|
12897 | {
|
12898 | "type": "paragraph",
|
12899 | "children": [
|
12900 | {
|
12901 | "type": "strong",
|
12902 | "children": [
|
12903 | {
|
12904 | "type": "text",
|
12905 | "value": "foo"
|
12906 | }
|
12907 | ]
|
12908 | },
|
12909 | {
|
12910 | "type": "text",
|
12911 | "value": "_"
|
12912 | }
|
12913 | ]
|
12914 | }
|
12915 | ]
|
12916 | },
|
12917 | "myst": "__foo___\n",
|
12918 | "html": "<p><strong>foo</strong>_</p>\n"
|
12919 | },
|
12920 | {
|
12921 | "title": "cmark_spec_0.30: Emphasis and strong emphasis - example 458",
|
12922 | "mdast": {
|
12923 | "type": "root",
|
12924 | "children": [
|
12925 | {
|
12926 | "type": "paragraph",
|
12927 | "children": [
|
12928 | {
|
12929 | "type": "emphasis",
|
12930 | "children": [
|
12931 | {
|
12932 | "type": "text",
|
12933 | "value": "foo"
|
12934 | }
|
12935 | ]
|
12936 | },
|
12937 | {
|
12938 | "type": "text",
|
12939 | "value": "___"
|
12940 | }
|
12941 | ]
|
12942 | }
|
12943 | ]
|
12944 | },
|
12945 | "myst": "_foo____\n",
|
12946 | "html": "<p><em>foo</em>___</p>\n"
|
12947 | },
|
12948 | {
|
12949 | "title": "cmark_spec_0.30: Emphasis and strong emphasis - example 459",
|
12950 | "mdast": {
|
12951 | "type": "root",
|
12952 | "children": [
|
12953 | {
|
12954 | "type": "paragraph",
|
12955 | "children": [
|
12956 | {
|
12957 | "type": "strong",
|
12958 | "children": [
|
12959 | {
|
12960 | "type": "text",
|
12961 | "value": "foo"
|
12962 | }
|
12963 | ]
|
12964 | }
|
12965 | ]
|
12966 | }
|
12967 | ]
|
12968 | },
|
12969 | "myst": "**foo**\n",
|
12970 | "html": "<p><strong>foo</strong></p>\n"
|
12971 | },
|
12972 | {
|
12973 | "title": "cmark_spec_0.30: Emphasis and strong emphasis - example 460",
|
12974 | "mdast": {
|
12975 | "type": "root",
|
12976 | "children": [
|
12977 | {
|
12978 | "type": "paragraph",
|
12979 | "children": [
|
12980 | {
|
12981 | "type": "emphasis",
|
12982 | "children": [
|
12983 | {
|
12984 | "type": "emphasis",
|
12985 | "children": [
|
12986 | {
|
12987 | "type": "text",
|
12988 | "value": "foo"
|
12989 | }
|
12990 | ]
|
12991 | }
|
12992 | ]
|
12993 | }
|
12994 | ]
|
12995 | }
|
12996 | ]
|
12997 | },
|
12998 | "myst": "*_foo_*\n",
|
12999 | "html": "<p><em><em>foo</em></em></p>\n"
|
13000 | },
|
13001 | {
|
13002 | "title": "cmark_spec_0.30: Emphasis and strong emphasis - example 461",
|
13003 | "mdast": {
|
13004 | "type": "root",
|
13005 | "children": [
|
13006 | {
|
13007 | "type": "paragraph",
|
13008 | "children": [
|
13009 | {
|
13010 | "type": "strong",
|
13011 | "children": [
|
13012 | {
|
13013 | "type": "text",
|
13014 | "value": "foo"
|
13015 | }
|
13016 | ]
|
13017 | }
|
13018 | ]
|
13019 | }
|
13020 | ]
|
13021 | },
|
13022 | "myst": "__foo__\n",
|
13023 | "html": "<p><strong>foo</strong></p>\n"
|
13024 | },
|
13025 | {
|
13026 | "title": "cmark_spec_0.30: Emphasis and strong emphasis - example 462",
|
13027 | "mdast": {
|
13028 | "type": "root",
|
13029 | "children": [
|
13030 | {
|
13031 | "type": "paragraph",
|
13032 | "children": [
|
13033 | {
|
13034 | "type": "emphasis",
|
13035 | "children": [
|
13036 | {
|
13037 | "type": "emphasis",
|
13038 | "children": [
|
13039 | {
|
13040 | "type": "text",
|
13041 | "value": "foo"
|
13042 | }
|
13043 | ]
|
13044 | }
|
13045 | ]
|
13046 | }
|
13047 | ]
|
13048 | }
|
13049 | ]
|
13050 | },
|
13051 | "myst": "_*foo*_\n",
|
13052 | "html": "<p><em><em>foo</em></em></p>\n"
|
13053 | },
|
13054 | {
|
13055 | "title": "cmark_spec_0.30: Emphasis and strong emphasis - example 463",
|
13056 | "mdast": {
|
13057 | "type": "root",
|
13058 | "children": [
|
13059 | {
|
13060 | "type": "paragraph",
|
13061 | "children": [
|
13062 | {
|
13063 | "type": "strong",
|
13064 | "children": [
|
13065 | {
|
13066 | "type": "strong",
|
13067 | "children": [
|
13068 | {
|
13069 | "type": "text",
|
13070 | "value": "foo"
|
13071 | }
|
13072 | ]
|
13073 | }
|
13074 | ]
|
13075 | }
|
13076 | ]
|
13077 | }
|
13078 | ]
|
13079 | },
|
13080 | "myst": "****foo****\n",
|
13081 | "html": "<p><strong><strong>foo</strong></strong></p>\n"
|
13082 | },
|
13083 | {
|
13084 | "title": "cmark_spec_0.30: Emphasis and strong emphasis - example 464",
|
13085 | "mdast": {
|
13086 | "type": "root",
|
13087 | "children": [
|
13088 | {
|
13089 | "type": "paragraph",
|
13090 | "children": [
|
13091 | {
|
13092 | "type": "strong",
|
13093 | "children": [
|
13094 | {
|
13095 | "type": "strong",
|
13096 | "children": [
|
13097 | {
|
13098 | "type": "text",
|
13099 | "value": "foo"
|
13100 | }
|
13101 | ]
|
13102 | }
|
13103 | ]
|
13104 | }
|
13105 | ]
|
13106 | }
|
13107 | ]
|
13108 | },
|
13109 | "myst": "____foo____\n",
|
13110 | "html": "<p><strong><strong>foo</strong></strong></p>\n"
|
13111 | },
|
13112 | {
|
13113 | "title": "cmark_spec_0.30: Emphasis and strong emphasis - example 465",
|
13114 | "mdast": {
|
13115 | "type": "root",
|
13116 | "children": [
|
13117 | {
|
13118 | "type": "paragraph",
|
13119 | "children": [
|
13120 | {
|
13121 | "type": "strong",
|
13122 | "children": [
|
13123 | {
|
13124 | "type": "strong",
|
13125 | "children": [
|
13126 | {
|
13127 | "type": "strong",
|
13128 | "children": [
|
13129 | {
|
13130 | "type": "text",
|
13131 | "value": "foo"
|
13132 | }
|
13133 | ]
|
13134 | }
|
13135 | ]
|
13136 | }
|
13137 | ]
|
13138 | }
|
13139 | ]
|
13140 | }
|
13141 | ]
|
13142 | },
|
13143 | "myst": "******foo******\n",
|
13144 | "html": "<p><strong><strong><strong>foo</strong></strong></strong></p>\n"
|
13145 | },
|
13146 | {
|
13147 | "title": "cmark_spec_0.30: Emphasis and strong emphasis - example 466",
|
13148 | "mdast": {
|
13149 | "type": "root",
|
13150 | "children": [
|
13151 | {
|
13152 | "type": "paragraph",
|
13153 | "children": [
|
13154 | {
|
13155 | "type": "emphasis",
|
13156 | "children": [
|
13157 | {
|
13158 | "type": "strong",
|
13159 | "children": [
|
13160 | {
|
13161 | "type": "text",
|
13162 | "value": "foo"
|
13163 | }
|
13164 | ]
|
13165 | }
|
13166 | ]
|
13167 | }
|
13168 | ]
|
13169 | }
|
13170 | ]
|
13171 | },
|
13172 | "myst": "***foo***\n",
|
13173 | "html": "<p><em><strong>foo</strong></em></p>\n"
|
13174 | },
|
13175 | {
|
13176 | "title": "cmark_spec_0.30: Emphasis and strong emphasis - example 467",
|
13177 | "mdast": {
|
13178 | "type": "root",
|
13179 | "children": [
|
13180 | {
|
13181 | "type": "paragraph",
|
13182 | "children": [
|
13183 | {
|
13184 | "type": "emphasis",
|
13185 | "children": [
|
13186 | {
|
13187 | "type": "strong",
|
13188 | "children": [
|
13189 | {
|
13190 | "type": "strong",
|
13191 | "children": [
|
13192 | {
|
13193 | "type": "text",
|
13194 | "value": "foo"
|
13195 | }
|
13196 | ]
|
13197 | }
|
13198 | ]
|
13199 | }
|
13200 | ]
|
13201 | }
|
13202 | ]
|
13203 | }
|
13204 | ]
|
13205 | },
|
13206 | "myst": "_____foo_____\n",
|
13207 | "html": "<p><em><strong><strong>foo</strong></strong></em></p>\n"
|
13208 | },
|
13209 | {
|
13210 | "title": "cmark_spec_0.30: Emphasis and strong emphasis - example 468",
|
13211 | "mdast": {
|
13212 | "type": "root",
|
13213 | "children": [
|
13214 | {
|
13215 | "type": "paragraph",
|
13216 | "children": [
|
13217 | {
|
13218 | "type": "emphasis",
|
13219 | "children": [
|
13220 | {
|
13221 | "type": "text",
|
13222 | "value": "foo _bar"
|
13223 | }
|
13224 | ]
|
13225 | },
|
13226 | {
|
13227 | "type": "text",
|
13228 | "value": " baz_"
|
13229 | }
|
13230 | ]
|
13231 | }
|
13232 | ]
|
13233 | },
|
13234 | "myst": "*foo _bar* baz_\n",
|
13235 | "html": "<p><em>foo _bar</em> baz_</p>\n"
|
13236 | },
|
13237 | {
|
13238 | "title": "cmark_spec_0.30: Emphasis and strong emphasis - example 469",
|
13239 | "mdast": {
|
13240 | "type": "root",
|
13241 | "children": [
|
13242 | {
|
13243 | "type": "paragraph",
|
13244 | "children": [
|
13245 | {
|
13246 | "type": "emphasis",
|
13247 | "children": [
|
13248 | {
|
13249 | "type": "text",
|
13250 | "value": "foo "
|
13251 | },
|
13252 | {
|
13253 | "type": "strong",
|
13254 | "children": [
|
13255 | {
|
13256 | "type": "text",
|
13257 | "value": "bar *baz bim"
|
13258 | }
|
13259 | ]
|
13260 | },
|
13261 | {
|
13262 | "type": "text",
|
13263 | "value": " bam"
|
13264 | }
|
13265 | ]
|
13266 | }
|
13267 | ]
|
13268 | }
|
13269 | ]
|
13270 | },
|
13271 | "myst": "*foo __bar *baz bim__ bam*\n",
|
13272 | "html": "<p><em>foo <strong>bar *baz bim</strong> bam</em></p>\n"
|
13273 | },
|
13274 | {
|
13275 | "title": "cmark_spec_0.30: Emphasis and strong emphasis - example 470",
|
13276 | "mdast": {
|
13277 | "type": "root",
|
13278 | "children": [
|
13279 | {
|
13280 | "type": "paragraph",
|
13281 | "children": [
|
13282 | {
|
13283 | "type": "text",
|
13284 | "value": "**foo "
|
13285 | },
|
13286 | {
|
13287 | "type": "strong",
|
13288 | "children": [
|
13289 | {
|
13290 | "type": "text",
|
13291 | "value": "bar baz"
|
13292 | }
|
13293 | ]
|
13294 | }
|
13295 | ]
|
13296 | }
|
13297 | ]
|
13298 | },
|
13299 | "myst": "**foo **bar baz**\n",
|
13300 | "html": "<p>**foo <strong>bar baz</strong></p>\n"
|
13301 | },
|
13302 | {
|
13303 | "title": "cmark_spec_0.30: Emphasis and strong emphasis - example 471",
|
13304 | "mdast": {
|
13305 | "type": "root",
|
13306 | "children": [
|
13307 | {
|
13308 | "type": "paragraph",
|
13309 | "children": [
|
13310 | {
|
13311 | "type": "text",
|
13312 | "value": "*foo "
|
13313 | },
|
13314 | {
|
13315 | "type": "emphasis",
|
13316 | "children": [
|
13317 | {
|
13318 | "type": "text",
|
13319 | "value": "bar baz"
|
13320 | }
|
13321 | ]
|
13322 | }
|
13323 | ]
|
13324 | }
|
13325 | ]
|
13326 | },
|
13327 | "myst": "*foo *bar baz*\n",
|
13328 | "html": "<p>*foo <em>bar baz</em></p>\n"
|
13329 | },
|
13330 | {
|
13331 | "title": "cmark_spec_0.30: Emphasis and strong emphasis - example 472",
|
13332 | "mdast": {
|
13333 | "type": "root",
|
13334 | "children": [
|
13335 | {
|
13336 | "type": "paragraph",
|
13337 | "children": [
|
13338 | {
|
13339 | "type": "text",
|
13340 | "value": "*"
|
13341 | },
|
13342 | {
|
13343 | "type": "link",
|
13344 | "url": "/url",
|
13345 | "children": [
|
13346 | {
|
13347 | "type": "text",
|
13348 | "value": "bar*"
|
13349 | }
|
13350 | ]
|
13351 | }
|
13352 | ]
|
13353 | }
|
13354 | ]
|
13355 | },
|
13356 | "myst": "*[bar*](/url)\n",
|
13357 | "html": "<p>*<a href=\"/url\">bar*</a></p>\n"
|
13358 | },
|
13359 | {
|
13360 | "title": "cmark_spec_0.30: Emphasis and strong emphasis - example 473",
|
13361 | "mdast": {
|
13362 | "type": "root",
|
13363 | "children": [
|
13364 | {
|
13365 | "type": "paragraph",
|
13366 | "children": [
|
13367 | {
|
13368 | "type": "text",
|
13369 | "value": "_foo "
|
13370 | },
|
13371 | {
|
13372 | "type": "link",
|
13373 | "url": "/url",
|
13374 | "children": [
|
13375 | {
|
13376 | "type": "text",
|
13377 | "value": "bar_"
|
13378 | }
|
13379 | ]
|
13380 | }
|
13381 | ]
|
13382 | }
|
13383 | ]
|
13384 | },
|
13385 | "myst": "_foo [bar_](/url)\n",
|
13386 | "html": "<p>_foo <a href=\"/url\">bar_</a></p>\n"
|
13387 | },
|
13388 | {
|
13389 | "title": "cmark_spec_0.30: Emphasis and strong emphasis - example 474",
|
13390 | "mdast": {
|
13391 | "type": "root",
|
13392 | "children": [
|
13393 | {
|
13394 | "type": "paragraph",
|
13395 | "children": [
|
13396 | {
|
13397 | "type": "text",
|
13398 | "value": "*"
|
13399 | },
|
13400 | {
|
13401 | "type": "html",
|
13402 | "value": "<img src=\"foo\" title=\"*\"/>"
|
13403 | }
|
13404 | ]
|
13405 | }
|
13406 | ]
|
13407 | },
|
13408 | "myst": "*<img src=\"foo\" title=\"*\"/>\n",
|
13409 | "html": "<p>*<img src=\"foo\" title=\"*\"/></p>\n"
|
13410 | },
|
13411 | {
|
13412 | "title": "cmark_spec_0.30: Emphasis and strong emphasis - example 475",
|
13413 | "mdast": {
|
13414 | "type": "root",
|
13415 | "children": [
|
13416 | {
|
13417 | "type": "paragraph",
|
13418 | "children": [
|
13419 | {
|
13420 | "type": "text",
|
13421 | "value": "**"
|
13422 | },
|
13423 | {
|
13424 | "type": "html",
|
13425 | "value": "<a href=\"**\">"
|
13426 | }
|
13427 | ]
|
13428 | }
|
13429 | ]
|
13430 | },
|
13431 | "myst": "**<a href=\"**\">\n",
|
13432 | "html": "<p>**<a href=\"**\"></p>\n"
|
13433 | },
|
13434 | {
|
13435 | "title": "cmark_spec_0.30: Emphasis and strong emphasis - example 476",
|
13436 | "mdast": {
|
13437 | "type": "root",
|
13438 | "children": [
|
13439 | {
|
13440 | "type": "paragraph",
|
13441 | "children": [
|
13442 | {
|
13443 | "type": "text",
|
13444 | "value": "__"
|
13445 | },
|
13446 | {
|
13447 | "type": "html",
|
13448 | "value": "<a href=\"__\">"
|
13449 | }
|
13450 | ]
|
13451 | }
|
13452 | ]
|
13453 | },
|
13454 | "myst": "__<a href=\"__\">\n",
|
13455 | "html": "<p>__<a href=\"__\"></p>\n"
|
13456 | },
|
13457 | {
|
13458 | "title": "cmark_spec_0.30: Emphasis and strong emphasis - example 477",
|
13459 | "mdast": {
|
13460 | "type": "root",
|
13461 | "children": [
|
13462 | {
|
13463 | "type": "paragraph",
|
13464 | "children": [
|
13465 | {
|
13466 | "type": "emphasis",
|
13467 | "children": [
|
13468 | {
|
13469 | "type": "text",
|
13470 | "value": "a "
|
13471 | },
|
13472 | {
|
13473 | "type": "inlineCode",
|
13474 | "value": "*"
|
13475 | }
|
13476 | ]
|
13477 | }
|
13478 | ]
|
13479 | }
|
13480 | ]
|
13481 | },
|
13482 | "myst": "*a `*`*\n",
|
13483 | "html": "<p><em>a <code>*</code></em></p>\n"
|
13484 | },
|
13485 | {
|
13486 | "title": "cmark_spec_0.30: Emphasis and strong emphasis - example 478",
|
13487 | "mdast": {
|
13488 | "type": "root",
|
13489 | "children": [
|
13490 | {
|
13491 | "type": "paragraph",
|
13492 | "children": [
|
13493 | {
|
13494 | "type": "emphasis",
|
13495 | "children": [
|
13496 | {
|
13497 | "type": "text",
|
13498 | "value": "a "
|
13499 | },
|
13500 | {
|
13501 | "type": "inlineCode",
|
13502 | "value": "_"
|
13503 | }
|
13504 | ]
|
13505 | }
|
13506 | ]
|
13507 | }
|
13508 | ]
|
13509 | },
|
13510 | "myst": "_a `_`_\n",
|
13511 | "html": "<p><em>a <code>_</code></em></p>\n"
|
13512 | },
|
13513 | {
|
13514 | "title": "cmark_spec_0.30: Emphasis and strong emphasis - example 479",
|
13515 | "mdast": {
|
13516 | "type": "root",
|
13517 | "children": [
|
13518 | {
|
13519 | "type": "paragraph",
|
13520 | "children": [
|
13521 | {
|
13522 | "type": "text",
|
13523 | "value": "**a"
|
13524 | },
|
13525 | {
|
13526 | "type": "link",
|
13527 | "url": "http://foo.bar/?q=**",
|
13528 | "children": [
|
13529 | {
|
13530 | "type": "text",
|
13531 | "value": "http://foo.bar/?q=**"
|
13532 | }
|
13533 | ]
|
13534 | }
|
13535 | ]
|
13536 | }
|
13537 | ]
|
13538 | },
|
13539 | "myst": "**a<http://foo.bar/?q=**>\n",
|
13540 | "html": "<p>**a<a href=\"http://foo.bar/?q=**\">http://foo.bar/?q=**</a></p>\n"
|
13541 | },
|
13542 | {
|
13543 | "title": "cmark_spec_0.30: Emphasis and strong emphasis - example 480",
|
13544 | "mdast": {
|
13545 | "type": "root",
|
13546 | "children": [
|
13547 | {
|
13548 | "type": "paragraph",
|
13549 | "children": [
|
13550 | {
|
13551 | "type": "text",
|
13552 | "value": "__a"
|
13553 | },
|
13554 | {
|
13555 | "type": "link",
|
13556 | "url": "http://foo.bar/?q=__",
|
13557 | "children": [
|
13558 | {
|
13559 | "type": "text",
|
13560 | "value": "http://foo.bar/?q=__"
|
13561 | }
|
13562 | ]
|
13563 | }
|
13564 | ]
|
13565 | }
|
13566 | ]
|
13567 | },
|
13568 | "myst": "__a<http://foo.bar/?q=__>\n",
|
13569 | "html": "<p>__a<a href=\"http://foo.bar/?q=__\">http://foo.bar/?q=__</a></p>\n"
|
13570 | },
|
13571 | {
|
13572 | "title": "cmark_spec_0.30: Links - example 481",
|
13573 | "mdast": {
|
13574 | "type": "root",
|
13575 | "children": [
|
13576 | {
|
13577 | "type": "paragraph",
|
13578 | "children": [
|
13579 | {
|
13580 | "type": "link",
|
13581 | "url": "/uri",
|
13582 | "title": "title",
|
13583 | "children": [
|
13584 | {
|
13585 | "type": "text",
|
13586 | "value": "link"
|
13587 | }
|
13588 | ]
|
13589 | }
|
13590 | ]
|
13591 | }
|
13592 | ]
|
13593 | },
|
13594 | "myst": "[link](/uri \"title\")\n",
|
13595 | "html": "<p><a href=\"/uri\" title=\"title\">link</a></p>\n"
|
13596 | },
|
13597 | {
|
13598 | "title": "cmark_spec_0.30: Links - example 482",
|
13599 | "mdast": {
|
13600 | "type": "root",
|
13601 | "children": [
|
13602 | {
|
13603 | "type": "paragraph",
|
13604 | "children": [
|
13605 | {
|
13606 | "type": "link",
|
13607 | "url": "/uri",
|
13608 | "children": [
|
13609 | {
|
13610 | "type": "text",
|
13611 | "value": "link"
|
13612 | }
|
13613 | ]
|
13614 | }
|
13615 | ]
|
13616 | }
|
13617 | ]
|
13618 | },
|
13619 | "myst": "[link](/uri)\n",
|
13620 | "html": "<p><a href=\"/uri\">link</a></p>\n"
|
13621 | },
|
13622 | {
|
13623 | "title": "cmark_spec_0.30: Links - example 483",
|
13624 | "mdast": {
|
13625 | "type": "root",
|
13626 | "children": [
|
13627 | {
|
13628 | "type": "paragraph",
|
13629 | "children": [
|
13630 | {
|
13631 | "type": "link",
|
13632 | "url": "./target.md",
|
13633 | "children": []
|
13634 | }
|
13635 | ]
|
13636 | }
|
13637 | ]
|
13638 | },
|
13639 | "myst": "[](./target.md)\n",
|
13640 | "html": "<p><a href=\"./target.md\"></a></p>\n"
|
13641 | },
|
13642 | {
|
13643 | "title": "cmark_spec_0.30: Links - example 484",
|
13644 | "mdast": {
|
13645 | "type": "root",
|
13646 | "children": [
|
13647 | {
|
13648 | "type": "paragraph",
|
13649 | "children": [
|
13650 | {
|
13651 | "type": "link",
|
13652 | "url": "",
|
13653 | "children": [
|
13654 | {
|
13655 | "type": "text",
|
13656 | "value": "link"
|
13657 | }
|
13658 | ]
|
13659 | }
|
13660 | ]
|
13661 | }
|
13662 | ]
|
13663 | },
|
13664 | "myst": "[link]()\n",
|
13665 | "html": "<p><a href=\"\">link</a></p>\n"
|
13666 | },
|
13667 | {
|
13668 | "title": "cmark_spec_0.30: Links - example 485",
|
13669 | "mdast": {
|
13670 | "type": "root",
|
13671 | "children": [
|
13672 | {
|
13673 | "type": "paragraph",
|
13674 | "children": [
|
13675 | {
|
13676 | "type": "link",
|
13677 | "url": "",
|
13678 | "children": [
|
13679 | {
|
13680 | "type": "text",
|
13681 | "value": "link"
|
13682 | }
|
13683 | ]
|
13684 | }
|
13685 | ]
|
13686 | }
|
13687 | ]
|
13688 | },
|
13689 | "myst": "[link](<>)\n",
|
13690 | "html": "<p><a href=\"\">link</a></p>\n"
|
13691 | },
|
13692 | {
|
13693 | "title": "cmark_spec_0.30: Links - example 486",
|
13694 | "mdast": {
|
13695 | "type": "root",
|
13696 | "children": [
|
13697 | {
|
13698 | "type": "paragraph",
|
13699 | "children": [
|
13700 | {
|
13701 | "type": "link",
|
13702 | "url": "",
|
13703 | "children": []
|
13704 | }
|
13705 | ]
|
13706 | }
|
13707 | ]
|
13708 | },
|
13709 | "myst": "[]()\n",
|
13710 | "html": "<p><a href=\"\"></a></p>\n"
|
13711 | },
|
13712 | {
|
13713 | "title": "cmark_spec_0.30: Links - example 487",
|
13714 | "mdast": {
|
13715 | "type": "root",
|
13716 | "children": [
|
13717 | {
|
13718 | "type": "paragraph",
|
13719 | "children": [
|
13720 | {
|
13721 | "type": "text",
|
13722 | "value": "[link](/my uri)"
|
13723 | }
|
13724 | ]
|
13725 | }
|
13726 | ]
|
13727 | },
|
13728 | "myst": "[link](/my uri)\n",
|
13729 | "html": "<p>[link](/my uri)</p>\n"
|
13730 | },
|
13731 | {
|
13732 | "title": "cmark_spec_0.30: Links - example 488",
|
13733 | "mdast": {
|
13734 | "type": "root",
|
13735 | "children": [
|
13736 | {
|
13737 | "type": "paragraph",
|
13738 | "children": [
|
13739 | {
|
13740 | "type": "link",
|
13741 | "url": "/my%20uri",
|
13742 | "children": [
|
13743 | {
|
13744 | "type": "text",
|
13745 | "value": "link"
|
13746 | }
|
13747 | ]
|
13748 | }
|
13749 | ]
|
13750 | }
|
13751 | ]
|
13752 | },
|
13753 | "myst": "[link](</my uri>)\n",
|
13754 | "html": "<p><a href=\"/my%20uri\">link</a></p>\n"
|
13755 | },
|
13756 | {
|
13757 | "title": "cmark_spec_0.30: Links - example 489",
|
13758 | "mdast": {
|
13759 | "type": "root",
|
13760 | "children": [
|
13761 | {
|
13762 | "type": "paragraph",
|
13763 | "children": [
|
13764 | {
|
13765 | "type": "text",
|
13766 | "value": "[link](foo\nbar)"
|
13767 | }
|
13768 | ]
|
13769 | }
|
13770 | ]
|
13771 | },
|
13772 | "myst": "[link](foo\nbar)\n",
|
13773 | "html": "<p>[link](foo\nbar)</p>\n"
|
13774 | },
|
13775 | {
|
13776 | "title": "cmark_spec_0.30: Links - example 490",
|
13777 | "mdast": {
|
13778 | "type": "root",
|
13779 | "children": [
|
13780 | {
|
13781 | "type": "paragraph",
|
13782 | "children": [
|
13783 | {
|
13784 | "type": "text",
|
13785 | "value": "[link]("
|
13786 | },
|
13787 | {
|
13788 | "type": "html",
|
13789 | "value": "<foo\nbar>"
|
13790 | },
|
13791 | {
|
13792 | "type": "text",
|
13793 | "value": ")"
|
13794 | }
|
13795 | ]
|
13796 | }
|
13797 | ]
|
13798 | },
|
13799 | "myst": "[link](<foo\nbar>)\n",
|
13800 | "html": "<p>[link](<foo\nbar>)</p>\n"
|
13801 | },
|
13802 | {
|
13803 | "title": "cmark_spec_0.30: Links - example 491",
|
13804 | "mdast": {
|
13805 | "type": "root",
|
13806 | "children": [
|
13807 | {
|
13808 | "type": "paragraph",
|
13809 | "children": [
|
13810 | {
|
13811 | "type": "link",
|
13812 | "url": "b)c",
|
13813 | "children": [
|
13814 | {
|
13815 | "type": "text",
|
13816 | "value": "a"
|
13817 | }
|
13818 | ]
|
13819 | }
|
13820 | ]
|
13821 | }
|
13822 | ]
|
13823 | },
|
13824 | "myst": "[a](<b)c>)\n",
|
13825 | "html": "<p><a href=\"b)c\">a</a></p>\n"
|
13826 | },
|
13827 | {
|
13828 | "title": "cmark_spec_0.30: Links - example 492",
|
13829 | "mdast": {
|
13830 | "type": "root",
|
13831 | "children": [
|
13832 | {
|
13833 | "type": "paragraph",
|
13834 | "children": [
|
13835 | {
|
13836 | "type": "text",
|
13837 | "value": "[link](<foo>)"
|
13838 | }
|
13839 | ]
|
13840 | }
|
13841 | ]
|
13842 | },
|
13843 | "myst": "[link](<foo\\>)\n",
|
13844 | "html": "<p>[link](<foo>)</p>\n"
|
13845 | },
|
13846 | {
|
13847 | "title": "cmark_spec_0.30: Links - example 493",
|
13848 | "mdast": {
|
13849 | "type": "root",
|
13850 | "children": [
|
13851 | {
|
13852 | "type": "paragraph",
|
13853 | "children": [
|
13854 | {
|
13855 | "type": "text",
|
13856 | "value": "[a](<b)c\n[a](<b)c>\n[a]("
|
13857 | },
|
13858 | {
|
13859 | "type": "html",
|
13860 | "value": "<b>"
|
13861 | },
|
13862 | {
|
13863 | "type": "text",
|
13864 | "value": "c)"
|
13865 | }
|
13866 | ]
|
13867 | }
|
13868 | ]
|
13869 | },
|
13870 | "myst": "[a](<b)c\n[a](<b)c>\n[a](<b>c)\n",
|
13871 | "html": "<p>[a](<b)c\n[a](<b)c>\n[a](<b>c)</p>\n"
|
13872 | },
|
13873 | {
|
13874 | "title": "cmark_spec_0.30: Links - example 494",
|
13875 | "mdast": {
|
13876 | "type": "root",
|
13877 | "children": [
|
13878 | {
|
13879 | "type": "paragraph",
|
13880 | "children": [
|
13881 | {
|
13882 | "type": "link",
|
13883 | "url": "(foo)",
|
13884 | "children": [
|
13885 | {
|
13886 | "type": "text",
|
13887 | "value": "link"
|
13888 | }
|
13889 | ]
|
13890 | }
|
13891 | ]
|
13892 | }
|
13893 | ]
|
13894 | },
|
13895 | "myst": "[link](\\(foo\\))\n",
|
13896 | "html": "<p><a href=\"(foo)\">link</a></p>\n"
|
13897 | },
|
13898 | {
|
13899 | "title": "cmark_spec_0.30: Links - example 495",
|
13900 | "mdast": {
|
13901 | "type": "root",
|
13902 | "children": [
|
13903 | {
|
13904 | "type": "paragraph",
|
13905 | "children": [
|
13906 | {
|
13907 | "type": "link",
|
13908 | "url": "foo(and(bar))",
|
13909 | "children": [
|
13910 | {
|
13911 | "type": "text",
|
13912 | "value": "link"
|
13913 | }
|
13914 | ]
|
13915 | }
|
13916 | ]
|
13917 | }
|
13918 | ]
|
13919 | },
|
13920 | "myst": "[link](foo(and(bar)))\n",
|
13921 | "html": "<p><a href=\"foo(and(bar))\">link</a></p>\n"
|
13922 | },
|
13923 | {
|
13924 | "title": "cmark_spec_0.30: Links - example 496",
|
13925 | "mdast": {
|
13926 | "type": "root",
|
13927 | "children": [
|
13928 | {
|
13929 | "type": "paragraph",
|
13930 | "children": [
|
13931 | {
|
13932 | "type": "text",
|
13933 | "value": "[link](foo(and(bar))"
|
13934 | }
|
13935 | ]
|
13936 | }
|
13937 | ]
|
13938 | },
|
13939 | "myst": "[link](foo(and(bar))\n",
|
13940 | "html": "<p>[link](foo(and(bar))</p>\n"
|
13941 | },
|
13942 | {
|
13943 | "title": "cmark_spec_0.30: Links - example 497",
|
13944 | "mdast": {
|
13945 | "type": "root",
|
13946 | "children": [
|
13947 | {
|
13948 | "type": "paragraph",
|
13949 | "children": [
|
13950 | {
|
13951 | "type": "link",
|
13952 | "url": "foo(and(bar)",
|
13953 | "children": [
|
13954 | {
|
13955 | "type": "text",
|
13956 | "value": "link"
|
13957 | }
|
13958 | ]
|
13959 | }
|
13960 | ]
|
13961 | }
|
13962 | ]
|
13963 | },
|
13964 | "myst": "[link](foo\\(and\\(bar\\))\n",
|
13965 | "html": "<p><a href=\"foo(and(bar)\">link</a></p>\n"
|
13966 | },
|
13967 | {
|
13968 | "title": "cmark_spec_0.30: Links - example 498",
|
13969 | "mdast": {
|
13970 | "type": "root",
|
13971 | "children": [
|
13972 | {
|
13973 | "type": "paragraph",
|
13974 | "children": [
|
13975 | {
|
13976 | "type": "link",
|
13977 | "url": "foo(and(bar)",
|
13978 | "children": [
|
13979 | {
|
13980 | "type": "text",
|
13981 | "value": "link"
|
13982 | }
|
13983 | ]
|
13984 | }
|
13985 | ]
|
13986 | }
|
13987 | ]
|
13988 | },
|
13989 | "myst": "[link](<foo(and(bar)>)\n",
|
13990 | "html": "<p><a href=\"foo(and(bar)\">link</a></p>\n"
|
13991 | },
|
13992 | {
|
13993 | "title": "cmark_spec_0.30: Links - example 499",
|
13994 | "mdast": {
|
13995 | "type": "root",
|
13996 | "children": [
|
13997 | {
|
13998 | "type": "paragraph",
|
13999 | "children": [
|
14000 | {
|
14001 | "type": "link",
|
14002 | "url": "foo):",
|
14003 | "children": [
|
14004 | {
|
14005 | "type": "text",
|
14006 | "value": "link"
|
14007 | }
|
14008 | ]
|
14009 | }
|
14010 | ]
|
14011 | }
|
14012 | ]
|
14013 | },
|
14014 | "myst": "[link](foo\\)\\:)\n",
|
14015 | "html": "<p><a href=\"foo):\">link</a></p>\n"
|
14016 | },
|
14017 | {
|
14018 | "title": "cmark_spec_0.30: Links - example 500",
|
14019 | "mdast": {
|
14020 | "type": "root",
|
14021 | "children": [
|
14022 | {
|
14023 | "type": "paragraph",
|
14024 | "children": [
|
14025 | {
|
14026 | "type": "link",
|
14027 | "url": "#fragment",
|
14028 | "children": [
|
14029 | {
|
14030 | "type": "text",
|
14031 | "value": "link"
|
14032 | }
|
14033 | ]
|
14034 | }
|
14035 | ]
|
14036 | },
|
14037 | {
|
14038 | "type": "paragraph",
|
14039 | "children": [
|
14040 | {
|
14041 | "type": "link",
|
14042 | "url": "http://example.com#fragment",
|
14043 | "children": [
|
14044 | {
|
14045 | "type": "text",
|
14046 | "value": "link"
|
14047 | }
|
14048 | ]
|
14049 | }
|
14050 | ]
|
14051 | },
|
14052 | {
|
14053 | "type": "paragraph",
|
14054 | "children": [
|
14055 | {
|
14056 | "type": "link",
|
14057 | "url": "http://example.com?foo=3#frag",
|
14058 | "children": [
|
14059 | {
|
14060 | "type": "text",
|
14061 | "value": "link"
|
14062 | }
|
14063 | ]
|
14064 | }
|
14065 | ]
|
14066 | }
|
14067 | ]
|
14068 | },
|
14069 | "myst": "[link](#fragment)\n\n[link](http://example.com#fragment)\n\n[link](http://example.com?foo=3#frag)\n",
|
14070 | "html": "<p><a href=\"#fragment\">link</a></p>\n<p><a href=\"http://example.com#fragment\">link</a></p>\n<p><a href=\"http://example.com?foo=3#frag\">link</a></p>\n"
|
14071 | },
|
14072 | {
|
14073 | "title": "cmark_spec_0.30: Links - example 501",
|
14074 | "mdast": {
|
14075 | "type": "root",
|
14076 | "children": [
|
14077 | {
|
14078 | "type": "paragraph",
|
14079 | "children": [
|
14080 | {
|
14081 | "type": "link",
|
14082 | "url": "foo%5Cbar",
|
14083 | "children": [
|
14084 | {
|
14085 | "type": "text",
|
14086 | "value": "link"
|
14087 | }
|
14088 | ]
|
14089 | }
|
14090 | ]
|
14091 | }
|
14092 | ]
|
14093 | },
|
14094 | "myst": "[link](foo\\bar)\n",
|
14095 | "html": "<p><a href=\"foo%5Cbar\">link</a></p>\n"
|
14096 | },
|
14097 | {
|
14098 | "title": "cmark_spec_0.30: Links - example 502",
|
14099 | "mdast": {
|
14100 | "type": "root",
|
14101 | "children": [
|
14102 | {
|
14103 | "type": "paragraph",
|
14104 | "children": [
|
14105 | {
|
14106 | "type": "link",
|
14107 | "url": "foo%20b%C3%A4",
|
14108 | "children": [
|
14109 | {
|
14110 | "type": "text",
|
14111 | "value": "link"
|
14112 | }
|
14113 | ]
|
14114 | }
|
14115 | ]
|
14116 | }
|
14117 | ]
|
14118 | },
|
14119 | "myst": "[link](foo%20bä)\n",
|
14120 | "html": "<p><a href=\"foo%20b%C3%A4\">link</a></p>\n"
|
14121 | },
|
14122 | {
|
14123 | "title": "cmark_spec_0.30: Links - example 503",
|
14124 | "mdast": {
|
14125 | "type": "root",
|
14126 | "children": [
|
14127 | {
|
14128 | "type": "paragraph",
|
14129 | "children": [
|
14130 | {
|
14131 | "type": "link",
|
14132 | "url": "%22title%22",
|
14133 | "children": [
|
14134 | {
|
14135 | "type": "text",
|
14136 | "value": "link"
|
14137 | }
|
14138 | ]
|
14139 | }
|
14140 | ]
|
14141 | }
|
14142 | ]
|
14143 | },
|
14144 | "myst": "[link](\"title\")\n",
|
14145 | "html": "<p><a href=\"%22title%22\">link</a></p>\n"
|
14146 | },
|
14147 | {
|
14148 | "title": "cmark_spec_0.30: Links - example 504",
|
14149 | "mdast": {
|
14150 | "type": "root",
|
14151 | "children": [
|
14152 | {
|
14153 | "type": "paragraph",
|
14154 | "children": [
|
14155 | {
|
14156 | "type": "link",
|
14157 | "url": "/url",
|
14158 | "title": "title",
|
14159 | "children": [
|
14160 | {
|
14161 | "type": "text",
|
14162 | "value": "link"
|
14163 | }
|
14164 | ]
|
14165 | },
|
14166 | {
|
14167 | "type": "text",
|
14168 | "value": "\n"
|
14169 | },
|
14170 | {
|
14171 | "type": "link",
|
14172 | "url": "/url",
|
14173 | "title": "title",
|
14174 | "children": [
|
14175 | {
|
14176 | "type": "text",
|
14177 | "value": "link"
|
14178 | }
|
14179 | ]
|
14180 | },
|
14181 | {
|
14182 | "type": "text",
|
14183 | "value": "\n"
|
14184 | },
|
14185 | {
|
14186 | "type": "link",
|
14187 | "url": "/url",
|
14188 | "title": "title",
|
14189 | "children": [
|
14190 | {
|
14191 | "type": "text",
|
14192 | "value": "link"
|
14193 | }
|
14194 | ]
|
14195 | }
|
14196 | ]
|
14197 | }
|
14198 | ]
|
14199 | },
|
14200 | "myst": "[link](/url \"title\")\n[link](/url 'title')\n[link](/url (title))\n",
|
14201 | "html": "<p><a href=\"/url\" title=\"title\">link</a>\n<a href=\"/url\" title=\"title\">link</a>\n<a href=\"/url\" title=\"title\">link</a></p>\n"
|
14202 | },
|
14203 | {
|
14204 | "title": "cmark_spec_0.30: Links - example 505",
|
14205 | "mdast": {
|
14206 | "type": "root",
|
14207 | "children": [
|
14208 | {
|
14209 | "type": "paragraph",
|
14210 | "children": [
|
14211 | {
|
14212 | "type": "link",
|
14213 | "url": "/url",
|
14214 | "title": "title \"\"",
|
14215 | "children": [
|
14216 | {
|
14217 | "type": "text",
|
14218 | "value": "link"
|
14219 | }
|
14220 | ]
|
14221 | }
|
14222 | ]
|
14223 | }
|
14224 | ]
|
14225 | },
|
14226 | "myst": "[link](/url \"title \\\""\")\n",
|
14227 | "html": "<p><a href=\"/url\" title=\"title ""\">link</a></p>\n"
|
14228 | },
|
14229 | {
|
14230 | "title": "cmark_spec_0.30: Links - example 506",
|
14231 | "mdast": {
|
14232 | "type": "root",
|
14233 | "children": [
|
14234 | {
|
14235 | "type": "paragraph",
|
14236 | "children": [
|
14237 | {
|
14238 | "type": "link",
|
14239 | "url": "/url \"title\"",
|
14240 | "children": [
|
14241 | {
|
14242 | "type": "text",
|
14243 | "value": "link"
|
14244 | }
|
14245 | ]
|
14246 | }
|
14247 | ]
|
14248 | }
|
14249 | ]
|
14250 | },
|
14251 | "myst": "[link](/url \"title\")\n",
|
14252 | "html": "<p><a href=\"/url%C2%A0%22title%22\">link</a></p>\n"
|
14253 | },
|
14254 | {
|
14255 | "title": "cmark_spec_0.30: Links - example 507",
|
14256 | "mdast": {
|
14257 | "type": "root",
|
14258 | "children": [
|
14259 | {
|
14260 | "type": "paragraph",
|
14261 | "children": [
|
14262 | {
|
14263 | "type": "text",
|
14264 | "value": "[link](/url \"title \"and\" title\")"
|
14265 | }
|
14266 | ]
|
14267 | }
|
14268 | ]
|
14269 | },
|
14270 | "myst": "[link](/url \"title \"and\" title\")\n",
|
14271 | "html": "<p>[link](/url "title "and" title")</p>\n"
|
14272 | },
|
14273 | {
|
14274 | "title": "cmark_spec_0.30: Links - example 508",
|
14275 | "mdast": {
|
14276 | "type": "root",
|
14277 | "children": [
|
14278 | {
|
14279 | "type": "paragraph",
|
14280 | "children": [
|
14281 | {
|
14282 | "type": "link",
|
14283 | "url": "/url",
|
14284 | "title": "title \"and\" title",
|
14285 | "children": [
|
14286 | {
|
14287 | "type": "text",
|
14288 | "value": "link"
|
14289 | }
|
14290 | ]
|
14291 | }
|
14292 | ]
|
14293 | }
|
14294 | ]
|
14295 | },
|
14296 | "myst": "[link](/url 'title \"and\" title')\n",
|
14297 | "html": "<p><a href=\"/url\" title=\"title "and" title\">link</a></p>\n"
|
14298 | },
|
14299 | {
|
14300 | "title": "cmark_spec_0.30: Links - example 509",
|
14301 | "mdast": {
|
14302 | "type": "root",
|
14303 | "children": [
|
14304 | {
|
14305 | "type": "paragraph",
|
14306 | "children": [
|
14307 | {
|
14308 | "type": "link",
|
14309 | "url": "/uri",
|
14310 | "title": "title",
|
14311 | "children": [
|
14312 | {
|
14313 | "type": "text",
|
14314 | "value": "link"
|
14315 | }
|
14316 | ]
|
14317 | }
|
14318 | ]
|
14319 | }
|
14320 | ]
|
14321 | },
|
14322 | "myst": "[link]( /uri\n \"title\" )\n",
|
14323 | "html": "<p><a href=\"/uri\" title=\"title\">link</a></p>\n"
|
14324 | },
|
14325 | {
|
14326 | "title": "cmark_spec_0.30: Links - example 510",
|
14327 | "mdast": {
|
14328 | "type": "root",
|
14329 | "children": [
|
14330 | {
|
14331 | "type": "paragraph",
|
14332 | "children": [
|
14333 | {
|
14334 | "type": "text",
|
14335 | "value": "[link] (/uri)"
|
14336 | }
|
14337 | ]
|
14338 | }
|
14339 | ]
|
14340 | },
|
14341 | "myst": "[link] (/uri)\n",
|
14342 | "html": "<p>[link] (/uri)</p>\n"
|
14343 | },
|
14344 | {
|
14345 | "title": "cmark_spec_0.30: Links - example 511",
|
14346 | "mdast": {
|
14347 | "type": "root",
|
14348 | "children": [
|
14349 | {
|
14350 | "type": "paragraph",
|
14351 | "children": [
|
14352 | {
|
14353 | "type": "link",
|
14354 | "url": "/uri",
|
14355 | "children": [
|
14356 | {
|
14357 | "type": "text",
|
14358 | "value": "link [foo [bar]]"
|
14359 | }
|
14360 | ]
|
14361 | }
|
14362 | ]
|
14363 | }
|
14364 | ]
|
14365 | },
|
14366 | "myst": "[link [foo [bar]]](/uri)\n",
|
14367 | "html": "<p><a href=\"/uri\">link [foo [bar]]</a></p>\n"
|
14368 | },
|
14369 | {
|
14370 | "title": "cmark_spec_0.30: Links - example 512",
|
14371 | "mdast": {
|
14372 | "type": "root",
|
14373 | "children": [
|
14374 | {
|
14375 | "type": "paragraph",
|
14376 | "children": [
|
14377 | {
|
14378 | "type": "text",
|
14379 | "value": "[link] bar](/uri)"
|
14380 | }
|
14381 | ]
|
14382 | }
|
14383 | ]
|
14384 | },
|
14385 | "myst": "[link] bar](/uri)\n",
|
14386 | "html": "<p>[link] bar](/uri)</p>\n"
|
14387 | },
|
14388 | {
|
14389 | "title": "cmark_spec_0.30: Links - example 513",
|
14390 | "mdast": {
|
14391 | "type": "root",
|
14392 | "children": [
|
14393 | {
|
14394 | "type": "paragraph",
|
14395 | "children": [
|
14396 | {
|
14397 | "type": "text",
|
14398 | "value": "[link "
|
14399 | },
|
14400 | {
|
14401 | "type": "link",
|
14402 | "url": "/uri",
|
14403 | "children": [
|
14404 | {
|
14405 | "type": "text",
|
14406 | "value": "bar"
|
14407 | }
|
14408 | ]
|
14409 | }
|
14410 | ]
|
14411 | }
|
14412 | ]
|
14413 | },
|
14414 | "myst": "[link [bar](/uri)\n",
|
14415 | "html": "<p>[link <a href=\"/uri\">bar</a></p>\n"
|
14416 | },
|
14417 | {
|
14418 | "title": "cmark_spec_0.30: Links - example 514",
|
14419 | "mdast": {
|
14420 | "type": "root",
|
14421 | "children": [
|
14422 | {
|
14423 | "type": "paragraph",
|
14424 | "children": [
|
14425 | {
|
14426 | "type": "link",
|
14427 | "url": "/uri",
|
14428 | "children": [
|
14429 | {
|
14430 | "type": "text",
|
14431 | "value": "link [bar"
|
14432 | }
|
14433 | ]
|
14434 | }
|
14435 | ]
|
14436 | }
|
14437 | ]
|
14438 | },
|
14439 | "myst": "[link \\[bar](/uri)\n",
|
14440 | "html": "<p><a href=\"/uri\">link [bar</a></p>\n"
|
14441 | },
|
14442 | {
|
14443 | "title": "cmark_spec_0.30: Links - example 515",
|
14444 | "mdast": {
|
14445 | "type": "root",
|
14446 | "children": [
|
14447 | {
|
14448 | "type": "paragraph",
|
14449 | "children": [
|
14450 | {
|
14451 | "type": "link",
|
14452 | "url": "/uri",
|
14453 | "children": [
|
14454 | {
|
14455 | "type": "text",
|
14456 | "value": "link "
|
14457 | },
|
14458 | {
|
14459 | "type": "emphasis",
|
14460 | "children": [
|
14461 | {
|
14462 | "type": "text",
|
14463 | "value": "foo "
|
14464 | },
|
14465 | {
|
14466 | "type": "strong",
|
14467 | "children": [
|
14468 | {
|
14469 | "type": "text",
|
14470 | "value": "bar"
|
14471 | }
|
14472 | ]
|
14473 | },
|
14474 | {
|
14475 | "type": "text",
|
14476 | "value": " "
|
14477 | },
|
14478 | {
|
14479 | "type": "inlineCode",
|
14480 | "value": "#"
|
14481 | }
|
14482 | ]
|
14483 | }
|
14484 | ]
|
14485 | }
|
14486 | ]
|
14487 | }
|
14488 | ]
|
14489 | },
|
14490 | "myst": "[link *foo **bar** `#`*](/uri)\n",
|
14491 | "html": "<p><a href=\"/uri\">link <em>foo <strong>bar</strong> <code>#</code></em></a></p>\n"
|
14492 | },
|
14493 | {
|
14494 | "title": "cmark_spec_0.30: Links - example 516",
|
14495 | "mdast": {
|
14496 | "type": "root",
|
14497 | "children": [
|
14498 | {
|
14499 | "type": "paragraph",
|
14500 | "children": [
|
14501 | {
|
14502 | "type": "link",
|
14503 | "url": "/uri",
|
14504 | "children": [
|
14505 | {
|
14506 | "type": "image",
|
14507 | "url": "moon.jpg",
|
14508 | "alt": "moon"
|
14509 | }
|
14510 | ]
|
14511 | }
|
14512 | ]
|
14513 | }
|
14514 | ]
|
14515 | },
|
14516 | "myst": "[![moon](moon.jpg)](/uri)\n",
|
14517 | "html": "<p><a href=\"/uri\"><img src=\"moon.jpg\" alt=\"moon\" /></a></p>\n"
|
14518 | },
|
14519 | {
|
14520 | "title": "cmark_spec_0.30: Links - example 517",
|
14521 | "mdast": {
|
14522 | "type": "root",
|
14523 | "children": [
|
14524 | {
|
14525 | "type": "paragraph",
|
14526 | "children": [
|
14527 | {
|
14528 | "type": "text",
|
14529 | "value": "[foo "
|
14530 | },
|
14531 | {
|
14532 | "type": "link",
|
14533 | "url": "/uri",
|
14534 | "children": [
|
14535 | {
|
14536 | "type": "text",
|
14537 | "value": "bar"
|
14538 | }
|
14539 | ]
|
14540 | },
|
14541 | {
|
14542 | "type": "text",
|
14543 | "value": "](/uri)"
|
14544 | }
|
14545 | ]
|
14546 | }
|
14547 | ]
|
14548 | },
|
14549 | "myst": "[foo [bar](/uri)](/uri)\n",
|
14550 | "html": "<p>[foo <a href=\"/uri\">bar</a>](/uri)</p>\n"
|
14551 | },
|
14552 | {
|
14553 | "title": "cmark_spec_0.30: Links - example 518",
|
14554 | "mdast": {
|
14555 | "type": "root",
|
14556 | "children": [
|
14557 | {
|
14558 | "type": "paragraph",
|
14559 | "children": [
|
14560 | {
|
14561 | "type": "text",
|
14562 | "value": "[foo "
|
14563 | },
|
14564 | {
|
14565 | "type": "emphasis",
|
14566 | "children": [
|
14567 | {
|
14568 | "type": "text",
|
14569 | "value": "[bar "
|
14570 | },
|
14571 | {
|
14572 | "type": "link",
|
14573 | "url": "/uri",
|
14574 | "children": [
|
14575 | {
|
14576 | "type": "text",
|
14577 | "value": "baz"
|
14578 | }
|
14579 | ]
|
14580 | },
|
14581 | {
|
14582 | "type": "text",
|
14583 | "value": "](/uri)"
|
14584 | }
|
14585 | ]
|
14586 | },
|
14587 | {
|
14588 | "type": "text",
|
14589 | "value": "](/uri)"
|
14590 | }
|
14591 | ]
|
14592 | }
|
14593 | ]
|
14594 | },
|
14595 | "myst": "[foo *[bar [baz](/uri)](/uri)*](/uri)\n",
|
14596 | "html": "<p>[foo <em>[bar <a href=\"/uri\">baz</a>](/uri)</em>](/uri)</p>\n"
|
14597 | },
|
14598 | {
|
14599 | "title": "cmark_spec_0.30: Links - example 519",
|
14600 | "mdast": {
|
14601 | "type": "root",
|
14602 | "children": [
|
14603 | {
|
14604 | "type": "paragraph",
|
14605 | "children": [
|
14606 | {
|
14607 | "type": "image",
|
14608 | "url": "uri3",
|
14609 | "alt": "[foo](uri2)"
|
14610 | }
|
14611 | ]
|
14612 | }
|
14613 | ]
|
14614 | },
|
14615 | "myst": "![[[foo](uri1)](uri2)](uri3)\n",
|
14616 | "html": "<p><img src=\"uri3\" alt=\"[foo](uri2)\" /></p>\n"
|
14617 | },
|
14618 | {
|
14619 | "title": "cmark_spec_0.30: Links - example 520",
|
14620 | "mdast": {
|
14621 | "type": "root",
|
14622 | "children": [
|
14623 | {
|
14624 | "type": "paragraph",
|
14625 | "children": [
|
14626 | {
|
14627 | "type": "text",
|
14628 | "value": "*"
|
14629 | },
|
14630 | {
|
14631 | "type": "link",
|
14632 | "url": "/uri",
|
14633 | "children": [
|
14634 | {
|
14635 | "type": "text",
|
14636 | "value": "foo*"
|
14637 | }
|
14638 | ]
|
14639 | }
|
14640 | ]
|
14641 | }
|
14642 | ]
|
14643 | },
|
14644 | "myst": "*[foo*](/uri)\n",
|
14645 | "html": "<p>*<a href=\"/uri\">foo*</a></p>\n"
|
14646 | },
|
14647 | {
|
14648 | "title": "cmark_spec_0.30: Links - example 521",
|
14649 | "mdast": {
|
14650 | "type": "root",
|
14651 | "children": [
|
14652 | {
|
14653 | "type": "paragraph",
|
14654 | "children": [
|
14655 | {
|
14656 | "type": "link",
|
14657 | "url": "baz*",
|
14658 | "children": [
|
14659 | {
|
14660 | "type": "text",
|
14661 | "value": "foo *bar"
|
14662 | }
|
14663 | ]
|
14664 | }
|
14665 | ]
|
14666 | }
|
14667 | ]
|
14668 | },
|
14669 | "myst": "[foo *bar](baz*)\n",
|
14670 | "html": "<p><a href=\"baz*\">foo *bar</a></p>\n"
|
14671 | },
|
14672 | {
|
14673 | "title": "cmark_spec_0.30: Links - example 522",
|
14674 | "mdast": {
|
14675 | "type": "root",
|
14676 | "children": [
|
14677 | {
|
14678 | "type": "paragraph",
|
14679 | "children": [
|
14680 | {
|
14681 | "type": "emphasis",
|
14682 | "children": [
|
14683 | {
|
14684 | "type": "text",
|
14685 | "value": "foo [bar"
|
14686 | }
|
14687 | ]
|
14688 | },
|
14689 | {
|
14690 | "type": "text",
|
14691 | "value": " baz]"
|
14692 | }
|
14693 | ]
|
14694 | }
|
14695 | ]
|
14696 | },
|
14697 | "myst": "*foo [bar* baz]\n",
|
14698 | "html": "<p><em>foo [bar</em> baz]</p>\n"
|
14699 | },
|
14700 | {
|
14701 | "title": "cmark_spec_0.30: Links - example 523",
|
14702 | "mdast": {
|
14703 | "type": "root",
|
14704 | "children": [
|
14705 | {
|
14706 | "type": "paragraph",
|
14707 | "children": [
|
14708 | {
|
14709 | "type": "text",
|
14710 | "value": "[foo "
|
14711 | },
|
14712 | {
|
14713 | "type": "html",
|
14714 | "value": "<bar attr=\"](baz)\">"
|
14715 | }
|
14716 | ]
|
14717 | }
|
14718 | ]
|
14719 | },
|
14720 | "myst": "[foo <bar attr=\"](baz)\">\n",
|
14721 | "html": "<p>[foo <bar attr=\"](baz)\"></p>\n"
|
14722 | },
|
14723 | {
|
14724 | "title": "cmark_spec_0.30: Links - example 524",
|
14725 | "mdast": {
|
14726 | "type": "root",
|
14727 | "children": [
|
14728 | {
|
14729 | "type": "paragraph",
|
14730 | "children": [
|
14731 | {
|
14732 | "type": "text",
|
14733 | "value": "[foo"
|
14734 | },
|
14735 | {
|
14736 | "type": "inlineCode",
|
14737 | "value": "](/uri)"
|
14738 | }
|
14739 | ]
|
14740 | }
|
14741 | ]
|
14742 | },
|
14743 | "myst": "[foo`](/uri)`\n",
|
14744 | "html": "<p>[foo<code>](/uri)</code></p>\n"
|
14745 | },
|
14746 | {
|
14747 | "title": "cmark_spec_0.30: Links - example 525",
|
14748 | "mdast": {
|
14749 | "type": "root",
|
14750 | "children": [
|
14751 | {
|
14752 | "type": "paragraph",
|
14753 | "children": [
|
14754 | {
|
14755 | "type": "text",
|
14756 | "value": "[foo"
|
14757 | },
|
14758 | {
|
14759 | "type": "link",
|
14760 | "url": "http://example.com/?search=%5D(uri)",
|
14761 | "children": [
|
14762 | {
|
14763 | "type": "text",
|
14764 | "value": "http://example.com/?search=](uri)"
|
14765 | }
|
14766 | ]
|
14767 | }
|
14768 | ]
|
14769 | }
|
14770 | ]
|
14771 | },
|
14772 | "myst": "[foo<http://example.com/?search=](uri)>\n",
|
14773 | "html": "<p>[foo<a href=\"http://example.com/?search=%5D(uri)\">http://example.com/?search=](uri)</a></p>\n"
|
14774 | },
|
14775 | {
|
14776 | "title": "cmark_spec_0.30: Links - example 526",
|
14777 | "mdast": {
|
14778 | "type": "root",
|
14779 | "children": [
|
14780 | {
|
14781 | "type": "paragraph",
|
14782 | "children": [
|
14783 | {
|
14784 | "type": "link",
|
14785 | "url": "/url",
|
14786 | "title": "title",
|
14787 | "children": [
|
14788 | {
|
14789 | "type": "text",
|
14790 | "value": "foo"
|
14791 | }
|
14792 | ]
|
14793 | }
|
14794 | ]
|
14795 | }
|
14796 | ]
|
14797 | },
|
14798 | "myst": "[foo][bar]\n\n[bar]: /url \"title\"\n",
|
14799 | "html": "<p><a href=\"/url\" title=\"title\">foo</a></p>\n"
|
14800 | },
|
14801 | {
|
14802 | "title": "cmark_spec_0.30: Links - example 527",
|
14803 | "mdast": {
|
14804 | "type": "root",
|
14805 | "children": [
|
14806 | {
|
14807 | "type": "paragraph",
|
14808 | "children": [
|
14809 | {
|
14810 | "type": "link",
|
14811 | "url": "/uri",
|
14812 | "children": [
|
14813 | {
|
14814 | "type": "text",
|
14815 | "value": "link [foo [bar]]"
|
14816 | }
|
14817 | ]
|
14818 | }
|
14819 | ]
|
14820 | }
|
14821 | ]
|
14822 | },
|
14823 | "myst": "[link [foo [bar]]][ref]\n\n[ref]: /uri\n",
|
14824 | "html": "<p><a href=\"/uri\">link [foo [bar]]</a></p>\n"
|
14825 | },
|
14826 | {
|
14827 | "title": "cmark_spec_0.30: Links - example 528",
|
14828 | "mdast": {
|
14829 | "type": "root",
|
14830 | "children": [
|
14831 | {
|
14832 | "type": "paragraph",
|
14833 | "children": [
|
14834 | {
|
14835 | "type": "link",
|
14836 | "url": "/uri",
|
14837 | "children": [
|
14838 | {
|
14839 | "type": "text",
|
14840 | "value": "link [bar"
|
14841 | }
|
14842 | ]
|
14843 | }
|
14844 | ]
|
14845 | }
|
14846 | ]
|
14847 | },
|
14848 | "myst": "[link \\[bar][ref]\n\n[ref]: /uri\n",
|
14849 | "html": "<p><a href=\"/uri\">link [bar</a></p>\n"
|
14850 | },
|
14851 | {
|
14852 | "title": "cmark_spec_0.30: Links - example 529",
|
14853 | "mdast": {
|
14854 | "type": "root",
|
14855 | "children": [
|
14856 | {
|
14857 | "type": "paragraph",
|
14858 | "children": [
|
14859 | {
|
14860 | "type": "link",
|
14861 | "url": "/uri",
|
14862 | "children": [
|
14863 | {
|
14864 | "type": "text",
|
14865 | "value": "link "
|
14866 | },
|
14867 | {
|
14868 | "type": "emphasis",
|
14869 | "children": [
|
14870 | {
|
14871 | "type": "text",
|
14872 | "value": "foo "
|
14873 | },
|
14874 | {
|
14875 | "type": "strong",
|
14876 | "children": [
|
14877 | {
|
14878 | "type": "text",
|
14879 | "value": "bar"
|
14880 | }
|
14881 | ]
|
14882 | },
|
14883 | {
|
14884 | "type": "text",
|
14885 | "value": " "
|
14886 | },
|
14887 | {
|
14888 | "type": "inlineCode",
|
14889 | "value": "#"
|
14890 | }
|
14891 | ]
|
14892 | }
|
14893 | ]
|
14894 | }
|
14895 | ]
|
14896 | }
|
14897 | ]
|
14898 | },
|
14899 | "myst": "[link *foo **bar** `#`*][ref]\n\n[ref]: /uri\n",
|
14900 | "html": "<p><a href=\"/uri\">link <em>foo <strong>bar</strong> <code>#</code></em></a></p>\n"
|
14901 | },
|
14902 | {
|
14903 | "title": "cmark_spec_0.30: Links - example 530",
|
14904 | "mdast": {
|
14905 | "type": "root",
|
14906 | "children": [
|
14907 | {
|
14908 | "type": "paragraph",
|
14909 | "children": [
|
14910 | {
|
14911 | "type": "link",
|
14912 | "url": "/uri",
|
14913 | "children": [
|
14914 | {
|
14915 | "type": "image",
|
14916 | "url": "moon.jpg",
|
14917 | "alt": "moon"
|
14918 | }
|
14919 | ]
|
14920 | }
|
14921 | ]
|
14922 | }
|
14923 | ]
|
14924 | },
|
14925 | "myst": "[![moon](moon.jpg)][ref]\n\n[ref]: /uri\n",
|
14926 | "html": "<p><a href=\"/uri\"><img src=\"moon.jpg\" alt=\"moon\" /></a></p>\n"
|
14927 | },
|
14928 | {
|
14929 | "title": "cmark_spec_0.30: Links - example 531",
|
14930 | "mdast": {
|
14931 | "type": "root",
|
14932 | "children": [
|
14933 | {
|
14934 | "type": "paragraph",
|
14935 | "children": [
|
14936 | {
|
14937 | "type": "text",
|
14938 | "value": "[foo "
|
14939 | },
|
14940 | {
|
14941 | "type": "link",
|
14942 | "url": "/uri",
|
14943 | "children": [
|
14944 | {
|
14945 | "type": "text",
|
14946 | "value": "bar"
|
14947 | }
|
14948 | ]
|
14949 | },
|
14950 | {
|
14951 | "type": "text",
|
14952 | "value": "]"
|
14953 | },
|
14954 | {
|
14955 | "type": "link",
|
14956 | "url": "/uri",
|
14957 | "children": [
|
14958 | {
|
14959 | "type": "text",
|
14960 | "value": "ref"
|
14961 | }
|
14962 | ]
|
14963 | }
|
14964 | ]
|
14965 | }
|
14966 | ]
|
14967 | },
|
14968 | "myst": "[foo [bar](/uri)][ref]\n\n[ref]: /uri\n",
|
14969 | "html": "<p>[foo <a href=\"/uri\">bar</a>]<a href=\"/uri\">ref</a></p>\n"
|
14970 | },
|
14971 | {
|
14972 | "title": "cmark_spec_0.30: Links - example 532",
|
14973 | "mdast": {
|
14974 | "type": "root",
|
14975 | "children": [
|
14976 | {
|
14977 | "type": "paragraph",
|
14978 | "children": [
|
14979 | {
|
14980 | "type": "text",
|
14981 | "value": "[foo "
|
14982 | },
|
14983 | {
|
14984 | "type": "emphasis",
|
14985 | "children": [
|
14986 | {
|
14987 | "type": "text",
|
14988 | "value": "bar "
|
14989 | },
|
14990 | {
|
14991 | "type": "link",
|
14992 | "url": "/uri",
|
14993 | "children": [
|
14994 | {
|
14995 | "type": "text",
|
14996 | "value": "baz"
|
14997 | }
|
14998 | ]
|
14999 | }
|
15000 | ]
|
15001 | },
|
15002 | {
|
15003 | "type": "text",
|
15004 | "value": "]"
|
15005 | },
|
15006 | {
|
15007 | "type": "link",
|
15008 | "url": "/uri",
|
15009 | "children": [
|
15010 | {
|
15011 | "type": "text",
|
15012 | "value": "ref"
|
15013 | }
|
15014 | ]
|
15015 | }
|
15016 | ]
|
15017 | }
|
15018 | ]
|
15019 | },
|
15020 | "myst": "[foo *bar [baz][ref]*][ref]\n\n[ref]: /uri\n",
|
15021 | "html": "<p>[foo <em>bar <a href=\"/uri\">baz</a></em>]<a href=\"/uri\">ref</a></p>\n"
|
15022 | },
|
15023 | {
|
15024 | "title": "cmark_spec_0.30: Links - example 533",
|
15025 | "mdast": {
|
15026 | "type": "root",
|
15027 | "children": [
|
15028 | {
|
15029 | "type": "paragraph",
|
15030 | "children": [
|
15031 | {
|
15032 | "type": "text",
|
15033 | "value": "*"
|
15034 | },
|
15035 | {
|
15036 | "type": "link",
|
15037 | "url": "/uri",
|
15038 | "children": [
|
15039 | {
|
15040 | "type": "text",
|
15041 | "value": "foo*"
|
15042 | }
|
15043 | ]
|
15044 | }
|
15045 | ]
|
15046 | }
|
15047 | ]
|
15048 | },
|
15049 | "myst": "*[foo*][ref]\n\n[ref]: /uri\n",
|
15050 | "html": "<p>*<a href=\"/uri\">foo*</a></p>\n"
|
15051 | },
|
15052 | {
|
15053 | "title": "cmark_spec_0.30: Links - example 534",
|
15054 | "mdast": {
|
15055 | "type": "root",
|
15056 | "children": [
|
15057 | {
|
15058 | "type": "paragraph",
|
15059 | "children": [
|
15060 | {
|
15061 | "type": "link",
|
15062 | "url": "/uri",
|
15063 | "children": [
|
15064 | {
|
15065 | "type": "text",
|
15066 | "value": "foo *bar"
|
15067 | }
|
15068 | ]
|
15069 | },
|
15070 | {
|
15071 | "type": "text",
|
15072 | "value": "*"
|
15073 | }
|
15074 | ]
|
15075 | }
|
15076 | ]
|
15077 | },
|
15078 | "myst": "[foo *bar][ref]*\n\n[ref]: /uri\n",
|
15079 | "html": "<p><a href=\"/uri\">foo *bar</a>*</p>\n"
|
15080 | },
|
15081 | {
|
15082 | "title": "cmark_spec_0.30: Links - example 535",
|
15083 | "mdast": {
|
15084 | "type": "root",
|
15085 | "children": [
|
15086 | {
|
15087 | "type": "paragraph",
|
15088 | "children": [
|
15089 | {
|
15090 | "type": "text",
|
15091 | "value": "[foo "
|
15092 | },
|
15093 | {
|
15094 | "type": "html",
|
15095 | "value": "<bar attr=\"][ref]\">"
|
15096 | }
|
15097 | ]
|
15098 | }
|
15099 | ]
|
15100 | },
|
15101 | "myst": "[foo <bar attr=\"][ref]\">\n\n[ref]: /uri\n",
|
15102 | "html": "<p>[foo <bar attr=\"][ref]\"></p>\n"
|
15103 | },
|
15104 | {
|
15105 | "title": "cmark_spec_0.30: Links - example 536",
|
15106 | "mdast": {
|
15107 | "type": "root",
|
15108 | "children": [
|
15109 | {
|
15110 | "type": "paragraph",
|
15111 | "children": [
|
15112 | {
|
15113 | "type": "text",
|
15114 | "value": "[foo"
|
15115 | },
|
15116 | {
|
15117 | "type": "inlineCode",
|
15118 | "value": "][ref]"
|
15119 | }
|
15120 | ]
|
15121 | }
|
15122 | ]
|
15123 | },
|
15124 | "myst": "[foo`][ref]`\n\n[ref]: /uri\n",
|
15125 | "html": "<p>[foo<code>][ref]</code></p>\n"
|
15126 | },
|
15127 | {
|
15128 | "title": "cmark_spec_0.30: Links - example 537",
|
15129 | "mdast": {
|
15130 | "type": "root",
|
15131 | "children": [
|
15132 | {
|
15133 | "type": "paragraph",
|
15134 | "children": [
|
15135 | {
|
15136 | "type": "text",
|
15137 | "value": "[foo"
|
15138 | },
|
15139 | {
|
15140 | "type": "link",
|
15141 | "url": "http://example.com/?search=%5D%5Bref%5D",
|
15142 | "children": [
|
15143 | {
|
15144 | "type": "text",
|
15145 | "value": "http://example.com/?search=][ref]"
|
15146 | }
|
15147 | ]
|
15148 | }
|
15149 | ]
|
15150 | }
|
15151 | ]
|
15152 | },
|
15153 | "myst": "[foo<http://example.com/?search=][ref]>\n\n[ref]: /uri\n",
|
15154 | "html": "<p>[foo<a href=\"http://example.com/?search=%5D%5Bref%5D\">http://example.com/?search=][ref]</a></p>\n"
|
15155 | },
|
15156 | {
|
15157 | "title": "cmark_spec_0.30: Links - example 538",
|
15158 | "mdast": {
|
15159 | "type": "root",
|
15160 | "children": [
|
15161 | {
|
15162 | "type": "paragraph",
|
15163 | "children": [
|
15164 | {
|
15165 | "type": "link",
|
15166 | "url": "/url",
|
15167 | "title": "title",
|
15168 | "children": [
|
15169 | {
|
15170 | "type": "text",
|
15171 | "value": "foo"
|
15172 | }
|
15173 | ]
|
15174 | }
|
15175 | ]
|
15176 | }
|
15177 | ]
|
15178 | },
|
15179 | "myst": "[foo][BaR]\n\n[bar]: /url \"title\"\n",
|
15180 | "html": "<p><a href=\"/url\" title=\"title\">foo</a></p>\n"
|
15181 | },
|
15182 | {
|
15183 | "title": "cmark_spec_0.30: Links - example 539",
|
15184 | "mdast": {
|
15185 | "type": "root",
|
15186 | "children": [
|
15187 | {
|
15188 | "type": "paragraph",
|
15189 | "children": [
|
15190 | {
|
15191 | "type": "link",
|
15192 | "url": "/url",
|
15193 | "children": [
|
15194 | {
|
15195 | "type": "text",
|
15196 | "value": "ẞ"
|
15197 | }
|
15198 | ]
|
15199 | }
|
15200 | ]
|
15201 | }
|
15202 | ]
|
15203 | },
|
15204 | "myst": "[ẞ]\n\n[SS]: /url\n",
|
15205 | "html": "<p><a href=\"/url\">ẞ</a></p>\n"
|
15206 | },
|
15207 | {
|
15208 | "title": "cmark_spec_0.30: Links - example 540",
|
15209 | "mdast": {
|
15210 | "type": "root",
|
15211 | "children": [
|
15212 | {
|
15213 | "type": "paragraph",
|
15214 | "children": [
|
15215 | {
|
15216 | "type": "link",
|
15217 | "url": "/url",
|
15218 | "children": [
|
15219 | {
|
15220 | "type": "text",
|
15221 | "value": "Baz"
|
15222 | }
|
15223 | ]
|
15224 | }
|
15225 | ]
|
15226 | }
|
15227 | ]
|
15228 | },
|
15229 | "myst": "[Foo\n bar]: /url\n\n[Baz][Foo bar]\n",
|
15230 | "html": "<p><a href=\"/url\">Baz</a></p>\n"
|
15231 | },
|
15232 | {
|
15233 | "title": "cmark_spec_0.30: Links - example 541",
|
15234 | "mdast": {
|
15235 | "type": "root",
|
15236 | "children": [
|
15237 | {
|
15238 | "type": "paragraph",
|
15239 | "children": [
|
15240 | {
|
15241 | "type": "text",
|
15242 | "value": "[foo] "
|
15243 | },
|
15244 | {
|
15245 | "type": "link",
|
15246 | "url": "/url",
|
15247 | "title": "title",
|
15248 | "children": [
|
15249 | {
|
15250 | "type": "text",
|
15251 | "value": "bar"
|
15252 | }
|
15253 | ]
|
15254 | }
|
15255 | ]
|
15256 | }
|
15257 | ]
|
15258 | },
|
15259 | "myst": "[foo] [bar]\n\n[bar]: /url \"title\"\n",
|
15260 | "html": "<p>[foo] <a href=\"/url\" title=\"title\">bar</a></p>\n"
|
15261 | },
|
15262 | {
|
15263 | "title": "cmark_spec_0.30: Links - example 542",
|
15264 | "mdast": {
|
15265 | "type": "root",
|
15266 | "children": [
|
15267 | {
|
15268 | "type": "paragraph",
|
15269 | "children": [
|
15270 | {
|
15271 | "type": "text",
|
15272 | "value": "[foo]\n"
|
15273 | },
|
15274 | {
|
15275 | "type": "link",
|
15276 | "url": "/url",
|
15277 | "title": "title",
|
15278 | "children": [
|
15279 | {
|
15280 | "type": "text",
|
15281 | "value": "bar"
|
15282 | }
|
15283 | ]
|
15284 | }
|
15285 | ]
|
15286 | }
|
15287 | ]
|
15288 | },
|
15289 | "myst": "[foo]\n[bar]\n\n[bar]: /url \"title\"\n",
|
15290 | "html": "<p>[foo]\n<a href=\"/url\" title=\"title\">bar</a></p>\n"
|
15291 | },
|
15292 | {
|
15293 | "title": "cmark_spec_0.30: Links - example 543",
|
15294 | "mdast": {
|
15295 | "type": "root",
|
15296 | "children": [
|
15297 | {
|
15298 | "type": "paragraph",
|
15299 | "children": [
|
15300 | {
|
15301 | "type": "link",
|
15302 | "url": "/url1",
|
15303 | "children": [
|
15304 | {
|
15305 | "type": "text",
|
15306 | "value": "bar"
|
15307 | }
|
15308 | ]
|
15309 | }
|
15310 | ]
|
15311 | }
|
15312 | ]
|
15313 | },
|
15314 | "myst": "[foo]: /url1\n\n[foo]: /url2\n\n[bar][foo]\n",
|
15315 | "html": "<p><a href=\"/url1\">bar</a></p>\n"
|
15316 | },
|
15317 | {
|
15318 | "title": "cmark_spec_0.30: Links - example 544",
|
15319 | "mdast": {
|
15320 | "type": "root",
|
15321 | "children": [
|
15322 | {
|
15323 | "type": "paragraph",
|
15324 | "children": [
|
15325 | {
|
15326 | "type": "text",
|
15327 | "value": "[bar][foo!]"
|
15328 | }
|
15329 | ]
|
15330 | }
|
15331 | ]
|
15332 | },
|
15333 | "myst": "[bar][foo\\!]\n\n[foo!]: /url\n",
|
15334 | "html": "<p>[bar][foo!]</p>\n"
|
15335 | },
|
15336 | {
|
15337 | "title": "cmark_spec_0.30: Links - example 545",
|
15338 | "mdast": {
|
15339 | "type": "root",
|
15340 | "children": [
|
15341 | {
|
15342 | "type": "paragraph",
|
15343 | "children": [
|
15344 | {
|
15345 | "type": "text",
|
15346 | "value": "[foo][ref[]"
|
15347 | }
|
15348 | ]
|
15349 | },
|
15350 | {
|
15351 | "type": "paragraph",
|
15352 | "children": [
|
15353 | {
|
15354 | "type": "text",
|
15355 | "value": "[ref[]: /uri"
|
15356 | }
|
15357 | ]
|
15358 | }
|
15359 | ]
|
15360 | },
|
15361 | "myst": "[foo][ref[]\n\n[ref[]: /uri\n",
|
15362 | "html": "<p>[foo][ref[]</p>\n<p>[ref[]: /uri</p>\n"
|
15363 | },
|
15364 | {
|
15365 | "title": "cmark_spec_0.30: Links - example 546",
|
15366 | "mdast": {
|
15367 | "type": "root",
|
15368 | "children": [
|
15369 | {
|
15370 | "type": "paragraph",
|
15371 | "children": [
|
15372 | {
|
15373 | "type": "text",
|
15374 | "value": "[foo][ref[bar]]"
|
15375 | }
|
15376 | ]
|
15377 | },
|
15378 | {
|
15379 | "type": "paragraph",
|
15380 | "children": [
|
15381 | {
|
15382 | "type": "text",
|
15383 | "value": "[ref[bar]]: /uri"
|
15384 | }
|
15385 | ]
|
15386 | }
|
15387 | ]
|
15388 | },
|
15389 | "myst": "[foo][ref[bar]]\n\n[ref[bar]]: /uri\n",
|
15390 | "html": "<p>[foo][ref[bar]]</p>\n<p>[ref[bar]]: /uri</p>\n"
|
15391 | },
|
15392 | {
|
15393 | "title": "cmark_spec_0.30: Links - example 547",
|
15394 | "mdast": {
|
15395 | "type": "root",
|
15396 | "children": [
|
15397 | {
|
15398 | "type": "paragraph",
|
15399 | "children": [
|
15400 | {
|
15401 | "type": "text",
|
15402 | "value": "[[[foo]]]"
|
15403 | }
|
15404 | ]
|
15405 | },
|
15406 | {
|
15407 | "type": "paragraph",
|
15408 | "children": [
|
15409 | {
|
15410 | "type": "text",
|
15411 | "value": "[[[foo]]]: /url"
|
15412 | }
|
15413 | ]
|
15414 | }
|
15415 | ]
|
15416 | },
|
15417 | "myst": "[[[foo]]]\n\n[[[foo]]]: /url\n",
|
15418 | "html": "<p>[[[foo]]]</p>\n<p>[[[foo]]]: /url</p>\n"
|
15419 | },
|
15420 | {
|
15421 | "title": "cmark_spec_0.30: Links - example 548",
|
15422 | "mdast": {
|
15423 | "type": "root",
|
15424 | "children": [
|
15425 | {
|
15426 | "type": "paragraph",
|
15427 | "children": [
|
15428 | {
|
15429 | "type": "link",
|
15430 | "url": "/uri",
|
15431 | "children": [
|
15432 | {
|
15433 | "type": "text",
|
15434 | "value": "foo"
|
15435 | }
|
15436 | ]
|
15437 | }
|
15438 | ]
|
15439 | }
|
15440 | ]
|
15441 | },
|
15442 | "myst": "[foo][ref\\[]\n\n[ref\\[]: /uri\n",
|
15443 | "html": "<p><a href=\"/uri\">foo</a></p>\n"
|
15444 | },
|
15445 | {
|
15446 | "title": "cmark_spec_0.30: Links - example 549",
|
15447 | "mdast": {
|
15448 | "type": "root",
|
15449 | "children": [
|
15450 | {
|
15451 | "type": "paragraph",
|
15452 | "children": [
|
15453 | {
|
15454 | "type": "link",
|
15455 | "url": "/uri",
|
15456 | "children": [
|
15457 | {
|
15458 | "type": "text",
|
15459 | "value": "bar\\"
|
15460 | }
|
15461 | ]
|
15462 | }
|
15463 | ]
|
15464 | }
|
15465 | ]
|
15466 | },
|
15467 | "myst": "[bar\\\\]: /uri\n\n[bar\\\\]\n",
|
15468 | "html": "<p><a href=\"/uri\">bar\\</a></p>\n"
|
15469 | },
|
15470 | {
|
15471 | "title": "cmark_spec_0.30: Links - example 550",
|
15472 | "mdast": {
|
15473 | "type": "root",
|
15474 | "children": [
|
15475 | {
|
15476 | "type": "paragraph",
|
15477 | "children": [
|
15478 | {
|
15479 | "type": "text",
|
15480 | "value": "[]"
|
15481 | }
|
15482 | ]
|
15483 | },
|
15484 | {
|
15485 | "type": "paragraph",
|
15486 | "children": [
|
15487 | {
|
15488 | "type": "text",
|
15489 | "value": "[]: /uri"
|
15490 | }
|
15491 | ]
|
15492 | }
|
15493 | ]
|
15494 | },
|
15495 | "myst": "[]\n\n[]: /uri\n",
|
15496 | "html": "<p>[]</p>\n<p>[]: /uri</p>\n"
|
15497 | },
|
15498 | {
|
15499 | "title": "cmark_spec_0.30: Links - example 551",
|
15500 | "mdast": {
|
15501 | "type": "root",
|
15502 | "children": [
|
15503 | {
|
15504 | "type": "paragraph",
|
15505 | "children": [
|
15506 | {
|
15507 | "type": "text",
|
15508 | "value": "[\n]"
|
15509 | }
|
15510 | ]
|
15511 | },
|
15512 | {
|
15513 | "type": "paragraph",
|
15514 | "children": [
|
15515 | {
|
15516 | "type": "text",
|
15517 | "value": "[\n]: /uri"
|
15518 | }
|
15519 | ]
|
15520 | }
|
15521 | ]
|
15522 | },
|
15523 | "myst": "[\n ]\n\n[\n ]: /uri\n",
|
15524 | "html": "<p>[\n]</p>\n<p>[\n]: /uri</p>\n"
|
15525 | },
|
15526 | {
|
15527 | "title": "cmark_spec_0.30: Links - example 552",
|
15528 | "mdast": {
|
15529 | "type": "root",
|
15530 | "children": [
|
15531 | {
|
15532 | "type": "paragraph",
|
15533 | "children": [
|
15534 | {
|
15535 | "type": "link",
|
15536 | "url": "/url",
|
15537 | "title": "title",
|
15538 | "children": [
|
15539 | {
|
15540 | "type": "text",
|
15541 | "value": "foo"
|
15542 | }
|
15543 | ]
|
15544 | }
|
15545 | ]
|
15546 | }
|
15547 | ]
|
15548 | },
|
15549 | "myst": "[foo][]\n\n[foo]: /url \"title\"\n",
|
15550 | "html": "<p><a href=\"/url\" title=\"title\">foo</a></p>\n"
|
15551 | },
|
15552 | {
|
15553 | "title": "cmark_spec_0.30: Links - example 553",
|
15554 | "mdast": {
|
15555 | "type": "root",
|
15556 | "children": [
|
15557 | {
|
15558 | "type": "paragraph",
|
15559 | "children": [
|
15560 | {
|
15561 | "type": "link",
|
15562 | "url": "/url",
|
15563 | "title": "title",
|
15564 | "children": [
|
15565 | {
|
15566 | "type": "emphasis",
|
15567 | "children": [
|
15568 | {
|
15569 | "type": "text",
|
15570 | "value": "foo"
|
15571 | }
|
15572 | ]
|
15573 | },
|
15574 | {
|
15575 | "type": "text",
|
15576 | "value": " bar"
|
15577 | }
|
15578 | ]
|
15579 | }
|
15580 | ]
|
15581 | }
|
15582 | ]
|
15583 | },
|
15584 | "myst": "[*foo* bar][]\n\n[*foo* bar]: /url \"title\"\n",
|
15585 | "html": "<p><a href=\"/url\" title=\"title\"><em>foo</em> bar</a></p>\n"
|
15586 | },
|
15587 | {
|
15588 | "title": "cmark_spec_0.30: Links - example 554",
|
15589 | "mdast": {
|
15590 | "type": "root",
|
15591 | "children": [
|
15592 | {
|
15593 | "type": "paragraph",
|
15594 | "children": [
|
15595 | {
|
15596 | "type": "link",
|
15597 | "url": "/url",
|
15598 | "title": "title",
|
15599 | "children": [
|
15600 | {
|
15601 | "type": "text",
|
15602 | "value": "Foo"
|
15603 | }
|
15604 | ]
|
15605 | }
|
15606 | ]
|
15607 | }
|
15608 | ]
|
15609 | },
|
15610 | "myst": "[Foo][]\n\n[foo]: /url \"title\"\n",
|
15611 | "html": "<p><a href=\"/url\" title=\"title\">Foo</a></p>\n"
|
15612 | },
|
15613 | {
|
15614 | "title": "cmark_spec_0.30: Links - example 555",
|
15615 | "mdast": {
|
15616 | "type": "root",
|
15617 | "children": [
|
15618 | {
|
15619 | "type": "paragraph",
|
15620 | "children": [
|
15621 | {
|
15622 | "type": "link",
|
15623 | "url": "/url",
|
15624 | "title": "title",
|
15625 | "children": [
|
15626 | {
|
15627 | "type": "text",
|
15628 | "value": "foo"
|
15629 | }
|
15630 | ]
|
15631 | },
|
15632 | {
|
15633 | "type": "text",
|
15634 | "value": "\n[]"
|
15635 | }
|
15636 | ]
|
15637 | }
|
15638 | ]
|
15639 | },
|
15640 | "myst": "[foo] \n[]\n\n[foo]: /url \"title\"\n",
|
15641 | "html": "<p><a href=\"/url\" title=\"title\">foo</a>\n[]</p>\n"
|
15642 | },
|
15643 | {
|
15644 | "title": "cmark_spec_0.30: Links - example 556",
|
15645 | "mdast": {
|
15646 | "type": "root",
|
15647 | "children": [
|
15648 | {
|
15649 | "type": "paragraph",
|
15650 | "children": [
|
15651 | {
|
15652 | "type": "link",
|
15653 | "url": "/url",
|
15654 | "title": "title",
|
15655 | "children": [
|
15656 | {
|
15657 | "type": "text",
|
15658 | "value": "foo"
|
15659 | }
|
15660 | ]
|
15661 | }
|
15662 | ]
|
15663 | }
|
15664 | ]
|
15665 | },
|
15666 | "myst": "[foo]\n\n[foo]: /url \"title\"\n",
|
15667 | "html": "<p><a href=\"/url\" title=\"title\">foo</a></p>\n"
|
15668 | },
|
15669 | {
|
15670 | "title": "cmark_spec_0.30: Links - example 557",
|
15671 | "mdast": {
|
15672 | "type": "root",
|
15673 | "children": [
|
15674 | {
|
15675 | "type": "paragraph",
|
15676 | "children": [
|
15677 | {
|
15678 | "type": "link",
|
15679 | "url": "/url",
|
15680 | "title": "title",
|
15681 | "children": [
|
15682 | {
|
15683 | "type": "emphasis",
|
15684 | "children": [
|
15685 | {
|
15686 | "type": "text",
|
15687 | "value": "foo"
|
15688 | }
|
15689 | ]
|
15690 | },
|
15691 | {
|
15692 | "type": "text",
|
15693 | "value": " bar"
|
15694 | }
|
15695 | ]
|
15696 | }
|
15697 | ]
|
15698 | }
|
15699 | ]
|
15700 | },
|
15701 | "myst": "[*foo* bar]\n\n[*foo* bar]: /url \"title\"\n",
|
15702 | "html": "<p><a href=\"/url\" title=\"title\"><em>foo</em> bar</a></p>\n"
|
15703 | },
|
15704 | {
|
15705 | "title": "cmark_spec_0.30: Links - example 558",
|
15706 | "mdast": {
|
15707 | "type": "root",
|
15708 | "children": [
|
15709 | {
|
15710 | "type": "paragraph",
|
15711 | "children": [
|
15712 | {
|
15713 | "type": "text",
|
15714 | "value": "["
|
15715 | },
|
15716 | {
|
15717 | "type": "link",
|
15718 | "url": "/url",
|
15719 | "title": "title",
|
15720 | "children": [
|
15721 | {
|
15722 | "type": "emphasis",
|
15723 | "children": [
|
15724 | {
|
15725 | "type": "text",
|
15726 | "value": "foo"
|
15727 | }
|
15728 | ]
|
15729 | },
|
15730 | {
|
15731 | "type": "text",
|
15732 | "value": " bar"
|
15733 | }
|
15734 | ]
|
15735 | },
|
15736 | {
|
15737 | "type": "text",
|
15738 | "value": "]"
|
15739 | }
|
15740 | ]
|
15741 | }
|
15742 | ]
|
15743 | },
|
15744 | "myst": "[[*foo* bar]]\n\n[*foo* bar]: /url \"title\"\n",
|
15745 | "html": "<p>[<a href=\"/url\" title=\"title\"><em>foo</em> bar</a>]</p>\n"
|
15746 | },
|
15747 | {
|
15748 | "title": "cmark_spec_0.30: Links - example 559",
|
15749 | "mdast": {
|
15750 | "type": "root",
|
15751 | "children": [
|
15752 | {
|
15753 | "type": "paragraph",
|
15754 | "children": [
|
15755 | {
|
15756 | "type": "text",
|
15757 | "value": "[[bar "
|
15758 | },
|
15759 | {
|
15760 | "type": "link",
|
15761 | "url": "/url",
|
15762 | "children": [
|
15763 | {
|
15764 | "type": "text",
|
15765 | "value": "foo"
|
15766 | }
|
15767 | ]
|
15768 | }
|
15769 | ]
|
15770 | }
|
15771 | ]
|
15772 | },
|
15773 | "myst": "[[bar [foo]\n\n[foo]: /url\n",
|
15774 | "html": "<p>[[bar <a href=\"/url\">foo</a></p>\n"
|
15775 | },
|
15776 | {
|
15777 | "title": "cmark_spec_0.30: Links - example 560",
|
15778 | "mdast": {
|
15779 | "type": "root",
|
15780 | "children": [
|
15781 | {
|
15782 | "type": "paragraph",
|
15783 | "children": [
|
15784 | {
|
15785 | "type": "link",
|
15786 | "url": "/url",
|
15787 | "title": "title",
|
15788 | "children": [
|
15789 | {
|
15790 | "type": "text",
|
15791 | "value": "Foo"
|
15792 | }
|
15793 | ]
|
15794 | }
|
15795 | ]
|
15796 | }
|
15797 | ]
|
15798 | },
|
15799 | "myst": "[Foo]\n\n[foo]: /url \"title\"\n",
|
15800 | "html": "<p><a href=\"/url\" title=\"title\">Foo</a></p>\n"
|
15801 | },
|
15802 | {
|
15803 | "title": "cmark_spec_0.30: Links - example 561",
|
15804 | "mdast": {
|
15805 | "type": "root",
|
15806 | "children": [
|
15807 | {
|
15808 | "type": "paragraph",
|
15809 | "children": [
|
15810 | {
|
15811 | "type": "link",
|
15812 | "url": "/url",
|
15813 | "children": [
|
15814 | {
|
15815 | "type": "text",
|
15816 | "value": "foo"
|
15817 | }
|
15818 | ]
|
15819 | },
|
15820 | {
|
15821 | "type": "text",
|
15822 | "value": " bar"
|
15823 | }
|
15824 | ]
|
15825 | }
|
15826 | ]
|
15827 | },
|
15828 | "myst": "[foo] bar\n\n[foo]: /url\n",
|
15829 | "html": "<p><a href=\"/url\">foo</a> bar</p>\n"
|
15830 | },
|
15831 | {
|
15832 | "title": "cmark_spec_0.30: Links - example 562",
|
15833 | "mdast": {
|
15834 | "type": "root",
|
15835 | "children": [
|
15836 | {
|
15837 | "type": "paragraph",
|
15838 | "children": [
|
15839 | {
|
15840 | "type": "text",
|
15841 | "value": "[foo]"
|
15842 | }
|
15843 | ]
|
15844 | }
|
15845 | ]
|
15846 | },
|
15847 | "myst": "\\[foo]\n\n[foo]: /url \"title\"\n",
|
15848 | "html": "<p>[foo]</p>\n"
|
15849 | },
|
15850 | {
|
15851 | "title": "cmark_spec_0.30: Links - example 563",
|
15852 | "mdast": {
|
15853 | "type": "root",
|
15854 | "children": [
|
15855 | {
|
15856 | "type": "paragraph",
|
15857 | "children": [
|
15858 | {
|
15859 | "type": "text",
|
15860 | "value": "*"
|
15861 | },
|
15862 | {
|
15863 | "type": "link",
|
15864 | "url": "/url",
|
15865 | "children": [
|
15866 | {
|
15867 | "type": "text",
|
15868 | "value": "foo*"
|
15869 | }
|
15870 | ]
|
15871 | }
|
15872 | ]
|
15873 | }
|
15874 | ]
|
15875 | },
|
15876 | "myst": "[foo*]: /url\n\n*[foo*]\n",
|
15877 | "html": "<p>*<a href=\"/url\">foo*</a></p>\n"
|
15878 | },
|
15879 | {
|
15880 | "title": "cmark_spec_0.30: Links - example 564",
|
15881 | "mdast": {
|
15882 | "type": "root",
|
15883 | "children": [
|
15884 | {
|
15885 | "type": "paragraph",
|
15886 | "children": [
|
15887 | {
|
15888 | "type": "link",
|
15889 | "url": "/url2",
|
15890 | "children": [
|
15891 | {
|
15892 | "type": "text",
|
15893 | "value": "foo"
|
15894 | }
|
15895 | ]
|
15896 | }
|
15897 | ]
|
15898 | }
|
15899 | ]
|
15900 | },
|
15901 | "myst": "[foo][bar]\n\n[foo]: /url1\n[bar]: /url2\n",
|
15902 | "html": "<p><a href=\"/url2\">foo</a></p>\n"
|
15903 | },
|
15904 | {
|
15905 | "title": "cmark_spec_0.30: Links - example 565",
|
15906 | "mdast": {
|
15907 | "type": "root",
|
15908 | "children": [
|
15909 | {
|
15910 | "type": "paragraph",
|
15911 | "children": [
|
15912 | {
|
15913 | "type": "link",
|
15914 | "url": "/url1",
|
15915 | "children": [
|
15916 | {
|
15917 | "type": "text",
|
15918 | "value": "foo"
|
15919 | }
|
15920 | ]
|
15921 | }
|
15922 | ]
|
15923 | }
|
15924 | ]
|
15925 | },
|
15926 | "myst": "[foo][]\n\n[foo]: /url1\n",
|
15927 | "html": "<p><a href=\"/url1\">foo</a></p>\n"
|
15928 | },
|
15929 | {
|
15930 | "title": "cmark_spec_0.30: Links - example 566",
|
15931 | "mdast": {
|
15932 | "type": "root",
|
15933 | "children": [
|
15934 | {
|
15935 | "type": "paragraph",
|
15936 | "children": [
|
15937 | {
|
15938 | "type": "link",
|
15939 | "url": "",
|
15940 | "children": [
|
15941 | {
|
15942 | "type": "text",
|
15943 | "value": "foo"
|
15944 | }
|
15945 | ]
|
15946 | }
|
15947 | ]
|
15948 | }
|
15949 | ]
|
15950 | },
|
15951 | "myst": "[foo]()\n\n[foo]: /url1\n",
|
15952 | "html": "<p><a href=\"\">foo</a></p>\n"
|
15953 | },
|
15954 | {
|
15955 | "title": "cmark_spec_0.30: Links - example 567",
|
15956 | "mdast": {
|
15957 | "type": "root",
|
15958 | "children": [
|
15959 | {
|
15960 | "type": "paragraph",
|
15961 | "children": [
|
15962 | {
|
15963 | "type": "link",
|
15964 | "url": "/url1",
|
15965 | "children": [
|
15966 | {
|
15967 | "type": "text",
|
15968 | "value": "foo"
|
15969 | }
|
15970 | ]
|
15971 | },
|
15972 | {
|
15973 | "type": "text",
|
15974 | "value": "(not a link)"
|
15975 | }
|
15976 | ]
|
15977 | }
|
15978 | ]
|
15979 | },
|
15980 | "myst": "[foo](not a link)\n\n[foo]: /url1\n",
|
15981 | "html": "<p><a href=\"/url1\">foo</a>(not a link)</p>\n"
|
15982 | },
|
15983 | {
|
15984 | "title": "cmark_spec_0.30: Links - example 568",
|
15985 | "mdast": {
|
15986 | "type": "root",
|
15987 | "children": [
|
15988 | {
|
15989 | "type": "paragraph",
|
15990 | "children": [
|
15991 | {
|
15992 | "type": "text",
|
15993 | "value": "[foo]"
|
15994 | },
|
15995 | {
|
15996 | "type": "link",
|
15997 | "url": "/url",
|
15998 | "children": [
|
15999 | {
|
16000 | "type": "text",
|
16001 | "value": "bar"
|
16002 | }
|
16003 | ]
|
16004 | }
|
16005 | ]
|
16006 | }
|
16007 | ]
|
16008 | },
|
16009 | "myst": "[foo][bar][baz]\n\n[baz]: /url\n",
|
16010 | "html": "<p>[foo]<a href=\"/url\">bar</a></p>\n"
|
16011 | },
|
16012 | {
|
16013 | "title": "cmark_spec_0.30: Links - example 569",
|
16014 | "mdast": {
|
16015 | "type": "root",
|
16016 | "children": [
|
16017 | {
|
16018 | "type": "paragraph",
|
16019 | "children": [
|
16020 | {
|
16021 | "type": "link",
|
16022 | "url": "/url2",
|
16023 | "children": [
|
16024 | {
|
16025 | "type": "text",
|
16026 | "value": "foo"
|
16027 | }
|
16028 | ]
|
16029 | },
|
16030 | {
|
16031 | "type": "link",
|
16032 | "url": "/url1",
|
16033 | "children": [
|
16034 | {
|
16035 | "type": "text",
|
16036 | "value": "baz"
|
16037 | }
|
16038 | ]
|
16039 | }
|
16040 | ]
|
16041 | }
|
16042 | ]
|
16043 | },
|
16044 | "myst": "[foo][bar][baz]\n\n[baz]: /url1\n[bar]: /url2\n",
|
16045 | "html": "<p><a href=\"/url2\">foo</a><a href=\"/url1\">baz</a></p>\n"
|
16046 | },
|
16047 | {
|
16048 | "title": "cmark_spec_0.30: Links - example 570",
|
16049 | "mdast": {
|
16050 | "type": "root",
|
16051 | "children": [
|
16052 | {
|
16053 | "type": "paragraph",
|
16054 | "children": [
|
16055 | {
|
16056 | "type": "text",
|
16057 | "value": "[foo]"
|
16058 | },
|
16059 | {
|
16060 | "type": "link",
|
16061 | "url": "/url1",
|
16062 | "children": [
|
16063 | {
|
16064 | "type": "text",
|
16065 | "value": "bar"
|
16066 | }
|
16067 | ]
|
16068 | }
|
16069 | ]
|
16070 | }
|
16071 | ]
|
16072 | },
|
16073 | "myst": "[foo][bar][baz]\n\n[baz]: /url1\n[foo]: /url2\n",
|
16074 | "html": "<p>[foo]<a href=\"/url1\">bar</a></p>\n"
|
16075 | },
|
16076 | {
|
16077 | "title": "cmark_spec_0.30: Images - example 571",
|
16078 | "mdast": {
|
16079 | "type": "root",
|
16080 | "children": [
|
16081 | {
|
16082 | "type": "paragraph",
|
16083 | "children": [
|
16084 | {
|
16085 | "type": "image",
|
16086 | "url": "/url",
|
16087 | "alt": "foo",
|
16088 | "title": "title"
|
16089 | }
|
16090 | ]
|
16091 | }
|
16092 | ]
|
16093 | },
|
16094 | "myst": "![foo](/url \"title\")\n",
|
16095 | "html": "<p><img src=\"/url\" alt=\"foo\" title=\"title\" /></p>\n"
|
16096 | },
|
16097 | {
|
16098 | "title": "cmark_spec_0.30: Images - example 572",
|
16099 | "mdast": {
|
16100 | "type": "root",
|
16101 | "children": [
|
16102 | {
|
16103 | "type": "paragraph",
|
16104 | "children": [
|
16105 | {
|
16106 | "type": "image",
|
16107 | "url": "train.jpg",
|
16108 | "alt": "foo bar",
|
16109 | "title": "train & tracks"
|
16110 | }
|
16111 | ]
|
16112 | }
|
16113 | ]
|
16114 | },
|
16115 | "myst": "![foo *bar*]\n\n[foo *bar*]: train.jpg \"train & tracks\"\n",
|
16116 | "html": "<p><img src=\"train.jpg\" alt=\"foo bar\" title=\"train & tracks\" /></p>\n"
|
16117 | },
|
16118 | {
|
16119 | "title": "cmark_spec_0.30: Images - example 573",
|
16120 | "mdast": {
|
16121 | "type": "root",
|
16122 | "children": [
|
16123 | {
|
16124 | "type": "paragraph",
|
16125 | "children": [
|
16126 | {
|
16127 | "type": "image",
|
16128 | "url": "/url2",
|
16129 | "alt": "foo bar"
|
16130 | }
|
16131 | ]
|
16132 | }
|
16133 | ]
|
16134 | },
|
16135 | "myst": "![foo ![bar](/url)](/url2)\n",
|
16136 | "html": "<p><img src=\"/url2\" alt=\"foo bar\" /></p>\n"
|
16137 | },
|
16138 | {
|
16139 | "title": "cmark_spec_0.30: Images - example 574",
|
16140 | "mdast": {
|
16141 | "type": "root",
|
16142 | "children": [
|
16143 | {
|
16144 | "type": "paragraph",
|
16145 | "children": [
|
16146 | {
|
16147 | "type": "image",
|
16148 | "url": "/url2",
|
16149 | "alt": "foo bar"
|
16150 | }
|
16151 | ]
|
16152 | }
|
16153 | ]
|
16154 | },
|
16155 | "myst": "![foo [bar](/url)](/url2)\n",
|
16156 | "html": "<p><img src=\"/url2\" alt=\"foo bar\" /></p>\n"
|
16157 | },
|
16158 | {
|
16159 | "title": "cmark_spec_0.30: Images - example 575",
|
16160 | "mdast": {
|
16161 | "type": "root",
|
16162 | "children": [
|
16163 | {
|
16164 | "type": "paragraph",
|
16165 | "children": [
|
16166 | {
|
16167 | "type": "image",
|
16168 | "url": "train.jpg",
|
16169 | "alt": "foo bar",
|
16170 | "title": "train & tracks"
|
16171 | }
|
16172 | ]
|
16173 | }
|
16174 | ]
|
16175 | },
|
16176 | "myst": "![foo *bar*][]\n\n[foo *bar*]: train.jpg \"train & tracks\"\n",
|
16177 | "html": "<p><img src=\"train.jpg\" alt=\"foo bar\" title=\"train & tracks\" /></p>\n"
|
16178 | },
|
16179 | {
|
16180 | "title": "cmark_spec_0.30: Images - example 576",
|
16181 | "mdast": {
|
16182 | "type": "root",
|
16183 | "children": [
|
16184 | {
|
16185 | "type": "paragraph",
|
16186 | "children": [
|
16187 | {
|
16188 | "type": "image",
|
16189 | "url": "train.jpg",
|
16190 | "alt": "foo bar",
|
16191 | "title": "train & tracks"
|
16192 | }
|
16193 | ]
|
16194 | }
|
16195 | ]
|
16196 | },
|
16197 | "myst": "![foo *bar*][foobar]\n\n[FOOBAR]: train.jpg \"train & tracks\"\n",
|
16198 | "html": "<p><img src=\"train.jpg\" alt=\"foo bar\" title=\"train & tracks\" /></p>\n"
|
16199 | },
|
16200 | {
|
16201 | "title": "cmark_spec_0.30: Images - example 577",
|
16202 | "mdast": {
|
16203 | "type": "root",
|
16204 | "children": [
|
16205 | {
|
16206 | "type": "paragraph",
|
16207 | "children": [
|
16208 | {
|
16209 | "type": "image",
|
16210 | "url": "train.jpg",
|
16211 | "alt": "foo"
|
16212 | }
|
16213 | ]
|
16214 | }
|
16215 | ]
|
16216 | },
|
16217 | "myst": "![foo](train.jpg)\n",
|
16218 | "html": "<p><img src=\"train.jpg\" alt=\"foo\" /></p>\n"
|
16219 | },
|
16220 | {
|
16221 | "title": "cmark_spec_0.30: Images - example 578",
|
16222 | "mdast": {
|
16223 | "type": "root",
|
16224 | "children": [
|
16225 | {
|
16226 | "type": "paragraph",
|
16227 | "children": [
|
16228 | {
|
16229 | "type": "text",
|
16230 | "value": "My "
|
16231 | },
|
16232 | {
|
16233 | "type": "image",
|
16234 | "url": "/path/to/train.jpg",
|
16235 | "alt": "foo bar",
|
16236 | "title": "title"
|
16237 | }
|
16238 | ]
|
16239 | }
|
16240 | ]
|
16241 | },
|
16242 | "myst": "My ![foo bar](/path/to/train.jpg \"title\" )\n",
|
16243 | "html": "<p>My <img src=\"/path/to/train.jpg\" alt=\"foo bar\" title=\"title\" /></p>\n"
|
16244 | },
|
16245 | {
|
16246 | "title": "cmark_spec_0.30: Images - example 579",
|
16247 | "mdast": {
|
16248 | "type": "root",
|
16249 | "children": [
|
16250 | {
|
16251 | "type": "paragraph",
|
16252 | "children": [
|
16253 | {
|
16254 | "type": "image",
|
16255 | "url": "url",
|
16256 | "alt": "foo"
|
16257 | }
|
16258 | ]
|
16259 | }
|
16260 | ]
|
16261 | },
|
16262 | "myst": "![foo](<url>)\n",
|
16263 | "html": "<p><img src=\"url\" alt=\"foo\" /></p>\n"
|
16264 | },
|
16265 | {
|
16266 | "title": "cmark_spec_0.30: Images - example 580",
|
16267 | "mdast": {
|
16268 | "type": "root",
|
16269 | "children": [
|
16270 | {
|
16271 | "type": "paragraph",
|
16272 | "children": [
|
16273 | {
|
16274 | "type": "image",
|
16275 | "url": "/url"
|
16276 | }
|
16277 | ]
|
16278 | }
|
16279 | ]
|
16280 | },
|
16281 | "myst": "![](/url)\n",
|
16282 | "html": "<p><img src=\"/url\" alt=\"\" /></p>\n"
|
16283 | },
|
16284 | {
|
16285 | "title": "cmark_spec_0.30: Images - example 581",
|
16286 | "mdast": {
|
16287 | "type": "root",
|
16288 | "children": [
|
16289 | {
|
16290 | "type": "paragraph",
|
16291 | "children": [
|
16292 | {
|
16293 | "type": "image",
|
16294 | "url": "/url",
|
16295 | "alt": "foo"
|
16296 | }
|
16297 | ]
|
16298 | }
|
16299 | ]
|
16300 | },
|
16301 | "myst": "![foo][bar]\n\n[bar]: /url\n",
|
16302 | "html": "<p><img src=\"/url\" alt=\"foo\" /></p>\n"
|
16303 | },
|
16304 | {
|
16305 | "title": "cmark_spec_0.30: Images - example 582",
|
16306 | "mdast": {
|
16307 | "type": "root",
|
16308 | "children": [
|
16309 | {
|
16310 | "type": "paragraph",
|
16311 | "children": [
|
16312 | {
|
16313 | "type": "image",
|
16314 | "url": "/url",
|
16315 | "alt": "foo"
|
16316 | }
|
16317 | ]
|
16318 | }
|
16319 | ]
|
16320 | },
|
16321 | "myst": "![foo][bar]\n\n[BAR]: /url\n",
|
16322 | "html": "<p><img src=\"/url\" alt=\"foo\" /></p>\n"
|
16323 | },
|
16324 | {
|
16325 | "title": "cmark_spec_0.30: Images - example 583",
|
16326 | "mdast": {
|
16327 | "type": "root",
|
16328 | "children": [
|
16329 | {
|
16330 | "type": "paragraph",
|
16331 | "children": [
|
16332 | {
|
16333 | "type": "image",
|
16334 | "url": "/url",
|
16335 | "alt": "foo",
|
16336 | "title": "title"
|
16337 | }
|
16338 | ]
|
16339 | }
|
16340 | ]
|
16341 | },
|
16342 | "myst": "![foo][]\n\n[foo]: /url \"title\"\n",
|
16343 | "html": "<p><img src=\"/url\" alt=\"foo\" title=\"title\" /></p>\n"
|
16344 | },
|
16345 | {
|
16346 | "title": "cmark_spec_0.30: Images - example 584",
|
16347 | "mdast": {
|
16348 | "type": "root",
|
16349 | "children": [
|
16350 | {
|
16351 | "type": "paragraph",
|
16352 | "children": [
|
16353 | {
|
16354 | "type": "image",
|
16355 | "url": "/url",
|
16356 | "alt": "foo bar",
|
16357 | "title": "title"
|
16358 | }
|
16359 | ]
|
16360 | }
|
16361 | ]
|
16362 | },
|
16363 | "myst": "![*foo* bar][]\n\n[*foo* bar]: /url \"title\"\n",
|
16364 | "html": "<p><img src=\"/url\" alt=\"foo bar\" title=\"title\" /></p>\n"
|
16365 | },
|
16366 | {
|
16367 | "title": "cmark_spec_0.30: Images - example 585",
|
16368 | "mdast": {
|
16369 | "type": "root",
|
16370 | "children": [
|
16371 | {
|
16372 | "type": "paragraph",
|
16373 | "children": [
|
16374 | {
|
16375 | "type": "image",
|
16376 | "url": "/url",
|
16377 | "alt": "Foo",
|
16378 | "title": "title"
|
16379 | }
|
16380 | ]
|
16381 | }
|
16382 | ]
|
16383 | },
|
16384 | "myst": "![Foo][]\n\n[foo]: /url \"title\"\n",
|
16385 | "html": "<p><img src=\"/url\" alt=\"Foo\" title=\"title\" /></p>\n"
|
16386 | },
|
16387 | {
|
16388 | "title": "cmark_spec_0.30: Images - example 586",
|
16389 | "mdast": {
|
16390 | "type": "root",
|
16391 | "children": [
|
16392 | {
|
16393 | "type": "paragraph",
|
16394 | "children": [
|
16395 | {
|
16396 | "type": "image",
|
16397 | "url": "/url",
|
16398 | "alt": "foo",
|
16399 | "title": "title"
|
16400 | },
|
16401 | {
|
16402 | "type": "text",
|
16403 | "value": "\n[]"
|
16404 | }
|
16405 | ]
|
16406 | }
|
16407 | ]
|
16408 | },
|
16409 | "myst": "![foo] \n[]\n\n[foo]: /url \"title\"\n",
|
16410 | "html": "<p><img src=\"/url\" alt=\"foo\" title=\"title\" />\n[]</p>\n"
|
16411 | },
|
16412 | {
|
16413 | "title": "cmark_spec_0.30: Images - example 587",
|
16414 | "mdast": {
|
16415 | "type": "root",
|
16416 | "children": [
|
16417 | {
|
16418 | "type": "paragraph",
|
16419 | "children": [
|
16420 | {
|
16421 | "type": "image",
|
16422 | "url": "/url",
|
16423 | "alt": "foo",
|
16424 | "title": "title"
|
16425 | }
|
16426 | ]
|
16427 | }
|
16428 | ]
|
16429 | },
|
16430 | "myst": "![foo]\n\n[foo]: /url \"title\"\n",
|
16431 | "html": "<p><img src=\"/url\" alt=\"foo\" title=\"title\" /></p>\n"
|
16432 | },
|
16433 | {
|
16434 | "title": "cmark_spec_0.30: Images - example 588",
|
16435 | "mdast": {
|
16436 | "type": "root",
|
16437 | "children": [
|
16438 | {
|
16439 | "type": "paragraph",
|
16440 | "children": [
|
16441 | {
|
16442 | "type": "image",
|
16443 | "url": "/url",
|
16444 | "alt": "foo bar",
|
16445 | "title": "title"
|
16446 | }
|
16447 | ]
|
16448 | }
|
16449 | ]
|
16450 | },
|
16451 | "myst": "![*foo* bar]\n\n[*foo* bar]: /url \"title\"\n",
|
16452 | "html": "<p><img src=\"/url\" alt=\"foo bar\" title=\"title\" /></p>\n"
|
16453 | },
|
16454 | {
|
16455 | "title": "cmark_spec_0.30: Images - example 589",
|
16456 | "mdast": {
|
16457 | "type": "root",
|
16458 | "children": [
|
16459 | {
|
16460 | "type": "paragraph",
|
16461 | "children": [
|
16462 | {
|
16463 | "type": "text",
|
16464 | "value": "![[foo]]"
|
16465 | }
|
16466 | ]
|
16467 | },
|
16468 | {
|
16469 | "type": "paragraph",
|
16470 | "children": [
|
16471 | {
|
16472 | "type": "text",
|
16473 | "value": "[[foo]]: /url \"title\""
|
16474 | }
|
16475 | ]
|
16476 | }
|
16477 | ]
|
16478 | },
|
16479 | "myst": "![[foo]]\n\n[[foo]]: /url \"title\"\n",
|
16480 | "html": "<p>![[foo]]</p>\n<p>[[foo]]: /url "title"</p>\n"
|
16481 | },
|
16482 | {
|
16483 | "title": "cmark_spec_0.30: Images - example 590",
|
16484 | "mdast": {
|
16485 | "type": "root",
|
16486 | "children": [
|
16487 | {
|
16488 | "type": "paragraph",
|
16489 | "children": [
|
16490 | {
|
16491 | "type": "image",
|
16492 | "url": "/url",
|
16493 | "alt": "Foo",
|
16494 | "title": "title"
|
16495 | }
|
16496 | ]
|
16497 | }
|
16498 | ]
|
16499 | },
|
16500 | "myst": "![Foo]\n\n[foo]: /url \"title\"\n",
|
16501 | "html": "<p><img src=\"/url\" alt=\"Foo\" title=\"title\" /></p>\n"
|
16502 | },
|
16503 | {
|
16504 | "title": "cmark_spec_0.30: Images - example 591",
|
16505 | "mdast": {
|
16506 | "type": "root",
|
16507 | "children": [
|
16508 | {
|
16509 | "type": "paragraph",
|
16510 | "children": [
|
16511 | {
|
16512 | "type": "text",
|
16513 | "value": "![foo]"
|
16514 | }
|
16515 | ]
|
16516 | }
|
16517 | ]
|
16518 | },
|
16519 | "myst": "!\\[foo]\n\n[foo]: /url \"title\"\n",
|
16520 | "html": "<p>![foo]</p>\n"
|
16521 | },
|
16522 | {
|
16523 | "title": "cmark_spec_0.30: Images - example 592",
|
16524 | "mdast": {
|
16525 | "type": "root",
|
16526 | "children": [
|
16527 | {
|
16528 | "type": "paragraph",
|
16529 | "children": [
|
16530 | {
|
16531 | "type": "text",
|
16532 | "value": "!"
|
16533 | },
|
16534 | {
|
16535 | "type": "link",
|
16536 | "url": "/url",
|
16537 | "title": "title",
|
16538 | "children": [
|
16539 | {
|
16540 | "type": "text",
|
16541 | "value": "foo"
|
16542 | }
|
16543 | ]
|
16544 | }
|
16545 | ]
|
16546 | }
|
16547 | ]
|
16548 | },
|
16549 | "myst": "\\![foo]\n\n[foo]: /url \"title\"\n",
|
16550 | "html": "<p>!<a href=\"/url\" title=\"title\">foo</a></p>\n"
|
16551 | },
|
16552 | {
|
16553 | "title": "cmark_spec_0.30: Autolinks - example 593",
|
16554 | "mdast": {
|
16555 | "type": "root",
|
16556 | "children": [
|
16557 | {
|
16558 | "type": "paragraph",
|
16559 | "children": [
|
16560 | {
|
16561 | "type": "link",
|
16562 | "url": "http://foo.bar.baz",
|
16563 | "children": [
|
16564 | {
|
16565 | "type": "text",
|
16566 | "value": "http://foo.bar.baz"
|
16567 | }
|
16568 | ]
|
16569 | }
|
16570 | ]
|
16571 | }
|
16572 | ]
|
16573 | },
|
16574 | "myst": "<http://foo.bar.baz>\n",
|
16575 | "html": "<p><a href=\"http://foo.bar.baz\">http://foo.bar.baz</a></p>\n"
|
16576 | },
|
16577 | {
|
16578 | "title": "cmark_spec_0.30: Autolinks - example 594",
|
16579 | "mdast": {
|
16580 | "type": "root",
|
16581 | "children": [
|
16582 | {
|
16583 | "type": "paragraph",
|
16584 | "children": [
|
16585 | {
|
16586 | "type": "link",
|
16587 | "url": "http://foo.bar.baz/test?q=hello&id=22&boolean",
|
16588 | "children": [
|
16589 | {
|
16590 | "type": "text",
|
16591 | "value": "http://foo.bar.baz/test?q=hello&id=22&boolean"
|
16592 | }
|
16593 | ]
|
16594 | }
|
16595 | ]
|
16596 | }
|
16597 | ]
|
16598 | },
|
16599 | "myst": "<http://foo.bar.baz/test?q=hello&id=22&boolean>\n",
|
16600 | "html": "<p><a href=\"http://foo.bar.baz/test?q=hello&id=22&boolean\">http://foo.bar.baz/test?q=hello&id=22&boolean</a></p>\n"
|
16601 | },
|
16602 | {
|
16603 | "title": "cmark_spec_0.30: Autolinks - example 595",
|
16604 | "mdast": {
|
16605 | "type": "root",
|
16606 | "children": [
|
16607 | {
|
16608 | "type": "paragraph",
|
16609 | "children": [
|
16610 | {
|
16611 | "type": "link",
|
16612 | "url": "irc://foo.bar:2233/baz",
|
16613 | "children": [
|
16614 | {
|
16615 | "type": "text",
|
16616 | "value": "irc://foo.bar:2233/baz"
|
16617 | }
|
16618 | ]
|
16619 | }
|
16620 | ]
|
16621 | }
|
16622 | ]
|
16623 | },
|
16624 | "myst": "<irc://foo.bar:2233/baz>\n",
|
16625 | "html": "<p><a href=\"irc://foo.bar:2233/baz\">irc://foo.bar:2233/baz</a></p>\n"
|
16626 | },
|
16627 | {
|
16628 | "title": "cmark_spec_0.30: Autolinks - example 596",
|
16629 | "mdast": {
|
16630 | "type": "root",
|
16631 | "children": [
|
16632 | {
|
16633 | "type": "paragraph",
|
16634 | "children": [
|
16635 | {
|
16636 | "type": "link",
|
16637 | "url": "MAILTO:FOO@BAR.BAZ",
|
16638 | "children": [
|
16639 | {
|
16640 | "type": "text",
|
16641 | "value": "MAILTO:FOO@BAR.BAZ"
|
16642 | }
|
16643 | ]
|
16644 | }
|
16645 | ]
|
16646 | }
|
16647 | ]
|
16648 | },
|
16649 | "myst": "<MAILTO:FOO@BAR.BAZ>\n",
|
16650 | "html": "<p><a href=\"MAILTO:FOO@BAR.BAZ\">MAILTO:FOO@BAR.BAZ</a></p>\n"
|
16651 | },
|
16652 | {
|
16653 | "title": "cmark_spec_0.30: Autolinks - example 597",
|
16654 | "mdast": {
|
16655 | "type": "root",
|
16656 | "children": [
|
16657 | {
|
16658 | "type": "paragraph",
|
16659 | "children": [
|
16660 | {
|
16661 | "type": "link",
|
16662 | "url": "a+b+c:d",
|
16663 | "children": [
|
16664 | {
|
16665 | "type": "text",
|
16666 | "value": "a+b+c:d"
|
16667 | }
|
16668 | ]
|
16669 | }
|
16670 | ]
|
16671 | }
|
16672 | ]
|
16673 | },
|
16674 | "myst": "<a+b+c:d>\n",
|
16675 | "html": "<p><a href=\"a+b+c:d\">a+b+c:d</a></p>\n"
|
16676 | },
|
16677 | {
|
16678 | "title": "cmark_spec_0.30: Autolinks - example 598",
|
16679 | "mdast": {
|
16680 | "type": "root",
|
16681 | "children": [
|
16682 | {
|
16683 | "type": "paragraph",
|
16684 | "children": [
|
16685 | {
|
16686 | "type": "link",
|
16687 | "url": "made-up-scheme://foo,bar",
|
16688 | "children": [
|
16689 | {
|
16690 | "type": "text",
|
16691 | "value": "made-up-scheme://foo,bar"
|
16692 | }
|
16693 | ]
|
16694 | }
|
16695 | ]
|
16696 | }
|
16697 | ]
|
16698 | },
|
16699 | "myst": "<made-up-scheme://foo,bar>\n",
|
16700 | "html": "<p><a href=\"made-up-scheme://foo,bar\">made-up-scheme://foo,bar</a></p>\n"
|
16701 | },
|
16702 | {
|
16703 | "title": "cmark_spec_0.30: Autolinks - example 599",
|
16704 | "mdast": {
|
16705 | "type": "root",
|
16706 | "children": [
|
16707 | {
|
16708 | "type": "paragraph",
|
16709 | "children": [
|
16710 | {
|
16711 | "type": "link",
|
16712 | "url": "http://../",
|
16713 | "children": [
|
16714 | {
|
16715 | "type": "text",
|
16716 | "value": "http://../"
|
16717 | }
|
16718 | ]
|
16719 | }
|
16720 | ]
|
16721 | }
|
16722 | ]
|
16723 | },
|
16724 | "myst": "<http://../>\n",
|
16725 | "html": "<p><a href=\"http://../\">http://../</a></p>\n"
|
16726 | },
|
16727 | {
|
16728 | "title": "cmark_spec_0.30: Autolinks - example 600",
|
16729 | "mdast": {
|
16730 | "type": "root",
|
16731 | "children": [
|
16732 | {
|
16733 | "type": "paragraph",
|
16734 | "children": [
|
16735 | {
|
16736 | "type": "link",
|
16737 | "url": "localhost:5001/foo",
|
16738 | "children": [
|
16739 | {
|
16740 | "type": "text",
|
16741 | "value": "localhost:5001/foo"
|
16742 | }
|
16743 | ]
|
16744 | }
|
16745 | ]
|
16746 | }
|
16747 | ]
|
16748 | },
|
16749 | "myst": "<localhost:5001/foo>\n",
|
16750 | "html": "<p><a href=\"localhost:5001/foo\">localhost:5001/foo</a></p>\n"
|
16751 | },
|
16752 | {
|
16753 | "title": "cmark_spec_0.30: Autolinks - example 601",
|
16754 | "mdast": {
|
16755 | "type": "root",
|
16756 | "children": [
|
16757 | {
|
16758 | "type": "paragraph",
|
16759 | "children": [
|
16760 | {
|
16761 | "type": "text",
|
16762 | "value": "<http://foo.bar/baz bim>"
|
16763 | }
|
16764 | ]
|
16765 | }
|
16766 | ]
|
16767 | },
|
16768 | "myst": "<http://foo.bar/baz bim>\n",
|
16769 | "html": "<p><http://foo.bar/baz bim></p>\n"
|
16770 | },
|
16771 | {
|
16772 | "title": "cmark_spec_0.30: Autolinks - example 602",
|
16773 | "mdast": {
|
16774 | "type": "root",
|
16775 | "children": [
|
16776 | {
|
16777 | "type": "paragraph",
|
16778 | "children": [
|
16779 | {
|
16780 | "type": "link",
|
16781 | "url": "http://example.com/%5C%5B%5C",
|
16782 | "children": [
|
16783 | {
|
16784 | "type": "text",
|
16785 | "value": "http://example.com/\\[\\"
|
16786 | }
|
16787 | ]
|
16788 | }
|
16789 | ]
|
16790 | }
|
16791 | ]
|
16792 | },
|
16793 | "myst": "<http://example.com/\\[\\>\n",
|
16794 | "html": "<p><a href=\"http://example.com/%5C%5B%5C\">http://example.com/\\[\\</a></p>\n"
|
16795 | },
|
16796 | {
|
16797 | "title": "cmark_spec_0.30: Autolinks - example 603",
|
16798 | "mdast": {
|
16799 | "type": "root",
|
16800 | "children": [
|
16801 | {
|
16802 | "type": "paragraph",
|
16803 | "children": [
|
16804 | {
|
16805 | "type": "link",
|
16806 | "url": "mailto:foo@bar.example.com",
|
16807 | "children": [
|
16808 | {
|
16809 | "type": "text",
|
16810 | "value": "foo@bar.example.com"
|
16811 | }
|
16812 | ]
|
16813 | }
|
16814 | ]
|
16815 | }
|
16816 | ]
|
16817 | },
|
16818 | "myst": "<foo@bar.example.com>\n",
|
16819 | "html": "<p><a href=\"mailto:foo@bar.example.com\">foo@bar.example.com</a></p>\n"
|
16820 | },
|
16821 | {
|
16822 | "title": "cmark_spec_0.30: Autolinks - example 604",
|
16823 | "mdast": {
|
16824 | "type": "root",
|
16825 | "children": [
|
16826 | {
|
16827 | "type": "paragraph",
|
16828 | "children": [
|
16829 | {
|
16830 | "type": "link",
|
16831 | "url": "mailto:foo+special@Bar.baz-bar0.com",
|
16832 | "children": [
|
16833 | {
|
16834 | "type": "text",
|
16835 | "value": "foo+special@Bar.baz-bar0.com"
|
16836 | }
|
16837 | ]
|
16838 | }
|
16839 | ]
|
16840 | }
|
16841 | ]
|
16842 | },
|
16843 | "myst": "<foo+special@Bar.baz-bar0.com>\n",
|
16844 | "html": "<p><a href=\"mailto:foo+special@Bar.baz-bar0.com\">foo+special@Bar.baz-bar0.com</a></p>\n"
|
16845 | },
|
16846 | {
|
16847 | "title": "cmark_spec_0.30: Autolinks - example 605",
|
16848 | "mdast": {
|
16849 | "type": "root",
|
16850 | "children": [
|
16851 | {
|
16852 | "type": "paragraph",
|
16853 | "children": [
|
16854 | {
|
16855 | "type": "text",
|
16856 | "value": "<foo+@bar.example.com>"
|
16857 | }
|
16858 | ]
|
16859 | }
|
16860 | ]
|
16861 | },
|
16862 | "myst": "<foo\\+@bar.example.com>\n",
|
16863 | "html": "<p><foo+@bar.example.com></p>\n"
|
16864 | },
|
16865 | {
|
16866 | "title": "cmark_spec_0.30: Autolinks - example 606",
|
16867 | "mdast": {
|
16868 | "type": "root",
|
16869 | "children": [
|
16870 | {
|
16871 | "type": "paragraph",
|
16872 | "children": [
|
16873 | {
|
16874 | "type": "text",
|
16875 | "value": "<>"
|
16876 | }
|
16877 | ]
|
16878 | }
|
16879 | ]
|
16880 | },
|
16881 | "myst": "<>\n",
|
16882 | "html": "<p><></p>\n"
|
16883 | },
|
16884 | {
|
16885 | "title": "cmark_spec_0.30: Autolinks - example 607",
|
16886 | "mdast": {
|
16887 | "type": "root",
|
16888 | "children": [
|
16889 | {
|
16890 | "type": "paragraph",
|
16891 | "children": [
|
16892 | {
|
16893 | "type": "text",
|
16894 | "value": "< http://foo.bar >"
|
16895 | }
|
16896 | ]
|
16897 | }
|
16898 | ]
|
16899 | },
|
16900 | "myst": "< http://foo.bar >\n",
|
16901 | "html": "<p>< http://foo.bar ></p>\n"
|
16902 | },
|
16903 | {
|
16904 | "title": "cmark_spec_0.30: Autolinks - example 608",
|
16905 | "mdast": {
|
16906 | "type": "root",
|
16907 | "children": [
|
16908 | {
|
16909 | "type": "paragraph",
|
16910 | "children": [
|
16911 | {
|
16912 | "type": "text",
|
16913 | "value": "<m:abc>"
|
16914 | }
|
16915 | ]
|
16916 | }
|
16917 | ]
|
16918 | },
|
16919 | "myst": "<m:abc>\n",
|
16920 | "html": "<p><m:abc></p>\n"
|
16921 | },
|
16922 | {
|
16923 | "title": "cmark_spec_0.30: Autolinks - example 609",
|
16924 | "mdast": {
|
16925 | "type": "root",
|
16926 | "children": [
|
16927 | {
|
16928 | "type": "paragraph",
|
16929 | "children": [
|
16930 | {
|
16931 | "type": "text",
|
16932 | "value": "<foo.bar.baz>"
|
16933 | }
|
16934 | ]
|
16935 | }
|
16936 | ]
|
16937 | },
|
16938 | "myst": "<foo.bar.baz>\n",
|
16939 | "html": "<p><foo.bar.baz></p>\n"
|
16940 | },
|
16941 | {
|
16942 | "title": "cmark_spec_0.30: Autolinks - example 610",
|
16943 | "mdast": {
|
16944 | "type": "root",
|
16945 | "children": [
|
16946 | {
|
16947 | "type": "paragraph",
|
16948 | "children": [
|
16949 | {
|
16950 | "type": "text",
|
16951 | "value": "http://example.com"
|
16952 | }
|
16953 | ]
|
16954 | }
|
16955 | ]
|
16956 | },
|
16957 | "myst": "http://example.com\n",
|
16958 | "html": "<p>http://example.com</p>\n"
|
16959 | },
|
16960 | {
|
16961 | "title": "cmark_spec_0.30: Autolinks - example 611",
|
16962 | "mdast": {
|
16963 | "type": "root",
|
16964 | "children": [
|
16965 | {
|
16966 | "type": "paragraph",
|
16967 | "children": [
|
16968 | {
|
16969 | "type": "text",
|
16970 | "value": "foo@bar.example.com"
|
16971 | }
|
16972 | ]
|
16973 | }
|
16974 | ]
|
16975 | },
|
16976 | "myst": "foo@bar.example.com\n",
|
16977 | "html": "<p>foo@bar.example.com</p>\n"
|
16978 | },
|
16979 | {
|
16980 | "title": "cmark_spec_0.30: Raw HTML - example 612",
|
16981 | "mdast": {
|
16982 | "type": "root",
|
16983 | "children": [
|
16984 | {
|
16985 | "type": "paragraph",
|
16986 | "children": [
|
16987 | {
|
16988 | "type": "html",
|
16989 | "value": "<a>"
|
16990 | },
|
16991 | {
|
16992 | "type": "html",
|
16993 | "value": "<bab>"
|
16994 | },
|
16995 | {
|
16996 | "type": "html",
|
16997 | "value": "<c2c>"
|
16998 | }
|
16999 | ]
|
17000 | }
|
17001 | ]
|
17002 | },
|
17003 | "myst": "<a><bab><c2c>\n",
|
17004 | "html": "<p><a><bab><c2c></p>\n"
|
17005 | },
|
17006 | {
|
17007 | "title": "cmark_spec_0.30: Raw HTML - example 613",
|
17008 | "mdast": {
|
17009 | "type": "root",
|
17010 | "children": [
|
17011 | {
|
17012 | "type": "paragraph",
|
17013 | "children": [
|
17014 | {
|
17015 | "type": "html",
|
17016 | "value": "<a/>"
|
17017 | },
|
17018 | {
|
17019 | "type": "html",
|
17020 | "value": "<b2/>"
|
17021 | }
|
17022 | ]
|
17023 | }
|
17024 | ]
|
17025 | },
|
17026 | "myst": "<a/><b2/>\n",
|
17027 | "html": "<p><a/><b2/></p>\n"
|
17028 | },
|
17029 | {
|
17030 | "title": "cmark_spec_0.30: Raw HTML - example 614",
|
17031 | "mdast": {
|
17032 | "type": "root",
|
17033 | "children": [
|
17034 | {
|
17035 | "type": "paragraph",
|
17036 | "children": [
|
17037 | {
|
17038 | "type": "html",
|
17039 | "value": "<a />"
|
17040 | },
|
17041 | {
|
17042 | "type": "html",
|
17043 | "value": "<b2\ndata=\"foo\" >"
|
17044 | }
|
17045 | ]
|
17046 | }
|
17047 | ]
|
17048 | },
|
17049 | "myst": "<a /><b2\ndata=\"foo\" >\n",
|
17050 | "html": "<p><a /><b2\ndata=\"foo\" ></p>\n"
|
17051 | },
|
17052 | {
|
17053 | "title": "cmark_spec_0.30: Raw HTML - example 615",
|
17054 | "mdast": {
|
17055 | "type": "root",
|
17056 | "children": [
|
17057 | {
|
17058 | "type": "paragraph",
|
17059 | "children": [
|
17060 | {
|
17061 | "type": "html",
|
17062 | "value": "<a foo=\"bar\" bam = 'baz <em>\"</em>'\n_boolean zoop:33=zoop:33 />"
|
17063 | }
|
17064 | ]
|
17065 | }
|
17066 | ]
|
17067 | },
|
17068 | "myst": "<a foo=\"bar\" bam = 'baz <em>\"</em>'\n_boolean zoop:33=zoop:33 />\n",
|
17069 | "html": "<p><a foo=\"bar\" bam = 'baz <em>\"</em>'\n_boolean zoop:33=zoop:33 /></p>\n"
|
17070 | },
|
17071 | {
|
17072 | "title": "cmark_spec_0.30: Raw HTML - example 616",
|
17073 | "mdast": {
|
17074 | "type": "root",
|
17075 | "children": [
|
17076 | {
|
17077 | "type": "paragraph",
|
17078 | "children": [
|
17079 | {
|
17080 | "type": "text",
|
17081 | "value": "Foo "
|
17082 | },
|
17083 | {
|
17084 | "type": "html",
|
17085 | "value": "<responsive-image src=\"foo.jpg\" />"
|
17086 | }
|
17087 | ]
|
17088 | }
|
17089 | ]
|
17090 | },
|
17091 | "myst": "Foo <responsive-image src=\"foo.jpg\" />\n",
|
17092 | "html": "<p>Foo <responsive-image src=\"foo.jpg\" /></p>\n"
|
17093 | },
|
17094 | {
|
17095 | "title": "cmark_spec_0.30: Raw HTML - example 617",
|
17096 | "mdast": {
|
17097 | "type": "root",
|
17098 | "children": [
|
17099 | {
|
17100 | "type": "paragraph",
|
17101 | "children": [
|
17102 | {
|
17103 | "type": "text",
|
17104 | "value": "<33> <__>"
|
17105 | }
|
17106 | ]
|
17107 | }
|
17108 | ]
|
17109 | },
|
17110 | "myst": "<33> <__>\n",
|
17111 | "html": "<p><33> <__></p>\n"
|
17112 | },
|
17113 | {
|
17114 | "title": "cmark_spec_0.30: Raw HTML - example 618",
|
17115 | "mdast": {
|
17116 | "type": "root",
|
17117 | "children": [
|
17118 | {
|
17119 | "type": "paragraph",
|
17120 | "children": [
|
17121 | {
|
17122 | "type": "text",
|
17123 | "value": "<a h*#ref=\"hi\">"
|
17124 | }
|
17125 | ]
|
17126 | }
|
17127 | ]
|
17128 | },
|
17129 | "myst": "<a h*#ref=\"hi\">\n",
|
17130 | "html": "<p><a h*#ref="hi"></p>\n"
|
17131 | },
|
17132 | {
|
17133 | "title": "cmark_spec_0.30: Raw HTML - example 619",
|
17134 | "mdast": {
|
17135 | "type": "root",
|
17136 | "children": [
|
17137 | {
|
17138 | "type": "paragraph",
|
17139 | "children": [
|
17140 | {
|
17141 | "type": "text",
|
17142 | "value": "<a href=\"hi'> <a href=hi'>"
|
17143 | }
|
17144 | ]
|
17145 | }
|
17146 | ]
|
17147 | },
|
17148 | "myst": "<a href=\"hi'> <a href=hi'>\n",
|
17149 | "html": "<p><a href="hi'> <a href=hi'></p>\n"
|
17150 | },
|
17151 | {
|
17152 | "title": "cmark_spec_0.30: Raw HTML - example 620",
|
17153 | "mdast": {
|
17154 | "type": "root",
|
17155 | "children": [
|
17156 | {
|
17157 | "type": "paragraph",
|
17158 | "children": [
|
17159 | {
|
17160 | "type": "text",
|
17161 | "value": "< a><\nfoo><bar/ >\n<foo bar=baz\nbim!bop />"
|
17162 | }
|
17163 | ]
|
17164 | }
|
17165 | ]
|
17166 | },
|
17167 | "myst": "< a><\nfoo><bar/ >\n<foo bar=baz\nbim!bop />\n",
|
17168 | "html": "<p>< a><\nfoo><bar/ >\n<foo bar=baz\nbim!bop /></p>\n"
|
17169 | },
|
17170 | {
|
17171 | "title": "cmark_spec_0.30: Raw HTML - example 621",
|
17172 | "mdast": {
|
17173 | "type": "root",
|
17174 | "children": [
|
17175 | {
|
17176 | "type": "paragraph",
|
17177 | "children": [
|
17178 | {
|
17179 | "type": "text",
|
17180 | "value": "<a href='bar'title=title>"
|
17181 | }
|
17182 | ]
|
17183 | }
|
17184 | ]
|
17185 | },
|
17186 | "myst": "<a href='bar'title=title>\n",
|
17187 | "html": "<p><a href='bar'title=title></p>\n"
|
17188 | },
|
17189 | {
|
17190 | "title": "cmark_spec_0.30: Raw HTML - example 622",
|
17191 | "mdast": {
|
17192 | "type": "root",
|
17193 | "children": [
|
17194 | {
|
17195 | "type": "paragraph",
|
17196 | "children": [
|
17197 | {
|
17198 | "type": "html",
|
17199 | "value": "</a>"
|
17200 | },
|
17201 | {
|
17202 | "type": "html",
|
17203 | "value": "</foo >"
|
17204 | }
|
17205 | ]
|
17206 | }
|
17207 | ]
|
17208 | },
|
17209 | "myst": "</a></foo >\n",
|
17210 | "html": "<p></a></foo ></p>\n"
|
17211 | },
|
17212 | {
|
17213 | "title": "cmark_spec_0.30: Raw HTML - example 623",
|
17214 | "mdast": {
|
17215 | "type": "root",
|
17216 | "children": [
|
17217 | {
|
17218 | "type": "paragraph",
|
17219 | "children": [
|
17220 | {
|
17221 | "type": "text",
|
17222 | "value": "</a href=\"foo\">"
|
17223 | }
|
17224 | ]
|
17225 | }
|
17226 | ]
|
17227 | },
|
17228 | "myst": "</a href=\"foo\">\n",
|
17229 | "html": "<p></a href="foo"></p>\n"
|
17230 | },
|
17231 | {
|
17232 | "title": "cmark_spec_0.30: Raw HTML - example 624",
|
17233 | "mdast": {
|
17234 | "type": "root",
|
17235 | "children": [
|
17236 | {
|
17237 | "type": "paragraph",
|
17238 | "children": [
|
17239 | {
|
17240 | "type": "text",
|
17241 | "value": "foo "
|
17242 | },
|
17243 | {
|
17244 | "type": "html",
|
17245 | "value": "<!-- this is a\ncomment - with hyphen -->"
|
17246 | }
|
17247 | ]
|
17248 | }
|
17249 | ]
|
17250 | },
|
17251 | "myst": "foo <!-- this is a\ncomment - with hyphen -->\n",
|
17252 | "html": "<p>foo <!-- this is a\ncomment - with hyphen --></p>\n"
|
17253 | },
|
17254 | {
|
17255 | "title": "cmark_spec_0.30: Raw HTML - example 625",
|
17256 | "mdast": {
|
17257 | "type": "root",
|
17258 | "children": [
|
17259 | {
|
17260 | "type": "paragraph",
|
17261 | "children": [
|
17262 | {
|
17263 | "type": "text",
|
17264 | "value": "foo <!-- not a comment -- two hyphens -->"
|
17265 | }
|
17266 | ]
|
17267 | }
|
17268 | ]
|
17269 | },
|
17270 | "myst": "foo <!-- not a comment -- two hyphens -->\n",
|
17271 | "html": "<p>foo <!-- not a comment -- two hyphens --></p>\n"
|
17272 | },
|
17273 | {
|
17274 | "title": "cmark_spec_0.30: Raw HTML - example 626",
|
17275 | "mdast": {
|
17276 | "type": "root",
|
17277 | "children": [
|
17278 | {
|
17279 | "type": "paragraph",
|
17280 | "children": [
|
17281 | {
|
17282 | "type": "text",
|
17283 | "value": "foo <!--> foo -->"
|
17284 | }
|
17285 | ]
|
17286 | },
|
17287 | {
|
17288 | "type": "paragraph",
|
17289 | "children": [
|
17290 | {
|
17291 | "type": "text",
|
17292 | "value": "foo <!-- foo--->"
|
17293 | }
|
17294 | ]
|
17295 | }
|
17296 | ]
|
17297 | },
|
17298 | "myst": "foo <!--> foo -->\n\nfoo <!-- foo--->\n",
|
17299 | "html": "<p>foo <!--> foo --></p>\n<p>foo <!-- foo---></p>\n"
|
17300 | },
|
17301 | {
|
17302 | "title": "cmark_spec_0.30: Raw HTML - example 627",
|
17303 | "mdast": {
|
17304 | "type": "root",
|
17305 | "children": [
|
17306 | {
|
17307 | "type": "paragraph",
|
17308 | "children": [
|
17309 | {
|
17310 | "type": "text",
|
17311 | "value": "foo "
|
17312 | },
|
17313 | {
|
17314 | "type": "html",
|
17315 | "value": "<?php echo $a; ?>"
|
17316 | }
|
17317 | ]
|
17318 | }
|
17319 | ]
|
17320 | },
|
17321 | "myst": "foo <?php echo $a; ?>\n",
|
17322 | "html": "<p>foo <?php echo $a; ?></p>\n"
|
17323 | },
|
17324 | {
|
17325 | "title": "cmark_spec_0.30: Raw HTML - example 628",
|
17326 | "mdast": {
|
17327 | "type": "root",
|
17328 | "children": [
|
17329 | {
|
17330 | "type": "paragraph",
|
17331 | "children": [
|
17332 | {
|
17333 | "type": "text",
|
17334 | "value": "foo "
|
17335 | },
|
17336 | {
|
17337 | "type": "html",
|
17338 | "value": "<!ELEMENT br EMPTY>"
|
17339 | }
|
17340 | ]
|
17341 | }
|
17342 | ]
|
17343 | },
|
17344 | "myst": "foo <!ELEMENT br EMPTY>\n",
|
17345 | "html": "<p>foo <!ELEMENT br EMPTY></p>\n"
|
17346 | },
|
17347 | {
|
17348 | "title": "cmark_spec_0.30: Raw HTML - example 629",
|
17349 | "mdast": {
|
17350 | "type": "root",
|
17351 | "children": [
|
17352 | {
|
17353 | "type": "paragraph",
|
17354 | "children": [
|
17355 | {
|
17356 | "type": "text",
|
17357 | "value": "foo "
|
17358 | },
|
17359 | {
|
17360 | "type": "html",
|
17361 | "value": "<![CDATA[>&<]]>"
|
17362 | }
|
17363 | ]
|
17364 | }
|
17365 | ]
|
17366 | },
|
17367 | "myst": "foo <![CDATA[>&<]]>\n",
|
17368 | "html": "<p>foo <![CDATA[>&<]]></p>\n"
|
17369 | },
|
17370 | {
|
17371 | "title": "cmark_spec_0.30: Raw HTML - example 630",
|
17372 | "mdast": {
|
17373 | "type": "root",
|
17374 | "children": [
|
17375 | {
|
17376 | "type": "paragraph",
|
17377 | "children": [
|
17378 | {
|
17379 | "type": "text",
|
17380 | "value": "foo "
|
17381 | },
|
17382 | {
|
17383 | "type": "html",
|
17384 | "value": "<a href=\"ö\">"
|
17385 | }
|
17386 | ]
|
17387 | }
|
17388 | ]
|
17389 | },
|
17390 | "myst": "foo <a href=\"ö\">\n",
|
17391 | "html": "<p>foo <a href=\"ö\"></p>\n"
|
17392 | },
|
17393 | {
|
17394 | "title": "cmark_spec_0.30: Raw HTML - example 631",
|
17395 | "mdast": {
|
17396 | "type": "root",
|
17397 | "children": [
|
17398 | {
|
17399 | "type": "paragraph",
|
17400 | "children": [
|
17401 | {
|
17402 | "type": "text",
|
17403 | "value": "foo "
|
17404 | },
|
17405 | {
|
17406 | "type": "html",
|
17407 | "value": "<a href=\"\\*\">"
|
17408 | }
|
17409 | ]
|
17410 | }
|
17411 | ]
|
17412 | },
|
17413 | "myst": "foo <a href=\"\\*\">\n",
|
17414 | "html": "<p>foo <a href=\"\\*\"></p>\n"
|
17415 | },
|
17416 | {
|
17417 | "title": "cmark_spec_0.30: Raw HTML - example 632",
|
17418 | "mdast": {
|
17419 | "type": "root",
|
17420 | "children": [
|
17421 | {
|
17422 | "type": "paragraph",
|
17423 | "children": [
|
17424 | {
|
17425 | "type": "text",
|
17426 | "value": "<a href=\"\"\">"
|
17427 | }
|
17428 | ]
|
17429 | }
|
17430 | ]
|
17431 | },
|
17432 | "myst": "<a href=\"\\\"\">\n",
|
17433 | "html": "<p><a href="""></p>\n"
|
17434 | },
|
17435 | {
|
17436 | "title": "cmark_spec_0.30: Hard line breaks - example 633",
|
17437 | "mdast": {
|
17438 | "type": "root",
|
17439 | "children": [
|
17440 | {
|
17441 | "type": "paragraph",
|
17442 | "children": [
|
17443 | {
|
17444 | "type": "text",
|
17445 | "value": "foo"
|
17446 | },
|
17447 | {
|
17448 | "type": "break"
|
17449 | },
|
17450 | {
|
17451 | "type": "text",
|
17452 | "value": "baz"
|
17453 | }
|
17454 | ]
|
17455 | }
|
17456 | ]
|
17457 | },
|
17458 | "myst": "foo \nbaz\n",
|
17459 | "html": "<p>foo<br />\nbaz</p>\n"
|
17460 | },
|
17461 | {
|
17462 | "title": "cmark_spec_0.30: Hard line breaks - example 634",
|
17463 | "mdast": {
|
17464 | "type": "root",
|
17465 | "children": [
|
17466 | {
|
17467 | "type": "paragraph",
|
17468 | "children": [
|
17469 | {
|
17470 | "type": "text",
|
17471 | "value": "foo"
|
17472 | },
|
17473 | {
|
17474 | "type": "break"
|
17475 | },
|
17476 | {
|
17477 | "type": "text",
|
17478 | "value": "baz"
|
17479 | }
|
17480 | ]
|
17481 | }
|
17482 | ]
|
17483 | },
|
17484 | "myst": "foo\\\nbaz\n",
|
17485 | "html": "<p>foo<br />\nbaz</p>\n"
|
17486 | },
|
17487 | {
|
17488 | "title": "cmark_spec_0.30: Hard line breaks - example 635",
|
17489 | "mdast": {
|
17490 | "type": "root",
|
17491 | "children": [
|
17492 | {
|
17493 | "type": "paragraph",
|
17494 | "children": [
|
17495 | {
|
17496 | "type": "text",
|
17497 | "value": "foo"
|
17498 | },
|
17499 | {
|
17500 | "type": "break"
|
17501 | },
|
17502 | {
|
17503 | "type": "text",
|
17504 | "value": "baz"
|
17505 | }
|
17506 | ]
|
17507 | }
|
17508 | ]
|
17509 | },
|
17510 | "myst": "foo \nbaz\n",
|
17511 | "html": "<p>foo<br />\nbaz</p>\n"
|
17512 | },
|
17513 | {
|
17514 | "title": "cmark_spec_0.30: Hard line breaks - example 636",
|
17515 | "mdast": {
|
17516 | "type": "root",
|
17517 | "children": [
|
17518 | {
|
17519 | "type": "paragraph",
|
17520 | "children": [
|
17521 | {
|
17522 | "type": "text",
|
17523 | "value": "foo"
|
17524 | },
|
17525 | {
|
17526 | "type": "break"
|
17527 | },
|
17528 | {
|
17529 | "type": "text",
|
17530 | "value": "bar"
|
17531 | }
|
17532 | ]
|
17533 | }
|
17534 | ]
|
17535 | },
|
17536 | "myst": "foo \n bar\n",
|
17537 | "html": "<p>foo<br />\nbar</p>\n"
|
17538 | },
|
17539 | {
|
17540 | "title": "cmark_spec_0.30: Hard line breaks - example 637",
|
17541 | "mdast": {
|
17542 | "type": "root",
|
17543 | "children": [
|
17544 | {
|
17545 | "type": "paragraph",
|
17546 | "children": [
|
17547 | {
|
17548 | "type": "text",
|
17549 | "value": "foo"
|
17550 | },
|
17551 | {
|
17552 | "type": "break"
|
17553 | },
|
17554 | {
|
17555 | "type": "text",
|
17556 | "value": "bar"
|
17557 | }
|
17558 | ]
|
17559 | }
|
17560 | ]
|
17561 | },
|
17562 | "myst": "foo\\\n bar\n",
|
17563 | "html": "<p>foo<br />\nbar</p>\n"
|
17564 | },
|
17565 | {
|
17566 | "title": "cmark_spec_0.30: Hard line breaks - example 638",
|
17567 | "mdast": {
|
17568 | "type": "root",
|
17569 | "children": [
|
17570 | {
|
17571 | "type": "paragraph",
|
17572 | "children": [
|
17573 | {
|
17574 | "type": "emphasis",
|
17575 | "children": [
|
17576 | {
|
17577 | "type": "text",
|
17578 | "value": "foo"
|
17579 | },
|
17580 | {
|
17581 | "type": "break"
|
17582 | },
|
17583 | {
|
17584 | "type": "text",
|
17585 | "value": "bar"
|
17586 | }
|
17587 | ]
|
17588 | }
|
17589 | ]
|
17590 | }
|
17591 | ]
|
17592 | },
|
17593 | "myst": "*foo \nbar*\n",
|
17594 | "html": "<p><em>foo<br />\nbar</em></p>\n"
|
17595 | },
|
17596 | {
|
17597 | "title": "cmark_spec_0.30: Hard line breaks - example 639",
|
17598 | "mdast": {
|
17599 | "type": "root",
|
17600 | "children": [
|
17601 | {
|
17602 | "type": "paragraph",
|
17603 | "children": [
|
17604 | {
|
17605 | "type": "emphasis",
|
17606 | "children": [
|
17607 | {
|
17608 | "type": "text",
|
17609 | "value": "foo"
|
17610 | },
|
17611 | {
|
17612 | "type": "break"
|
17613 | },
|
17614 | {
|
17615 | "type": "text",
|
17616 | "value": "bar"
|
17617 | }
|
17618 | ]
|
17619 | }
|
17620 | ]
|
17621 | }
|
17622 | ]
|
17623 | },
|
17624 | "myst": "*foo\\\nbar*\n",
|
17625 | "html": "<p><em>foo<br />\nbar</em></p>\n"
|
17626 | },
|
17627 | {
|
17628 | "title": "cmark_spec_0.30: Hard line breaks - example 640",
|
17629 | "mdast": {
|
17630 | "type": "root",
|
17631 | "children": [
|
17632 | {
|
17633 | "type": "paragraph",
|
17634 | "children": [
|
17635 | {
|
17636 | "type": "inlineCode",
|
17637 | "value": "code span"
|
17638 | }
|
17639 | ]
|
17640 | }
|
17641 | ]
|
17642 | },
|
17643 | "myst": "`code \nspan`\n",
|
17644 | "html": "<p><code>code span</code></p>\n"
|
17645 | },
|
17646 | {
|
17647 | "title": "cmark_spec_0.30: Hard line breaks - example 641",
|
17648 | "mdast": {
|
17649 | "type": "root",
|
17650 | "children": [
|
17651 | {
|
17652 | "type": "paragraph",
|
17653 | "children": [
|
17654 | {
|
17655 | "type": "inlineCode",
|
17656 | "value": "code\\ span"
|
17657 | }
|
17658 | ]
|
17659 | }
|
17660 | ]
|
17661 | },
|
17662 | "myst": "`code\\\nspan`\n",
|
17663 | "html": "<p><code>code\\ span</code></p>\n"
|
17664 | },
|
17665 | {
|
17666 | "title": "cmark_spec_0.30: Hard line breaks - example 642",
|
17667 | "mdast": {
|
17668 | "type": "root",
|
17669 | "children": [
|
17670 | {
|
17671 | "type": "paragraph",
|
17672 | "children": [
|
17673 | {
|
17674 | "type": "html",
|
17675 | "value": "<a href=\"foo \nbar\">"
|
17676 | }
|
17677 | ]
|
17678 | }
|
17679 | ]
|
17680 | },
|
17681 | "myst": "<a href=\"foo \nbar\">\n",
|
17682 | "html": "<p><a href=\"foo \nbar\"></p>\n"
|
17683 | },
|
17684 | {
|
17685 | "title": "cmark_spec_0.30: Hard line breaks - example 643",
|
17686 | "mdast": {
|
17687 | "type": "root",
|
17688 | "children": [
|
17689 | {
|
17690 | "type": "paragraph",
|
17691 | "children": [
|
17692 | {
|
17693 | "type": "html",
|
17694 | "value": "<a href=\"foo\\\nbar\">"
|
17695 | }
|
17696 | ]
|
17697 | }
|
17698 | ]
|
17699 | },
|
17700 | "myst": "<a href=\"foo\\\nbar\">\n",
|
17701 | "html": "<p><a href=\"foo\\\nbar\"></p>\n"
|
17702 | },
|
17703 | {
|
17704 | "title": "cmark_spec_0.30: Hard line breaks - example 644",
|
17705 | "mdast": {
|
17706 | "type": "root",
|
17707 | "children": [
|
17708 | {
|
17709 | "type": "paragraph",
|
17710 | "children": [
|
17711 | {
|
17712 | "type": "text",
|
17713 | "value": "foo\\"
|
17714 | }
|
17715 | ]
|
17716 | }
|
17717 | ]
|
17718 | },
|
17719 | "myst": "foo\\\n",
|
17720 | "html": "<p>foo\\</p>\n"
|
17721 | },
|
17722 | {
|
17723 | "title": "cmark_spec_0.30: Hard line breaks - example 645",
|
17724 | "mdast": {
|
17725 | "type": "root",
|
17726 | "children": [
|
17727 | {
|
17728 | "type": "paragraph",
|
17729 | "children": [
|
17730 | {
|
17731 | "type": "text",
|
17732 | "value": "foo"
|
17733 | }
|
17734 | ]
|
17735 | }
|
17736 | ]
|
17737 | },
|
17738 | "myst": "foo\n",
|
17739 | "html": "<p>foo</p>\n"
|
17740 | },
|
17741 | {
|
17742 | "title": "cmark_spec_0.30: Hard line breaks - example 646",
|
17743 | "mdast": {
|
17744 | "type": "root",
|
17745 | "children": [
|
17746 | {
|
17747 | "type": "heading",
|
17748 | "depth": 3,
|
17749 | "children": [
|
17750 | {
|
17751 | "type": "text",
|
17752 | "value": "foo\\"
|
17753 | }
|
17754 | ]
|
17755 | }
|
17756 | ]
|
17757 | },
|
17758 | "myst": "### foo\\\n",
|
17759 | "html": "<h3>foo\\</h3>\n"
|
17760 | },
|
17761 | {
|
17762 | "title": "cmark_spec_0.30: Hard line breaks - example 647",
|
17763 | "mdast": {
|
17764 | "type": "root",
|
17765 | "children": [
|
17766 | {
|
17767 | "type": "heading",
|
17768 | "depth": 3,
|
17769 | "children": [
|
17770 | {
|
17771 | "type": "text",
|
17772 | "value": "foo"
|
17773 | }
|
17774 | ]
|
17775 | }
|
17776 | ]
|
17777 | },
|
17778 | "myst": "### foo\n",
|
17779 | "html": "<h3>foo</h3>\n"
|
17780 | },
|
17781 | {
|
17782 | "title": "cmark_spec_0.30: Soft line breaks - example 648",
|
17783 | "mdast": {
|
17784 | "type": "root",
|
17785 | "children": [
|
17786 | {
|
17787 | "type": "paragraph",
|
17788 | "children": [
|
17789 | {
|
17790 | "type": "text",
|
17791 | "value": "foo\nbaz"
|
17792 | }
|
17793 | ]
|
17794 | }
|
17795 | ]
|
17796 | },
|
17797 | "myst": "foo\nbaz\n",
|
17798 | "html": "<p>foo\nbaz</p>\n"
|
17799 | },
|
17800 | {
|
17801 | "title": "cmark_spec_0.30: Soft line breaks - example 649",
|
17802 | "mdast": {
|
17803 | "type": "root",
|
17804 | "children": [
|
17805 | {
|
17806 | "type": "paragraph",
|
17807 | "children": [
|
17808 | {
|
17809 | "type": "text",
|
17810 | "value": "foo\nbaz"
|
17811 | }
|
17812 | ]
|
17813 | }
|
17814 | ]
|
17815 | },
|
17816 | "myst": "foo \n baz\n",
|
17817 | "html": "<p>foo\nbaz</p>\n"
|
17818 | },
|
17819 | {
|
17820 | "title": "cmark_spec_0.30: Textual content - example 650",
|
17821 | "mdast": {
|
17822 | "type": "root",
|
17823 | "children": [
|
17824 | {
|
17825 | "type": "paragraph",
|
17826 | "children": [
|
17827 | {
|
17828 | "type": "text",
|
17829 | "value": "hello $.;'there"
|
17830 | }
|
17831 | ]
|
17832 | }
|
17833 | ]
|
17834 | },
|
17835 | "myst": "hello $.;'there\n",
|
17836 | "html": "<p>hello $.;'there</p>\n"
|
17837 | },
|
17838 | {
|
17839 | "title": "cmark_spec_0.30: Textual content - example 651",
|
17840 | "mdast": {
|
17841 | "type": "root",
|
17842 | "children": [
|
17843 | {
|
17844 | "type": "paragraph",
|
17845 | "children": [
|
17846 | {
|
17847 | "type": "text",
|
17848 | "value": "Foo χρῆν"
|
17849 | }
|
17850 | ]
|
17851 | }
|
17852 | ]
|
17853 | },
|
17854 | "myst": "Foo χρῆν\n",
|
17855 | "html": "<p>Foo χρῆν</p>\n"
|
17856 | },
|
17857 | {
|
17858 | "title": "cmark_spec_0.30: Textual content - example 652",
|
17859 | "mdast": {
|
17860 | "type": "root",
|
17861 | "children": [
|
17862 | {
|
17863 | "type": "paragraph",
|
17864 | "children": [
|
17865 | {
|
17866 | "type": "text",
|
17867 | "value": "Multiple spaces"
|
17868 | }
|
17869 | ]
|
17870 | }
|
17871 | ]
|
17872 | },
|
17873 | "myst": "Multiple spaces\n",
|
17874 | "html": "<p>Multiple spaces</p>\n"
|
17875 | },
|
17876 | {
|
17877 | "title": "comments: Simple comment",
|
17878 | "mdast": {
|
17879 | "type": "root",
|
17880 | "children": [
|
17881 | {
|
17882 | "type": "mystComment",
|
17883 | "value": "A comment"
|
17884 | }
|
17885 | ]
|
17886 | },
|
17887 | "myst": "% A comment",
|
17888 | "html": "<!--A comment-->\n"
|
17889 | },
|
17890 | {
|
17891 | "title": "comments: Comment between paragraphs",
|
17892 | "mdast": {
|
17893 | "type": "root",
|
17894 | "children": [
|
17895 | {
|
17896 | "type": "paragraph",
|
17897 | "children": [
|
17898 | {
|
17899 | "type": "text",
|
17900 | "value": "Something"
|
17901 | }
|
17902 | ]
|
17903 | },
|
17904 | {
|
17905 | "type": "mystComment",
|
17906 | "value": "A comment"
|
17907 | },
|
17908 | {
|
17909 | "type": "paragraph",
|
17910 | "children": [
|
17911 | {
|
17912 | "type": "text",
|
17913 | "value": "Something else"
|
17914 | }
|
17915 | ]
|
17916 | }
|
17917 | ]
|
17918 | },
|
17919 | "myst": "Something\n% A comment\nSomething else",
|
17920 | "html": "<p>Something</p><!--A comment-->\n<p>Something else</p>\n"
|
17921 | },
|
17922 | {
|
17923 | "title": "comments: Comment with script tag",
|
17924 | "mdast": {
|
17925 | "type": "root",
|
17926 | "children": [
|
17927 | {
|
17928 | "type": "paragraph",
|
17929 | "children": [
|
17930 | {
|
17931 | "type": "text",
|
17932 | "value": "Something"
|
17933 | }
|
17934 | ]
|
17935 | },
|
17936 | {
|
17937 | "type": "mystComment",
|
17938 | "value": "A comment --> <script>"
|
17939 | },
|
17940 | {
|
17941 | "type": "paragraph",
|
17942 | "children": [
|
17943 | {
|
17944 | "type": "text",
|
17945 | "value": "Something else"
|
17946 | }
|
17947 | ]
|
17948 | }
|
17949 | ]
|
17950 | },
|
17951 | "myst": "Something\n% A comment --> <script>\nSomething else",
|
17952 | "html": "<p>Something</p><!--A comment --> <script>-->\n<p>Something else</p>\n"
|
17953 | },
|
17954 | {
|
17955 | "title": "commonmark.breaks: CommonMark hard breaks",
|
17956 | "mdast": {
|
17957 | "type": "root",
|
17958 | "children": [
|
17959 | {
|
17960 | "type": "paragraph",
|
17961 | "children": [
|
17962 | {
|
17963 | "type": "text",
|
17964 | "value": "hard"
|
17965 | },
|
17966 | {
|
17967 | "type": "break"
|
17968 | },
|
17969 | {
|
17970 | "type": "text",
|
17971 | "value": "break"
|
17972 | }
|
17973 | ]
|
17974 | }
|
17975 | ]
|
17976 | },
|
17977 | "myst": "hard\\\nbreak",
|
17978 | "html": "<p>hard<br>break</p>\n"
|
17979 | },
|
17980 | {
|
17981 | "title": "commonmark.breaks: CommonMark thematic breaks",
|
17982 | "mdast": {
|
17983 | "type": "root",
|
17984 | "children": [
|
17985 | {
|
17986 | "type": "paragraph",
|
17987 | "children": [
|
17988 | {
|
17989 | "type": "text",
|
17990 | "value": "thematic"
|
17991 | }
|
17992 | ]
|
17993 | },
|
17994 | {
|
17995 | "type": "thematicBreak"
|
17996 | },
|
17997 | {
|
17998 | "type": "paragraph",
|
17999 | "children": [
|
18000 | {
|
18001 | "type": "text",
|
18002 | "value": "break"
|
18003 | }
|
18004 | ]
|
18005 | }
|
18006 | ]
|
18007 | },
|
18008 | "myst": "thematic\n\n---\n\nbreak",
|
18009 | "html": "<p>thematic</p>\n<hr>\n<p>break</p>\n"
|
18010 | },
|
18011 | {
|
18012 | "title": "commonmark.code: CommonMark code block",
|
18013 | "mdast": {
|
18014 | "type": "root",
|
18015 | "children": [
|
18016 | {
|
18017 | "type": "code",
|
18018 | "lang": "",
|
18019 | "value": "print('this is python')"
|
18020 | }
|
18021 | ]
|
18022 | },
|
18023 | "myst": "```\nprint('this is python')\n```",
|
18024 | "html": "<pre><code>print('this is python')\n</code></pre>\n"
|
18025 | },
|
18026 | {
|
18027 | "title": "commonmark.code: CommonMark python code block",
|
18028 | "mdast": {
|
18029 | "type": "root",
|
18030 | "children": [
|
18031 | {
|
18032 | "type": "code",
|
18033 | "lang": "python",
|
18034 | "value": "print('this is python')"
|
18035 | }
|
18036 | ]
|
18037 | },
|
18038 | "myst": "```python\nprint('this is python')\n```",
|
18039 | "html": "<pre><code class=\"language-python\">print('this is python')\n</code></pre>\n"
|
18040 | },
|
18041 | {
|
18042 | "title": "commonmark.code: CommonMark indented code block",
|
18043 | "mdast": {
|
18044 | "type": "root",
|
18045 | "children": [
|
18046 | {
|
18047 | "type": "paragraph",
|
18048 | "children": [
|
18049 | {
|
18050 | "type": "text",
|
18051 | "value": "Some JSON:"
|
18052 | }
|
18053 | ]
|
18054 | },
|
18055 | {
|
18056 | "type": "code",
|
18057 | "lang": "",
|
18058 | "value": "{\n 'literal': '*text*'\n}"
|
18059 | }
|
18060 | ]
|
18061 | },
|
18062 | "myst": "Some JSON:\n\n {\n 'literal': '*text*'\n }",
|
18063 | "html": "<p>Some JSON:</p>\n<pre><code>{\n 'literal': '*text*'\n}\n</code></pre>\n"
|
18064 | },
|
18065 | {
|
18066 | "title": "commonmark.headings: CommonMark headings",
|
18067 | "mdast": {
|
18068 | "type": "root",
|
18069 | "children": [
|
18070 | {
|
18071 | "type": "heading",
|
18072 | "depth": 3,
|
18073 | "children": [
|
18074 | {
|
18075 | "type": "text",
|
18076 | "value": "Heading!"
|
18077 | }
|
18078 | ]
|
18079 | }
|
18080 | ]
|
18081 | },
|
18082 | "myst": "### Heading!",
|
18083 | "html": "<h3>Heading!</h3>\n"
|
18084 | },
|
18085 | {
|
18086 | "title": "commonmark.headings: CommonMark setext headings",
|
18087 | "mdast": {
|
18088 | "type": "root",
|
18089 | "children": [
|
18090 | {
|
18091 | "type": "heading",
|
18092 | "depth": 1,
|
18093 | "children": [
|
18094 | {
|
18095 | "type": "text",
|
18096 | "value": "Heading 1"
|
18097 | }
|
18098 | ]
|
18099 | },
|
18100 | {
|
18101 | "type": "heading",
|
18102 | "depth": 2,
|
18103 | "children": [
|
18104 | {
|
18105 | "type": "text",
|
18106 | "value": "Heading 2"
|
18107 | }
|
18108 | ]
|
18109 | }
|
18110 | ]
|
18111 | },
|
18112 | "myst": "Heading 1\n=========\n\nHeading 2\n---------",
|
18113 | "html": "<h1>Heading 1</h1>\n<h2>Heading 2</h2>\n"
|
18114 | },
|
18115 | {
|
18116 | "title": "commonmark.html: CommonMark HTML",
|
18117 | "mdast": {
|
18118 | "type": "root",
|
18119 | "children": [
|
18120 | {
|
18121 | "type": "html",
|
18122 | "value": "<div><p>*some text*</p></div>"
|
18123 | }
|
18124 | ]
|
18125 | },
|
18126 | "myst": "<div><p>*some text*</p></div>",
|
18127 | "html": "<div><p>*some text*</p></div>\n"
|
18128 | },
|
18129 | {
|
18130 | "title": "commonmark.links: CommonMark auto link",
|
18131 | "mdast": {
|
18132 | "type": "root",
|
18133 | "children": [
|
18134 | {
|
18135 | "type": "paragraph",
|
18136 | "children": [
|
18137 | {
|
18138 | "type": "text",
|
18139 | "value": "Search engine: "
|
18140 | },
|
18141 | {
|
18142 | "type": "link",
|
18143 | "url": "https://www.google.com",
|
18144 | "children": [
|
18145 | {
|
18146 | "type": "text",
|
18147 | "value": "https://www.google.com"
|
18148 | }
|
18149 | ]
|
18150 | }
|
18151 | ]
|
18152 | }
|
18153 | ]
|
18154 | },
|
18155 | "myst": "Search engine: <https://www.google.com>",
|
18156 | "html": "<p>Search engine: <a href=\"https://www.google.com\">https://www.google.com</a></p>\n"
|
18157 | },
|
18158 | {
|
18159 | "title": "commonmark.links: CommonMark inline link",
|
18160 | "mdast": {
|
18161 | "type": "root",
|
18162 | "children": [
|
18163 | {
|
18164 | "type": "paragraph",
|
18165 | "children": [
|
18166 | {
|
18167 | "type": "link",
|
18168 | "url": "https://www.google.com",
|
18169 | "title": "Google",
|
18170 | "children": [
|
18171 | {
|
18172 | "type": "text",
|
18173 | "value": "search engine"
|
18174 | }
|
18175 | ]
|
18176 | }
|
18177 | ]
|
18178 | }
|
18179 | ]
|
18180 | },
|
18181 | "myst": "[search engine](https://www.google.com \"Google\")",
|
18182 | "html": "<p><a href=\"https://www.google.com\" title=\"Google\">search engine</a></p>\n"
|
18183 | },
|
18184 | {
|
18185 | "title": "commonmark.links: CommonMark inline image",
|
18186 | "mdast": {
|
18187 | "type": "root",
|
18188 | "children": [
|
18189 | {
|
18190 | "type": "paragraph",
|
18191 | "children": [
|
18192 | {
|
18193 | "type": "image",
|
18194 | "url": "src",
|
18195 | "alt": "alt",
|
18196 | "title": "title"
|
18197 | }
|
18198 | ]
|
18199 | }
|
18200 | ]
|
18201 | },
|
18202 | "myst": "![alt](src \"title\")",
|
18203 | "html": "<p>\n <img src=\"src\" alt=\"alt\" title=\"title\">\n</p>\n"
|
18204 | },
|
18205 | {
|
18206 | "title": "commonmark.lists: CommonMark bullet list",
|
18207 | "mdast": {
|
18208 | "type": "root",
|
18209 | "children": [
|
18210 | {
|
18211 | "type": "list",
|
18212 | "ordered": false,
|
18213 | "spread": false,
|
18214 | "children": [
|
18215 | {
|
18216 | "type": "listItem",
|
18217 | "spread": true,
|
18218 | "children": [
|
18219 | {
|
18220 | "type": "text",
|
18221 | "value": "headings"
|
18222 | }
|
18223 | ]
|
18224 | },
|
18225 | {
|
18226 | "type": "listItem",
|
18227 | "spread": true,
|
18228 | "children": [
|
18229 | {
|
18230 | "type": "text",
|
18231 | "value": "lists"
|
18232 | },
|
18233 | {
|
18234 | "type": "list",
|
18235 | "ordered": false,
|
18236 | "spread": false,
|
18237 | "children": [
|
18238 | {
|
18239 | "type": "listItem",
|
18240 | "spread": true,
|
18241 | "children": [
|
18242 | {
|
18243 | "type": "text",
|
18244 | "value": "bullets"
|
18245 | }
|
18246 | ]
|
18247 | },
|
18248 | {
|
18249 | "type": "listItem",
|
18250 | "spread": true,
|
18251 | "children": [
|
18252 | {
|
18253 | "type": "text",
|
18254 | "value": "numbers"
|
18255 | }
|
18256 | ]
|
18257 | }
|
18258 | ]
|
18259 | }
|
18260 | ]
|
18261 | },
|
18262 | {
|
18263 | "type": "listItem",
|
18264 | "spread": true,
|
18265 | "children": [
|
18266 | {
|
18267 | "type": "text",
|
18268 | "value": "code blocks"
|
18269 | }
|
18270 | ]
|
18271 | }
|
18272 | ]
|
18273 | }
|
18274 | ]
|
18275 | },
|
18276 | "myst": "- headings\n- lists\n - bullets\n - numbers\n- code blocks",
|
18277 | "html": "<ul>\n <li>headings</li>\n <li>lists\n <ul>\n <li>bullets</li>\n <li>numbers</li>\n </ul>\n </li>\n <li>code blocks</li>\n</ul>\n"
|
18278 | },
|
18279 | {
|
18280 | "title": "commonmark.lists: CommonMark numbered list",
|
18281 | "mdast": {
|
18282 | "type": "root",
|
18283 | "children": [
|
18284 | {
|
18285 | "type": "list",
|
18286 | "ordered": true,
|
18287 | "start": 1,
|
18288 | "spread": false,
|
18289 | "children": [
|
18290 | {
|
18291 | "type": "listItem",
|
18292 | "spread": true,
|
18293 | "children": [
|
18294 | {
|
18295 | "type": "text",
|
18296 | "value": "quotes"
|
18297 | }
|
18298 | ]
|
18299 | },
|
18300 | {
|
18301 | "type": "listItem",
|
18302 | "spread": true,
|
18303 | "children": [
|
18304 | {
|
18305 | "type": "text",
|
18306 | "value": "breaks"
|
18307 | }
|
18308 | ]
|
18309 | },
|
18310 | {
|
18311 | "type": "listItem",
|
18312 | "spread": true,
|
18313 | "children": [
|
18314 | {
|
18315 | "type": "text",
|
18316 | "value": "links"
|
18317 | }
|
18318 | ]
|
18319 | }
|
18320 | ]
|
18321 | }
|
18322 | ]
|
18323 | },
|
18324 | "myst": "1. quotes\n2. breaks\n3. links",
|
18325 | "html": "<ol>\n <li>quotes</li>\n <li>breaks</li>\n <li>links</li>\n</ol>\n"
|
18326 | },
|
18327 | {
|
18328 | "title": "commonmark.paragraphs: CommonMark simple paragraph",
|
18329 | "mdast": {
|
18330 | "type": "root",
|
18331 | "children": [
|
18332 | {
|
18333 | "type": "paragraph",
|
18334 | "children": [
|
18335 | {
|
18336 | "type": "text",
|
18337 | "value": "Something"
|
18338 | }
|
18339 | ]
|
18340 | }
|
18341 | ]
|
18342 | },
|
18343 | "myst": "Something",
|
18344 | "html": "<p>Something</p>\n"
|
18345 | },
|
18346 | {
|
18347 | "title": "commonmark.paragraphs: CommomMark two paragraphs",
|
18348 | "mdast": {
|
18349 | "type": "root",
|
18350 | "children": [
|
18351 | {
|
18352 | "type": "paragraph",
|
18353 | "children": [
|
18354 | {
|
18355 | "type": "text",
|
18356 | "value": "Something"
|
18357 | }
|
18358 | ]
|
18359 | },
|
18360 | {
|
18361 | "type": "paragraph",
|
18362 | "children": [
|
18363 | {
|
18364 | "type": "text",
|
18365 | "value": "Something else"
|
18366 | }
|
18367 | ]
|
18368 | }
|
18369 | ]
|
18370 | },
|
18371 | "myst": "Something\n\nSomething else",
|
18372 | "html": "<p>Something</p>\n<p>Something else</p>\n"
|
18373 | },
|
18374 | {
|
18375 | "title": "commonmark.paragraphs: CommonMark inline styling",
|
18376 | "mdast": {
|
18377 | "type": "root",
|
18378 | "children": [
|
18379 | {
|
18380 | "type": "paragraph",
|
18381 | "children": [
|
18382 | {
|
18383 | "type": "strong",
|
18384 | "children": [
|
18385 | {
|
18386 | "type": "text",
|
18387 | "value": "strong"
|
18388 | }
|
18389 | ]
|
18390 | },
|
18391 | {
|
18392 | "type": "text",
|
18393 | "value": ", "
|
18394 | },
|
18395 | {
|
18396 | "type": "emphasis",
|
18397 | "children": [
|
18398 | {
|
18399 | "type": "text",
|
18400 | "value": "emphasis"
|
18401 | }
|
18402 | ]
|
18403 | },
|
18404 | {
|
18405 | "type": "text",
|
18406 | "value": ", "
|
18407 | },
|
18408 | {
|
18409 | "type": "inlineCode",
|
18410 | "value": "literal text"
|
18411 | },
|
18412 | {
|
18413 | "type": "text",
|
18414 | "value": ", *escaped symbols*"
|
18415 | }
|
18416 | ]
|
18417 | }
|
18418 | ]
|
18419 | },
|
18420 | "myst": "**strong**, _emphasis_, `literal text`, \\*escaped symbols\\*",
|
18421 | "html": "<p><strong>strong</strong>, <em>emphasis</em>, <code>literal text</code>, *escaped symbols*</p>\n"
|
18422 | },
|
18423 | {
|
18424 | "title": "commonmark.quotes: CommonMark blockquote",
|
18425 | "mdast": {
|
18426 | "type": "root",
|
18427 | "children": [
|
18428 | {
|
18429 | "type": "blockquote",
|
18430 | "children": [
|
18431 | {
|
18432 | "type": "paragraph",
|
18433 | "children": [
|
18434 | {
|
18435 | "type": "text",
|
18436 | "value": "To be or not to be"
|
18437 | }
|
18438 | ]
|
18439 | }
|
18440 | ]
|
18441 | }
|
18442 | ]
|
18443 | },
|
18444 | "myst": "> To be or not to be",
|
18445 | "html": "<blockquote>\n <p>To be or not to be</p>\n</blockquote>\n"
|
18446 | },
|
18447 | {
|
18448 | "title": "directives.admonitions.simple: attention",
|
18449 | "mdast": {
|
18450 | "type": "root",
|
18451 | "children": [
|
18452 | {
|
18453 | "type": "mystDirective",
|
18454 | "name": "attention",
|
18455 | "args": "Admonition attention",
|
18456 | "children": [
|
18457 | {
|
18458 | "type": "admonition",
|
18459 | "kind": "attention",
|
18460 | "children": [
|
18461 | {
|
18462 | "type": "paragraph",
|
18463 | "children": [
|
18464 | {
|
18465 | "type": "text",
|
18466 | "value": "Admonition attention"
|
18467 | }
|
18468 | ]
|
18469 | }
|
18470 | ]
|
18471 | }
|
18472 | ]
|
18473 | }
|
18474 | ]
|
18475 | },
|
18476 | "myst": "```{attention} Admonition attention\n```",
|
18477 | "html": "<aside class=\"admonition attention\">\n <p class=\"admonition-title\">Attention</p>\n <p>Admonition attention</p>\n</aside>\n"
|
18478 | },
|
18479 | {
|
18480 | "title": "directives.admonitions.simple: caution",
|
18481 | "mdast": {
|
18482 | "type": "root",
|
18483 | "children": [
|
18484 | {
|
18485 | "type": "mystDirective",
|
18486 | "name": "caution",
|
18487 | "args": "Admonition caution",
|
18488 | "children": [
|
18489 | {
|
18490 | "type": "admonition",
|
18491 | "kind": "caution",
|
18492 | "children": [
|
18493 | {
|
18494 | "type": "paragraph",
|
18495 | "children": [
|
18496 | {
|
18497 | "type": "text",
|
18498 | "value": "Admonition caution"
|
18499 | }
|
18500 | ]
|
18501 | }
|
18502 | ]
|
18503 | }
|
18504 | ]
|
18505 | }
|
18506 | ]
|
18507 | },
|
18508 | "myst": "```{caution} Admonition caution\n```",
|
18509 | "html": "<aside class=\"admonition caution\">\n <p class=\"admonition-title\">Caution</p>\n <p>Admonition caution</p>\n</aside>\n"
|
18510 | },
|
18511 | {
|
18512 | "title": "directives.admonitions.simple: danger",
|
18513 | "mdast": {
|
18514 | "type": "root",
|
18515 | "children": [
|
18516 | {
|
18517 | "type": "mystDirective",
|
18518 | "name": "danger",
|
18519 | "args": "Admonition danger",
|
18520 | "children": [
|
18521 | {
|
18522 | "type": "admonition",
|
18523 | "kind": "danger",
|
18524 | "children": [
|
18525 | {
|
18526 | "type": "paragraph",
|
18527 | "children": [
|
18528 | {
|
18529 | "type": "text",
|
18530 | "value": "Admonition danger"
|
18531 | }
|
18532 | ]
|
18533 | }
|
18534 | ]
|
18535 | }
|
18536 | ]
|
18537 | }
|
18538 | ]
|
18539 | },
|
18540 | "myst": "```{danger} Admonition danger\n```",
|
18541 | "html": "<aside class=\"admonition danger\">\n <p class=\"admonition-title\">Danger</p>\n <p>Admonition danger</p>\n</aside>\n"
|
18542 | },
|
18543 | {
|
18544 | "title": "directives.admonitions.simple: error",
|
18545 | "mdast": {
|
18546 | "type": "root",
|
18547 | "children": [
|
18548 | {
|
18549 | "type": "mystDirective",
|
18550 | "name": "error",
|
18551 | "args": "Admonition error",
|
18552 | "children": [
|
18553 | {
|
18554 | "type": "admonition",
|
18555 | "kind": "error",
|
18556 | "children": [
|
18557 | {
|
18558 | "type": "paragraph",
|
18559 | "children": [
|
18560 | {
|
18561 | "type": "text",
|
18562 | "value": "Admonition error"
|
18563 | }
|
18564 | ]
|
18565 | }
|
18566 | ]
|
18567 | }
|
18568 | ]
|
18569 | }
|
18570 | ]
|
18571 | },
|
18572 | "myst": "```{error} Admonition error\n```",
|
18573 | "html": "<aside class=\"admonition error\">\n <p class=\"admonition-title\">Error</p>\n <p>Admonition error</p>\n</aside>\n"
|
18574 | },
|
18575 | {
|
18576 | "title": "directives.admonitions.simple: important",
|
18577 | "mdast": {
|
18578 | "type": "root",
|
18579 | "children": [
|
18580 | {
|
18581 | "type": "mystDirective",
|
18582 | "name": "important",
|
18583 | "args": "Admonition important",
|
18584 | "children": [
|
18585 | {
|
18586 | "type": "admonition",
|
18587 | "kind": "important",
|
18588 | "children": [
|
18589 | {
|
18590 | "type": "paragraph",
|
18591 | "children": [
|
18592 | {
|
18593 | "type": "text",
|
18594 | "value": "Admonition important"
|
18595 | }
|
18596 | ]
|
18597 | }
|
18598 | ]
|
18599 | }
|
18600 | ]
|
18601 | }
|
18602 | ]
|
18603 | },
|
18604 | "myst": "```{important} Admonition important\n```",
|
18605 | "html": "<aside class=\"admonition important\">\n <p class=\"admonition-title\">Important</p>\n <p>Admonition important</p>\n</aside>\n"
|
18606 | },
|
18607 | {
|
18608 | "title": "directives.admonitions.simple: hint",
|
18609 | "mdast": {
|
18610 | "type": "root",
|
18611 | "children": [
|
18612 | {
|
18613 | "type": "mystDirective",
|
18614 | "name": "hint",
|
18615 | "args": "Admonition hint",
|
18616 | "children": [
|
18617 | {
|
18618 | "type": "admonition",
|
18619 | "kind": "hint",
|
18620 | "children": [
|
18621 | {
|
18622 | "type": "paragraph",
|
18623 | "children": [
|
18624 | {
|
18625 | "type": "text",
|
18626 | "value": "Admonition hint"
|
18627 | }
|
18628 | ]
|
18629 | }
|
18630 | ]
|
18631 | }
|
18632 | ]
|
18633 | }
|
18634 | ]
|
18635 | },
|
18636 | "myst": "```{hint} Admonition hint\n```",
|
18637 | "html": "<aside class=\"admonition hint\">\n <p class=\"admonition-title\">Hint</p>\n <p>Admonition hint</p>\n</aside>\n"
|
18638 | },
|
18639 | {
|
18640 | "title": "directives.admonitions.simple: note",
|
18641 | "mdast": {
|
18642 | "type": "root",
|
18643 | "children": [
|
18644 | {
|
18645 | "type": "mystDirective",
|
18646 | "name": "note",
|
18647 | "args": "Admonition note",
|
18648 | "children": [
|
18649 | {
|
18650 | "type": "admonition",
|
18651 | "kind": "note",
|
18652 | "children": [
|
18653 | {
|
18654 | "type": "paragraph",
|
18655 | "children": [
|
18656 | {
|
18657 | "type": "text",
|
18658 | "value": "Admonition note"
|
18659 | }
|
18660 | ]
|
18661 | }
|
18662 | ]
|
18663 | }
|
18664 | ]
|
18665 | }
|
18666 | ]
|
18667 | },
|
18668 | "myst": "```{note} Admonition note\n```",
|
18669 | "html": "<aside class=\"admonition note\">\n <p class=\"admonition-title\">Note</p>\n <p>Admonition note</p>\n</aside>\n"
|
18670 | },
|
18671 | {
|
18672 | "title": "directives.admonitions.simple: seealso",
|
18673 | "mdast": {
|
18674 | "type": "root",
|
18675 | "children": [
|
18676 | {
|
18677 | "type": "mystDirective",
|
18678 | "name": "seealso",
|
18679 | "args": "Admonition seealso",
|
18680 | "children": [
|
18681 | {
|
18682 | "type": "admonition",
|
18683 | "kind": "seealso",
|
18684 | "children": [
|
18685 | {
|
18686 | "type": "paragraph",
|
18687 | "children": [
|
18688 | {
|
18689 | "type": "text",
|
18690 | "value": "Admonition seealso"
|
18691 | }
|
18692 | ]
|
18693 | }
|
18694 | ]
|
18695 | }
|
18696 | ]
|
18697 | }
|
18698 | ]
|
18699 | },
|
18700 | "myst": "```{seealso} Admonition seealso\n```",
|
18701 | "html": "<aside class=\"admonition seealso\">\n <p class=\"admonition-title\">See Also</p>\n <p>Admonition seealso</p>\n</aside>\n"
|
18702 | },
|
18703 | {
|
18704 | "title": "directives.admonitions.simple: tip",
|
18705 | "mdast": {
|
18706 | "type": "root",
|
18707 | "children": [
|
18708 | {
|
18709 | "type": "mystDirective",
|
18710 | "name": "tip",
|
18711 | "args": "Admonition tip",
|
18712 | "children": [
|
18713 | {
|
18714 | "type": "admonition",
|
18715 | "kind": "tip",
|
18716 | "children": [
|
18717 | {
|
18718 | "type": "paragraph",
|
18719 | "children": [
|
18720 | {
|
18721 | "type": "text",
|
18722 | "value": "Admonition tip"
|
18723 | }
|
18724 | ]
|
18725 | }
|
18726 | ]
|
18727 | }
|
18728 | ]
|
18729 | }
|
18730 | ]
|
18731 | },
|
18732 | "myst": "```{tip} Admonition tip\n```",
|
18733 | "html": "<aside class=\"admonition tip\">\n <p class=\"admonition-title\">Tip</p>\n <p>Admonition tip</p>\n</aside>\n"
|
18734 | },
|
18735 | {
|
18736 | "title": "directives.admonitions.simple: warning",
|
18737 | "mdast": {
|
18738 | "type": "root",
|
18739 | "children": [
|
18740 | {
|
18741 | "type": "mystDirective",
|
18742 | "name": "warning",
|
18743 | "args": "Admonition warning",
|
18744 | "children": [
|
18745 | {
|
18746 | "type": "admonition",
|
18747 | "kind": "warning",
|
18748 | "children": [
|
18749 | {
|
18750 | "type": "paragraph",
|
18751 | "children": [
|
18752 | {
|
18753 | "type": "text",
|
18754 | "value": "Admonition warning"
|
18755 | }
|
18756 | ]
|
18757 | }
|
18758 | ]
|
18759 | }
|
18760 | ]
|
18761 | }
|
18762 | ]
|
18763 | },
|
18764 | "myst": "```{warning} Admonition warning\n```",
|
18765 | "html": "<aside class=\"admonition warning\">\n <p class=\"admonition-title\">Warning</p>\n <p>Admonition warning</p>\n</aside>\n"
|
18766 | },
|
18767 | {
|
18768 | "title": "directives.admonitions: Simple Admonition",
|
18769 | "mdast": {
|
18770 | "type": "root",
|
18771 | "children": [
|
18772 | {
|
18773 | "type": "mystDirective",
|
18774 | "name": "admonition",
|
18775 | "args": "This is a title",
|
18776 | "value": "An example of an admonition with a _title_.",
|
18777 | "children": [
|
18778 | {
|
18779 | "type": "admonition",
|
18780 | "children": [
|
18781 | {
|
18782 | "type": "admonitionTitle",
|
18783 | "children": [
|
18784 | {
|
18785 | "type": "text",
|
18786 | "value": "This is a title"
|
18787 | }
|
18788 | ]
|
18789 | },
|
18790 | {
|
18791 | "type": "paragraph",
|
18792 | "children": [
|
18793 | {
|
18794 | "type": "text",
|
18795 | "value": "An example of an admonition with a "
|
18796 | },
|
18797 | {
|
18798 | "type": "emphasis",
|
18799 | "children": [
|
18800 | {
|
18801 | "type": "text",
|
18802 | "value": "title"
|
18803 | }
|
18804 | ]
|
18805 | },
|
18806 | {
|
18807 | "type": "text",
|
18808 | "value": "."
|
18809 | }
|
18810 | ]
|
18811 | }
|
18812 | ]
|
18813 | }
|
18814 | ]
|
18815 | }
|
18816 | ]
|
18817 | },
|
18818 | "myst": "```{admonition} This is a title\n An example of an admonition with a _title_.\n```",
|
18819 | "html": "<aside class=\"admonition\">\n <p class=\"admonition-title\">This is a title</p>\n <p>An example of an admonition with a <em>title</em>.</p>\n</aside>\n"
|
18820 | },
|
18821 | {
|
18822 | "title": "directives.admonitions: Note with no title",
|
18823 | "mdast": {
|
18824 | "type": "root",
|
18825 | "children": [
|
18826 | {
|
18827 | "type": "mystDirective",
|
18828 | "name": "note",
|
18829 | "value": "Please note!",
|
18830 | "children": [
|
18831 | {
|
18832 | "type": "admonition",
|
18833 | "kind": "note",
|
18834 | "children": [
|
18835 | {
|
18836 | "type": "paragraph",
|
18837 | "children": [
|
18838 | {
|
18839 | "type": "text",
|
18840 | "value": "Please note!"
|
18841 | }
|
18842 | ]
|
18843 | }
|
18844 | ]
|
18845 | }
|
18846 | ]
|
18847 | }
|
18848 | ]
|
18849 | },
|
18850 | "myst": "```{note}\n Please note!\n```",
|
18851 | "html": "<aside class=\"admonition note\">\n <p class=\"admonition-title\">Note</p>\n <p>Please note!</p>\n</aside>\n"
|
18852 | },
|
18853 | {
|
18854 | "title": "directives.admonitions: Admonition with overridding class name",
|
18855 | "mdast": {
|
18856 | "type": "root",
|
18857 | "children": [
|
18858 | {
|
18859 | "type": "mystDirective",
|
18860 | "name": "admonition",
|
18861 | "args": "This is a title!",
|
18862 | "options": {
|
18863 | "class": "tip"
|
18864 | },
|
18865 | "value": "An example of a general `admonition` with a custom _class_.",
|
18866 | "children": [
|
18867 | {
|
18868 | "type": "admonition",
|
18869 | "class": "tip",
|
18870 | "children": [
|
18871 | {
|
18872 | "type": "admonitionTitle",
|
18873 | "children": [
|
18874 | {
|
18875 | "type": "text",
|
18876 | "value": "This is a title!"
|
18877 | }
|
18878 | ]
|
18879 | },
|
18880 | {
|
18881 | "type": "paragraph",
|
18882 | "children": [
|
18883 | {
|
18884 | "type": "text",
|
18885 | "value": "An example of a general "
|
18886 | },
|
18887 | {
|
18888 | "type": "inlineCode",
|
18889 | "value": "admonition"
|
18890 | },
|
18891 | {
|
18892 | "type": "text",
|
18893 | "value": " with a custom "
|
18894 | },
|
18895 | {
|
18896 | "type": "emphasis",
|
18897 | "children": [
|
18898 | {
|
18899 | "type": "text",
|
18900 | "value": "class"
|
18901 | }
|
18902 | ]
|
18903 | },
|
18904 | {
|
18905 | "type": "text",
|
18906 | "value": "."
|
18907 | }
|
18908 | ]
|
18909 | }
|
18910 | ]
|
18911 | }
|
18912 | ]
|
18913 | }
|
18914 | ]
|
18915 | },
|
18916 | "myst": "```{admonition} This is a title!\n:class: tip\n\nAn example of a general `admonition` with a custom _class_.\n```",
|
18917 | "html": "<aside class=\"tip admonition\">\n <p class=\"admonition-title\">This is a title!</p>\n <p>An example of a general <code>admonition</code> with a custom <em>class</em>.</p>\n</aside>\n"
|
18918 | },
|
18919 | {
|
18920 | "title": "directives.admonitions: See Also with overridding class name of tip",
|
18921 | "mdast": {
|
18922 | "type": "root",
|
18923 | "children": [
|
18924 | {
|
18925 | "type": "mystDirective",
|
18926 | "name": "seealso",
|
18927 | "options": {
|
18928 | "class": "tip"
|
18929 | },
|
18930 | "value": "Tip class comes first!!",
|
18931 | "children": [
|
18932 | {
|
18933 | "type": "admonition",
|
18934 | "kind": "seealso",
|
18935 | "class": "tip",
|
18936 | "children": [
|
18937 | {
|
18938 | "type": "paragraph",
|
18939 | "children": [
|
18940 | {
|
18941 | "type": "text",
|
18942 | "value": "Tip class comes first!!"
|
18943 | }
|
18944 | ]
|
18945 | }
|
18946 | ]
|
18947 | }
|
18948 | ]
|
18949 | }
|
18950 | ]
|
18951 | },
|
18952 | "myst": "```{seealso}\n:class: tip\nTip class comes first!!\n```",
|
18953 | "html": "<aside class=\"tip admonition seealso\">\n <p class=\"admonition-title\">See Also</p>\n <p>Tip class comes first!!</p>\n</aside>\n"
|
18954 | },
|
18955 | {
|
18956 | "title": "directives.code: Code directive",
|
18957 | "mdast": {
|
18958 | "type": "root",
|
18959 | "children": [
|
18960 | {
|
18961 | "type": "mystDirective",
|
18962 | "name": "code",
|
18963 | "args": "python",
|
18964 | "options": {
|
18965 | "number-lines": 1
|
18966 | },
|
18967 | "value": "def five():\n return 5",
|
18968 | "children": [
|
18969 | {
|
18970 | "type": "code",
|
18971 | "lang": "python",
|
18972 | "showLineNumbers": true,
|
18973 | "value": "def five():\n return 5"
|
18974 | }
|
18975 | ]
|
18976 | }
|
18977 | ]
|
18978 | },
|
18979 | "myst": "```{code} python\n:number-lines: 1\ndef five():\n return 5\n```",
|
18980 | "html": "<pre><code class=\"language-python\">def five():\n return 5\n</code></pre>\n"
|
18981 | },
|
18982 | {
|
18983 | "title": "directives.code: Code directive, starting line",
|
18984 | "mdast": {
|
18985 | "type": "root",
|
18986 | "children": [
|
18987 | {
|
18988 | "type": "mystDirective",
|
18989 | "name": "code",
|
18990 | "args": "python",
|
18991 | "options": {
|
18992 | "name": "My code",
|
18993 | "number-lines": 2,
|
18994 | "class": "fun-code"
|
18995 | },
|
18996 | "value": "def five():\n return 5",
|
18997 | "children": [
|
18998 | {
|
18999 | "type": "code",
|
19000 | "lang": "python",
|
19001 | "identifier": "my code",
|
19002 | "label": "My code",
|
19003 | "class": "fun-code",
|
19004 | "showLineNumbers": true,
|
19005 | "startingLineNumber": 2,
|
19006 | "value": "def five():\n return 5"
|
19007 | }
|
19008 | ]
|
19009 | }
|
19010 | ]
|
19011 | },
|
19012 | "myst": "```{code} python\n:name: My code\n:number-lines: 2\n:class: fun-code\ndef five():\n return 5\n```",
|
19013 | "html": "<pre><code id=\"my code\" class=\"language-python fun-code\">def five():\n return 5\n</code></pre>\n"
|
19014 | },
|
19015 | {
|
19016 | "title": "directives.code: Code-block starting line",
|
19017 | "mdast": {
|
19018 | "type": "root",
|
19019 | "children": [
|
19020 | {
|
19021 | "type": "mystDirective",
|
19022 | "name": "code-block",
|
19023 | "args": "python",
|
19024 | "options": {
|
19025 | "name": "My code",
|
19026 | "linenos": true,
|
19027 | "lineno-start": 2,
|
19028 | "class": "fun-code"
|
19029 | },
|
19030 | "value": "def five():\n return 5",
|
19031 | "children": [
|
19032 | {
|
19033 | "type": "code",
|
19034 | "lang": "python",
|
19035 | "identifier": "my code",
|
19036 | "label": "My code",
|
19037 | "class": "fun-code",
|
19038 | "showLineNumbers": true,
|
19039 | "startingLineNumber": 2,
|
19040 | "value": "def five():\n return 5"
|
19041 | }
|
19042 | ]
|
19043 | }
|
19044 | ]
|
19045 | },
|
19046 | "myst": "```{code-block} python\n:name: My code\n:linenos:\n:lineno-start: 2\n:class: fun-code\ndef five():\n return 5\n```",
|
19047 | "html": "<pre><code id=\"my code\" class=\"language-python fun-code\">def five():\n return 5\n</code></pre>\n"
|
19048 | },
|
19049 | {
|
19050 | "title": "directives.code: Code-block directive shows line numbers without explicit linenos flag",
|
19051 | "mdast": {
|
19052 | "type": "root",
|
19053 | "children": [
|
19054 | {
|
19055 | "type": "mystDirective",
|
19056 | "name": "code-block",
|
19057 | "args": "python",
|
19058 | "options": {
|
19059 | "lineno-start": 2
|
19060 | },
|
19061 | "value": "def five():\n return 5",
|
19062 | "children": [
|
19063 | {
|
19064 | "type": "code",
|
19065 | "lang": "python",
|
19066 | "showLineNumbers": true,
|
19067 | "startingLineNumber": 2,
|
19068 | "value": "def five():\n return 5"
|
19069 | }
|
19070 | ]
|
19071 | }
|
19072 | ]
|
19073 | },
|
19074 | "myst": "```{code-block} python\n:lineno-start: 2\ndef five():\n return 5\n```",
|
19075 | "html": "<pre><code class=\"language-python\">def five():\n return 5\n</code></pre>\n"
|
19076 | },
|
19077 | {
|
19078 | "title": "directives.code: Code-block directive - emphasize lines",
|
19079 | "mdast": {
|
19080 | "type": "root",
|
19081 | "children": [
|
19082 | {
|
19083 | "type": "mystDirective",
|
19084 | "name": "code-block",
|
19085 | "args": "python",
|
19086 | "options": {
|
19087 | "emphasize-lines": "2, 3"
|
19088 | },
|
19089 | "value": "def five():\n print('five')\n return 5",
|
19090 | "children": [
|
19091 | {
|
19092 | "type": "code",
|
19093 | "lang": "python",
|
19094 | "emphasizeLines": [
|
19095 | 2,
|
19096 | 3
|
19097 | ],
|
19098 | "value": "def five():\n print('five')\n return 5"
|
19099 | }
|
19100 | ]
|
19101 | }
|
19102 | ]
|
19103 | },
|
19104 | "myst": "```{code-block} python\n:emphasize-lines: 2, 3\ndef five():\n print('five')\n return 5\n```",
|
19105 | "html": "<pre><code class=\"language-python\">def five():\n print('five')\n return 5\n</code></pre>\n"
|
19106 | },
|
19107 | {
|
19108 | "title": "directives.figure: Simple figure",
|
19109 | "mdast": {
|
19110 | "type": "root",
|
19111 | "children": [
|
19112 | {
|
19113 | "type": "mystDirective",
|
19114 | "name": "figure",
|
19115 | "args": "https://via.placeholder.com/150",
|
19116 | "value": "This is the figure caption!\n\nSomething! A legend!?",
|
19117 | "children": [
|
19118 | {
|
19119 | "type": "container",
|
19120 | "kind": "figure",
|
19121 | "children": [
|
19122 | {
|
19123 | "type": "image",
|
19124 | "url": "https://via.placeholder.com/150"
|
19125 | },
|
19126 | {
|
19127 | "type": "caption",
|
19128 | "children": [
|
19129 | {
|
19130 | "type": "paragraph",
|
19131 | "children": [
|
19132 | {
|
19133 | "type": "text",
|
19134 | "value": "This is the figure caption!"
|
19135 | }
|
19136 | ]
|
19137 | }
|
19138 | ]
|
19139 | },
|
19140 | {
|
19141 | "type": "legend",
|
19142 | "children": [
|
19143 | {
|
19144 | "type": "paragraph",
|
19145 | "children": [
|
19146 | {
|
19147 | "type": "text",
|
19148 | "value": "Something! A legend!?"
|
19149 | }
|
19150 | ]
|
19151 | }
|
19152 | ]
|
19153 | }
|
19154 | ]
|
19155 | }
|
19156 | ]
|
19157 | }
|
19158 | ]
|
19159 | },
|
19160 | "myst": "```{figure} https://via.placeholder.com/150\nThis is the figure caption!\n\nSomething! A legend!?\n```",
|
19161 | "html": "<figure class=\"numbered\">\n <img src=\"https://via.placeholder.com/150\">\n <figcaption>\n <p>This is the figure caption!</p>\n </figcaption>\n <div class=\"legend\">\n <p>Something! A legend!?</p>\n </div>\n</figure>\n"
|
19162 | },
|
19163 | {
|
19164 | "title": "directives.figure: Named figure with a caption in a paragraph",
|
19165 | "mdast": {
|
19166 | "type": "root",
|
19167 | "children": [
|
19168 | {
|
19169 | "type": "mystDirective",
|
19170 | "name": "figure",
|
19171 | "args": "https://via.placeholder.com/150",
|
19172 | "options": {
|
19173 | "name": "myFigure",
|
19174 | "alt": "Placeholder"
|
19175 | },
|
19176 | "value": "This is the figure caption!",
|
19177 | "children": [
|
19178 | {
|
19179 | "type": "container",
|
19180 | "kind": "figure",
|
19181 | "identifier": "myfigure",
|
19182 | "label": "myFigure",
|
19183 | "children": [
|
19184 | {
|
19185 | "type": "image",
|
19186 | "url": "https://via.placeholder.com/150",
|
19187 | "alt": "Placeholder"
|
19188 | },
|
19189 | {
|
19190 | "type": "caption",
|
19191 | "children": [
|
19192 | {
|
19193 | "type": "paragraph",
|
19194 | "children": [
|
19195 | {
|
19196 | "type": "text",
|
19197 | "value": "This is the figure caption!"
|
19198 | }
|
19199 | ]
|
19200 | }
|
19201 | ]
|
19202 | }
|
19203 | ]
|
19204 | }
|
19205 | ]
|
19206 | }
|
19207 | ]
|
19208 | },
|
19209 | "myst": "```{figure} https://via.placeholder.com/150\n:name: myFigure\n:alt: Placeholder\n\nThis is the figure caption!\n```",
|
19210 | "html": "<figure id=\"myfigure\" class=\"numbered\">\n <img src=\"https://via.placeholder.com/150\" alt=\"Placeholder\">\n <figcaption>\n <p><span class=\"caption-number\">Figure 1</span>This is the figure caption!</p>\n </figcaption>\n</figure>\n"
|
19211 | },
|
19212 | {
|
19213 | "title": "directives.figure: Named figure with a caption in a no alt",
|
19214 | "mdast": {
|
19215 | "type": "root",
|
19216 | "children": [
|
19217 | {
|
19218 | "type": "mystDirective",
|
19219 | "name": "figure",
|
19220 | "args": "https://via.placeholder.com/150",
|
19221 | "options": {
|
19222 | "name": "myFigure"
|
19223 | },
|
19224 | "value": "This is the figure caption!",
|
19225 | "children": [
|
19226 | {
|
19227 | "type": "container",
|
19228 | "kind": "figure",
|
19229 | "identifier": "myfigure",
|
19230 | "label": "myFigure",
|
19231 | "children": [
|
19232 | {
|
19233 | "type": "image",
|
19234 | "url": "https://via.placeholder.com/150"
|
19235 | },
|
19236 | {
|
19237 | "type": "caption",
|
19238 | "children": [
|
19239 | {
|
19240 | "type": "paragraph",
|
19241 | "children": [
|
19242 | {
|
19243 | "type": "text",
|
19244 | "value": "This is the figure caption!"
|
19245 | }
|
19246 | ]
|
19247 | }
|
19248 | ]
|
19249 | }
|
19250 | ]
|
19251 | }
|
19252 | ]
|
19253 | }
|
19254 | ]
|
19255 | },
|
19256 | "myst": "```{figure} https://via.placeholder.com/150\n:name: myFigure\n\nThis is the figure caption!\n```",
|
19257 | "html": "<figure id=\"myfigure\" class=\"numbered\">\n <img src=\"https://via.placeholder.com/150\">\n <figcaption>\n <p><span class=\"caption-number\">Figure 1</span>This is the figure caption!</p>\n </figcaption>\n</figure>\n"
|
19258 | },
|
19259 | {
|
19260 | "title": "directives.figure: Named figure with no space between options in directive",
|
19261 | "mdast": {
|
19262 | "type": "root",
|
19263 | "children": [
|
19264 | {
|
19265 | "type": "mystDirective",
|
19266 | "name": "figure",
|
19267 | "args": "https://via.placeholder.com/150",
|
19268 | "options": {
|
19269 | "name": "myFigure"
|
19270 | },
|
19271 | "value": "This is the figure caption!",
|
19272 | "children": [
|
19273 | {
|
19274 | "type": "container",
|
19275 | "kind": "figure",
|
19276 | "identifier": "myfigure",
|
19277 | "label": "myFigure",
|
19278 | "children": [
|
19279 | {
|
19280 | "type": "image",
|
19281 | "url": "https://via.placeholder.com/150"
|
19282 | },
|
19283 | {
|
19284 | "type": "caption",
|
19285 | "children": [
|
19286 | {
|
19287 | "type": "paragraph",
|
19288 | "children": [
|
19289 | {
|
19290 | "type": "text",
|
19291 | "value": "This is the figure caption!"
|
19292 | }
|
19293 | ]
|
19294 | }
|
19295 | ]
|
19296 | }
|
19297 | ]
|
19298 | }
|
19299 | ]
|
19300 | }
|
19301 | ]
|
19302 | },
|
19303 | "myst": "```{figure} https://via.placeholder.com/150\n:name: myFigure\nThis is the figure caption!\n```",
|
19304 | "html": "<figure id=\"myfigure\" class=\"numbered\">\n <img src=\"https://via.placeholder.com/150\">\n <figcaption>\n <p><span class=\"caption-number\">Figure 1</span>This is the figure caption!</p>\n </figcaption>\n</figure>\n"
|
19305 | },
|
19306 | {
|
19307 | "title": "directives.figure: Two figures",
|
19308 | "mdast": {
|
19309 | "type": "root",
|
19310 | "children": [
|
19311 | {
|
19312 | "type": "mystDirective",
|
19313 | "name": "figure",
|
19314 | "args": "https://via.placeholder.com/150",
|
19315 | "options": {
|
19316 | "name": "myFigure"
|
19317 | },
|
19318 | "value": "This is the figure caption!",
|
19319 | "children": [
|
19320 | {
|
19321 | "type": "container",
|
19322 | "kind": "figure",
|
19323 | "identifier": "myfigure",
|
19324 | "label": "myFigure",
|
19325 | "children": [
|
19326 | {
|
19327 | "type": "image",
|
19328 | "url": "https://via.placeholder.com/150"
|
19329 | },
|
19330 | {
|
19331 | "type": "caption",
|
19332 | "children": [
|
19333 | {
|
19334 | "type": "paragraph",
|
19335 | "children": [
|
19336 | {
|
19337 | "type": "text",
|
19338 | "value": "This is the figure caption!"
|
19339 | }
|
19340 | ]
|
19341 | }
|
19342 | ]
|
19343 | }
|
19344 | ]
|
19345 | }
|
19346 | ]
|
19347 | },
|
19348 | {
|
19349 | "type": "mystDirective",
|
19350 | "name": "figure",
|
19351 | "args": "https://via.placeholder.com/151",
|
19352 | "options": {
|
19353 | "name": "myOtherFigure"
|
19354 | },
|
19355 | "value": "This is another caption!",
|
19356 | "children": [
|
19357 | {
|
19358 | "type": "container",
|
19359 | "kind": "figure",
|
19360 | "identifier": "myotherfigure",
|
19361 | "label": "myOtherFigure",
|
19362 | "children": [
|
19363 | {
|
19364 | "type": "image",
|
19365 | "url": "https://via.placeholder.com/151"
|
19366 | },
|
19367 | {
|
19368 | "type": "caption",
|
19369 | "children": [
|
19370 | {
|
19371 | "type": "paragraph",
|
19372 | "children": [
|
19373 | {
|
19374 | "type": "text",
|
19375 | "value": "This is another caption!"
|
19376 | }
|
19377 | ]
|
19378 | }
|
19379 | ]
|
19380 | }
|
19381 | ]
|
19382 | }
|
19383 | ]
|
19384 | }
|
19385 | ]
|
19386 | },
|
19387 | "myst": "```{figure} https://via.placeholder.com/150\n:name: myFigure\n\nThis is the figure caption!\n```\n```{figure} https://via.placeholder.com/151\n:name: myOtherFigure\n\nThis is another caption!\n```",
|
19388 | "html": "<figure id=\"myfigure\" class=\"numbered\">\n <img src=\"https://via.placeholder.com/150\">\n <figcaption>\n <p><span class=\"caption-number\">Figure 1</span>This is the figure caption!</p>\n </figcaption>\n</figure>\n<figure id=\"myotherfigure\" class=\"numbered\">\n <img src=\"https://via.placeholder.com/151\">\n <figcaption>\n <p><span class=\"caption-number\">Figure 2</span>This is another caption!</p>\n </figcaption>\n</figure>\n"
|
19389 | },
|
19390 | {
|
19391 | "title": "directives.generic: Unknown directive",
|
19392 | "mdast": {
|
19393 | "type": "root",
|
19394 | "children": [
|
19395 | {
|
19396 | "type": "mystDirective",
|
19397 | "name": "abc",
|
19398 | "value": ":a: one\n:b: two\n\nABC directive"
|
19399 | }
|
19400 | ]
|
19401 | },
|
19402 | "myst": "```{abc}\n:a: one\n:b: two\n\nABC directive\n```",
|
19403 | "html": "<div class=\"directive unhandled\">\n <p><code class=\"kind\">{abc}</code></p>\n <pre><code>:a: one\n:b: two\n\nABC directive</code></pre>\n</div>\n"
|
19404 | },
|
19405 | {
|
19406 | "title": "directives.generic: Unknown directive with args",
|
19407 | "mdast": {
|
19408 | "type": "root",
|
19409 | "children": [
|
19410 | {
|
19411 | "type": "mystDirective",
|
19412 | "name": "abc",
|
19413 | "args": "foo bar",
|
19414 | "value": ":a: one\n:b: two\n\nABC directive"
|
19415 | }
|
19416 | ]
|
19417 | },
|
19418 | "myst": "```{abc} foo bar\n:a: one\n:b: two\n\nABC directive\n```",
|
19419 | "html": "<div class=\"directive unhandled\">\n <p><code class=\"kind\">{abc}</code><code class=\"args\">foo bar</code></p>\n <pre><code>:a: one\n:b: two\n\nABC directive</code></pre>\n</div>\n"
|
19420 | },
|
19421 | {
|
19422 | "title": "directives.image: Standard markdown image",
|
19423 | "mdast": {
|
19424 | "type": "root",
|
19425 | "children": [
|
19426 | {
|
19427 | "type": "paragraph",
|
19428 | "children": [
|
19429 | {
|
19430 | "type": "image",
|
19431 | "url": "fun-fish.png",
|
19432 | "alt": "fishy"
|
19433 | }
|
19434 | ]
|
19435 | }
|
19436 | ]
|
19437 | },
|
19438 | "myst": "![fishy](fun-fish.png)",
|
19439 | "html": "<p>\n <img src=\"fun-fish.png\" alt=\"fishy\">\n</p>\n"
|
19440 | },
|
19441 | {
|
19442 | "title": "directives.image: Image directive",
|
19443 | "mdast": {
|
19444 | "type": "root",
|
19445 | "children": [
|
19446 | {
|
19447 | "type": "mystDirective",
|
19448 | "name": "image",
|
19449 | "args": "fun-fish.png",
|
19450 | "options": {
|
19451 | "alt": "fishy",
|
19452 | "class": "bg-primary mb-1",
|
19453 | "width": "200px",
|
19454 | "align": "center"
|
19455 | },
|
19456 | "children": [
|
19457 | {
|
19458 | "type": "image",
|
19459 | "url": "fun-fish.png",
|
19460 | "alt": "fishy",
|
19461 | "class": "bg-primary mb-1",
|
19462 | "width": "200px",
|
19463 | "align": "center"
|
19464 | }
|
19465 | ]
|
19466 | }
|
19467 | ]
|
19468 | },
|
19469 | "myst": "```{image} fun-fish.png\n:alt: fishy\n:class: bg-primary mb-1\n:width: 200px\n:align: center\n```",
|
19470 | "html": "<img src=\"fun-fish.png\" alt=\"fishy\" class=\"align-center bg-primary mb-1\" width=\"200px\">\n"
|
19471 | },
|
19472 | {
|
19473 | "title": "directives.image: Image directive, left",
|
19474 | "mdast": {
|
19475 | "type": "root",
|
19476 | "children": [
|
19477 | {
|
19478 | "type": "mystDirective",
|
19479 | "name": "image",
|
19480 | "args": "fun-fish.png",
|
19481 | "options": {
|
19482 | "alt": "fishy",
|
19483 | "align": "left"
|
19484 | },
|
19485 | "children": [
|
19486 | {
|
19487 | "type": "image",
|
19488 | "url": "fun-fish.png",
|
19489 | "alt": "fishy",
|
19490 | "align": "left"
|
19491 | }
|
19492 | ]
|
19493 | }
|
19494 | ]
|
19495 | },
|
19496 | "myst": "```{image} fun-fish.png\n:alt: fishy\n:align: left\n```",
|
19497 | "html": "<img src=\"fun-fish.png\" alt=\"fishy\" class=\"align-left\">\n"
|
19498 | },
|
19499 | {
|
19500 | "title": "directives.math: Math directive",
|
19501 | "mdast": {
|
19502 | "type": "root",
|
19503 | "children": [
|
19504 | {
|
19505 | "type": "mystDirective",
|
19506 | "name": "math",
|
19507 | "value": "Ax = b",
|
19508 | "children": [
|
19509 | {
|
19510 | "type": "math",
|
19511 | "value": "Ax = b"
|
19512 | }
|
19513 | ]
|
19514 | }
|
19515 | ]
|
19516 | },
|
19517 | "myst": "```{math}\nAx = b\n```",
|
19518 | "html": "<div class=\"math-display\">Ax = b</div>\n"
|
19519 | },
|
19520 | {
|
19521 | "title": "directives.math: Math directive with label",
|
19522 | "mdast": {
|
19523 | "type": "root",
|
19524 | "children": [
|
19525 | {
|
19526 | "type": "mystDirective",
|
19527 | "name": "math",
|
19528 | "options": {
|
19529 | "label": "matrix"
|
19530 | },
|
19531 | "value": "Ax = b",
|
19532 | "children": [
|
19533 | {
|
19534 | "type": "math",
|
19535 | "identifier": "matrix",
|
19536 | "label": "matrix",
|
19537 | "value": "Ax = b"
|
19538 | }
|
19539 | ]
|
19540 | }
|
19541 | ]
|
19542 | },
|
19543 | "myst": "```{math}\n:label: matrix\nAx = b\n```",
|
19544 | "html": "<div id=\"matrix\" class=\"math-display\">Ax = b</div>\n"
|
19545 | },
|
19546 | {
|
19547 | "title": "directives.table: Basic table",
|
19548 | "mdast": {
|
19549 | "type": "root",
|
19550 | "children": [
|
19551 | {
|
19552 | "type": "table",
|
19553 | "children": [
|
19554 | {
|
19555 | "type": "tableRow",
|
19556 | "children": [
|
19557 | {
|
19558 | "type": "tableCell",
|
19559 | "header": true,
|
19560 | "align": "left",
|
19561 | "children": [
|
19562 | {
|
19563 | "type": "text",
|
19564 | "value": "header 1"
|
19565 | }
|
19566 | ]
|
19567 | },
|
19568 | {
|
19569 | "type": "tableCell",
|
19570 | "header": true,
|
19571 | "align": "right",
|
19572 | "children": [
|
19573 | {
|
19574 | "type": "text",
|
19575 | "value": "header 2"
|
19576 | }
|
19577 | ]
|
19578 | }
|
19579 | ]
|
19580 | },
|
19581 | {
|
19582 | "type": "tableRow",
|
19583 | "children": [
|
19584 | {
|
19585 | "type": "tableCell",
|
19586 | "align": "left",
|
19587 | "children": [
|
19588 | {
|
19589 | "type": "text",
|
19590 | "value": "3"
|
19591 | }
|
19592 | ]
|
19593 | },
|
19594 | {
|
19595 | "type": "tableCell",
|
19596 | "align": "right",
|
19597 | "children": [
|
19598 | {
|
19599 | "type": "text",
|
19600 | "value": "4"
|
19601 | }
|
19602 | ]
|
19603 | }
|
19604 | ]
|
19605 | }
|
19606 | ]
|
19607 | }
|
19608 | ]
|
19609 | },
|
19610 | "myst": "| header 1 | header 2 |\n|:---|---:|\n| 3 | 4 |",
|
19611 | "html": "<table>\n <thead>\n <tr>\n <th>header 1</th>\n <th>header 2</th>\n </tr>\n </thead>\n <tbody>\n <tr>\n <td>3</td>\n <td>4</td>\n </tr>\n </tbody>\n</table>\n"
|
19612 | },
|
19613 | {
|
19614 | "title": "directives.table: Basic list table",
|
19615 | "mdast": {
|
19616 | "type": "root",
|
19617 | "children": [
|
19618 | {
|
19619 | "type": "mystDirective",
|
19620 | "name": "list-table",
|
19621 | "args": "Caption *text*",
|
19622 | "options": {
|
19623 | "name": "my-table",
|
19624 | "header-rows": 1,
|
19625 | "align": "center",
|
19626 | "class": "myclass"
|
19627 | },
|
19628 | "value": "* - Head 1, Column 1\n - Head 1, Column 2\n - Head 1, Column 3\n* - Row 1, Column 1\n - Row 1, Column 2\n - Row 1, Column 3\n* - Row 2, Column 1\n - Row 2, Column 2\n - Row 2, **Column 3**",
|
19629 | "children": [
|
19630 | {
|
19631 | "type": "container",
|
19632 | "kind": "table",
|
19633 | "identifier": "my-table",
|
19634 | "label": "my-table",
|
19635 | "class": "myclass",
|
19636 | "children": [
|
19637 | {
|
19638 | "type": "caption",
|
19639 | "children": [
|
19640 | {
|
19641 | "type": "paragraph",
|
19642 | "children": [
|
19643 | {
|
19644 | "type": "text",
|
19645 | "value": "Caption "
|
19646 | },
|
19647 | {
|
19648 | "type": "emphasis",
|
19649 | "children": [
|
19650 | {
|
19651 | "type": "text",
|
19652 | "value": "text"
|
19653 | }
|
19654 | ]
|
19655 | }
|
19656 | ]
|
19657 | }
|
19658 | ]
|
19659 | },
|
19660 | {
|
19661 | "type": "table",
|
19662 | "align": "center",
|
19663 | "children": [
|
19664 | {
|
19665 | "type": "tableRow",
|
19666 | "children": [
|
19667 | {
|
19668 | "type": "tableCell",
|
19669 | "header": true,
|
19670 | "children": [
|
19671 | {
|
19672 | "type": "text",
|
19673 | "value": "Head 1, Column 1"
|
19674 | }
|
19675 | ]
|
19676 | },
|
19677 | {
|
19678 | "type": "tableCell",
|
19679 | "header": true,
|
19680 | "children": [
|
19681 | {
|
19682 | "type": "text",
|
19683 | "value": "Head 1, Column 2"
|
19684 | }
|
19685 | ]
|
19686 | },
|
19687 | {
|
19688 | "type": "tableCell",
|
19689 | "header": true,
|
19690 | "children": [
|
19691 | {
|
19692 | "type": "text",
|
19693 | "value": "Head 1, Column 3"
|
19694 | }
|
19695 | ]
|
19696 | }
|
19697 | ]
|
19698 | },
|
19699 | {
|
19700 | "type": "tableRow",
|
19701 | "children": [
|
19702 | {
|
19703 | "type": "tableCell",
|
19704 | "children": [
|
19705 | {
|
19706 | "type": "text",
|
19707 | "value": "Row 1, Column 1"
|
19708 | }
|
19709 | ]
|
19710 | },
|
19711 | {
|
19712 | "type": "tableCell",
|
19713 | "children": [
|
19714 | {
|
19715 | "type": "text",
|
19716 | "value": "Row 1, Column 2"
|
19717 | }
|
19718 | ]
|
19719 | },
|
19720 | {
|
19721 | "type": "tableCell",
|
19722 | "children": [
|
19723 | {
|
19724 | "type": "text",
|
19725 | "value": "Row 1, Column 3"
|
19726 | }
|
19727 | ]
|
19728 | }
|
19729 | ]
|
19730 | },
|
19731 | {
|
19732 | "type": "tableRow",
|
19733 | "children": [
|
19734 | {
|
19735 | "type": "tableCell",
|
19736 | "children": [
|
19737 | {
|
19738 | "type": "text",
|
19739 | "value": "Row 2, Column 1"
|
19740 | }
|
19741 | ]
|
19742 | },
|
19743 | {
|
19744 | "type": "tableCell",
|
19745 | "children": [
|
19746 | {
|
19747 | "type": "text",
|
19748 | "value": "Row 2, Column 2"
|
19749 | }
|
19750 | ]
|
19751 | },
|
19752 | {
|
19753 | "type": "tableCell",
|
19754 | "children": [
|
19755 | {
|
19756 | "type": "text",
|
19757 | "value": "Row 2, "
|
19758 | },
|
19759 | {
|
19760 | "type": "strong",
|
19761 | "children": [
|
19762 | {
|
19763 | "type": "text",
|
19764 | "value": "Column 3"
|
19765 | }
|
19766 | ]
|
19767 | }
|
19768 | ]
|
19769 | }
|
19770 | ]
|
19771 | }
|
19772 | ]
|
19773 | }
|
19774 | ]
|
19775 | }
|
19776 | ]
|
19777 | }
|
19778 | ]
|
19779 | },
|
19780 | "myst": "```{list-table} Caption *text*\n:name: my-table\n:header-rows: 1\n:align: center\n:class: myclass\n\n* - Head 1, Column 1\n - Head 1, Column 2\n - Head 1, Column 3\n* - Row 1, Column 1\n - Row 1, Column 2\n - Row 1, Column 3\n* - Row 2, Column 1\n - Row 2, Column 2\n - Row 2, **Column 3**\n```",
|
19781 | "html": "<figure id=\"my-table\" class=\"numbered myclass\">\n <figcaption>\n <p><span class=\"caption-number\">Table 1</span>Caption <em>text</em></p>\n </figcaption>\n <table align=\"center\">\n <thead>\n <tr>\n <th>Head 1, Column 1</th>\n <th>Head 1, Column 2</th>\n <th>Head 1, Column 3</th>\n </tr>\n </thead>\n <tbody>\n <tr>\n <td>Row 1, Column 1</td>\n <td>Row 1, Column 2</td>\n <td>Row 1, Column 3</td>\n </tr>\n <tr>\n <td>Row 2, Column 1</td>\n <td>Row 2, Column 2</td>\n <td>Row 2, <strong>Column 3</strong></td>\n </tr>\n </tbody>\n </table>\n</figure>\n"
|
19782 | },
|
19783 | {
|
19784 | "title": "footnotes: Basic footnotes",
|
19785 | "mdast": {
|
19786 | "type": "root",
|
19787 | "children": [
|
19788 | {
|
19789 | "type": "paragraph",
|
19790 | "children": [
|
19791 | {
|
19792 | "type": "text",
|
19793 | "value": "Here's a simple footnote,"
|
19794 | },
|
19795 | {
|
19796 | "type": "footnoteReference",
|
19797 | "identifier": "1",
|
19798 | "label": "1"
|
19799 | },
|
19800 | {
|
19801 | "type": "text",
|
19802 | "value": " and here's a longer one."
|
19803 | },
|
19804 | {
|
19805 | "type": "footnoteReference",
|
19806 | "identifier": "bignote",
|
19807 | "label": "bignote"
|
19808 | }
|
19809 | ]
|
19810 | },
|
19811 | {
|
19812 | "type": "footnoteDefinition",
|
19813 | "identifier": "1",
|
19814 | "label": "1",
|
19815 | "children": [
|
19816 | {
|
19817 | "type": "paragraph",
|
19818 | "children": [
|
19819 | {
|
19820 | "type": "text",
|
19821 | "value": "This is the first footnote."
|
19822 | }
|
19823 | ]
|
19824 | }
|
19825 | ]
|
19826 | },
|
19827 | {
|
19828 | "type": "footnoteDefinition",
|
19829 | "identifier": "bignote",
|
19830 | "label": "bignote",
|
19831 | "children": [
|
19832 | {
|
19833 | "type": "paragraph",
|
19834 | "children": [
|
19835 | {
|
19836 | "type": "text",
|
19837 | "value": "Here's one with multiple paragraphs and code."
|
19838 | }
|
19839 | ]
|
19840 | },
|
19841 | {
|
19842 | "type": "paragraph",
|
19843 | "children": [
|
19844 | {
|
19845 | "type": "text",
|
19846 | "value": "Indent paragraphs to include them in the footnote."
|
19847 | }
|
19848 | ]
|
19849 | },
|
19850 | {
|
19851 | "type": "paragraph",
|
19852 | "children": [
|
19853 | {
|
19854 | "type": "inlineCode",
|
19855 | "value": "{ my code }"
|
19856 | }
|
19857 | ]
|
19858 | },
|
19859 | {
|
19860 | "type": "paragraph",
|
19861 | "children": [
|
19862 | {
|
19863 | "type": "text",
|
19864 | "value": "Add as many paragraphs as you like."
|
19865 | }
|
19866 | ]
|
19867 | }
|
19868 | ]
|
19869 | }
|
19870 | ]
|
19871 | },
|
19872 | "myst": "Here's a simple footnote,[^1] and here's a longer one.[^bignote]\n\n[^1]: This is the first footnote.\n\n[^bignote]: Here's one with multiple paragraphs and code.\n\n Indent paragraphs to include them in the footnote.\n\n `{ my code }`\n\n Add as many paragraphs as you like.",
|
19873 | "html": "<p>Here's a simple footnote,<sup><a href=\"#m-fn-1\" id=\"m-fnref-1\" data-footnote-ref aria-describedby=\"footnote-label\">1</a></sup> and here's a longer one.<sup><a href=\"#m-fn-bignote\" id=\"m-fnref-bignote\" data-footnote-ref aria-describedby=\"footnote-label\">2</a></sup></p>\n<section data-footnotes class=\"footnotes\">\n <h2 id=\"footnote-label\" class=\"sr-only\">Footnotes</h2>\n <ol>\n <li id=\"m-fn-1\">\n <p>This is the first footnote. <a href=\"#m-fnref-1\" data-footnote-backref class=\"data-footnote-backref\" aria-label=\"Back to content\">↩</a></p>\n </li>\n <li id=\"m-fn-bignote\">\n <p>Here's one with multiple paragraphs and code.</p>\n <p>Indent paragraphs to include them in the footnote.</p>\n <p><code>{ my code }</code></p>\n <p>Add as many paragraphs as you like. <a href=\"#m-fnref-bignote\" data-footnote-backref class=\"data-footnote-backref\" aria-label=\"Back to content\">↩</a></p>\n </li>\n </ol>\n</section>\n"
|
19874 | },
|
19875 | {
|
19876 | "title": "references.equations: Invalid equation reference",
|
19877 | "mdast": {
|
19878 | "type": "root",
|
19879 | "children": [
|
19880 | {
|
19881 | "type": "paragraph",
|
19882 | "children": [
|
19883 | {
|
19884 | "type": "text",
|
19885 | "value": "see "
|
19886 | },
|
19887 | {
|
19888 | "type": "mystRole",
|
19889 | "name": "eq",
|
19890 | "value": " matrix ",
|
19891 | "children": [
|
19892 | {
|
19893 | "type": "crossReference",
|
19894 | "kind": "eq",
|
19895 | "identifier": "matrix",
|
19896 | "label": " matrix "
|
19897 | }
|
19898 | ]
|
19899 | }
|
19900 | ]
|
19901 | },
|
19902 | {
|
19903 | "type": "mystDirective",
|
19904 | "name": "figure",
|
19905 | "args": "fig.jpg",
|
19906 | "options": {
|
19907 | "name": "matrix"
|
19908 | },
|
19909 | "value": "Cool caption!",
|
19910 | "children": [
|
19911 | {
|
19912 | "type": "container",
|
19913 | "kind": "figure",
|
19914 | "identifier": "matrix",
|
19915 | "label": "matrix",
|
19916 | "children": [
|
19917 | {
|
19918 | "type": "image",
|
19919 | "url": "fig.jpg"
|
19920 | },
|
19921 | {
|
19922 | "type": "caption",
|
19923 | "children": [
|
19924 | {
|
19925 | "type": "paragraph",
|
19926 | "children": [
|
19927 | {
|
19928 | "type": "text",
|
19929 | "value": "Cool caption!"
|
19930 | }
|
19931 | ]
|
19932 | }
|
19933 | ]
|
19934 | }
|
19935 | ]
|
19936 | }
|
19937 | ]
|
19938 | }
|
19939 | ]
|
19940 | },
|
19941 | "myst": "\nsee {eq}` matrix `\n\n```{figure} fig.jpg\n:name: matrix\n\nCool caption!\n```",
|
19942 | "html": "<p>see <span class=\"reference role unhandled\"><code class=\"kind\">{eq}</code><code>matrix</code></span></p>\n<figure id=\"matrix\" class=\"numbered\">\n <img src=\"fig.jpg\">\n <figcaption>\n <p><span class=\"caption-number\">Figure 1</span>Cool caption!</p>\n </figcaption>\n</figure>\n"
|
19943 | },
|
19944 | {
|
19945 | "title": "references.equations: Default equation reference",
|
19946 | "mdast": {
|
19947 | "type": "root",
|
19948 | "children": [
|
19949 | {
|
19950 | "type": "paragraph",
|
19951 | "children": [
|
19952 | {
|
19953 | "type": "text",
|
19954 | "value": "see "
|
19955 | },
|
19956 | {
|
19957 | "type": "mystRole",
|
19958 | "name": "eq",
|
19959 | "value": "matrix",
|
19960 | "children": [
|
19961 | {
|
19962 | "type": "crossReference",
|
19963 | "kind": "eq",
|
19964 | "identifier": "matrix",
|
19965 | "label": "matrix"
|
19966 | }
|
19967 | ]
|
19968 | }
|
19969 | ]
|
19970 | },
|
19971 | {
|
19972 | "type": "mystDirective",
|
19973 | "name": "math",
|
19974 | "options": {
|
19975 | "label": "matrix"
|
19976 | },
|
19977 | "value": "Ax = b",
|
19978 | "children": [
|
19979 | {
|
19980 | "type": "math",
|
19981 | "identifier": "matrix",
|
19982 | "label": "matrix",
|
19983 | "value": "Ax = b"
|
19984 | }
|
19985 | ]
|
19986 | }
|
19987 | ]
|
19988 | },
|
19989 | "myst": "\nsee {eq}`matrix`\n\n```{math}\n:label: matrix\nAx = b\n```",
|
19990 | "html": "<p>see <a href=\"#matrix\">(1)</a></p>\n<div id=\"matrix\" class=\"math-display\">Ax = b</div>\n"
|
19991 | },
|
19992 | {
|
19993 | "title": "references.equations: Link-style equation reference",
|
19994 | "mdast": {
|
19995 | "type": "root",
|
19996 | "children": [
|
19997 | {
|
19998 | "type": "paragraph",
|
19999 | "children": [
|
20000 | {
|
20001 | "type": "text",
|
20002 | "value": "see "
|
20003 | },
|
20004 | {
|
20005 | "type": "link",
|
20006 | "url": "matrix",
|
20007 | "children": []
|
20008 | }
|
20009 | ]
|
20010 | },
|
20011 | {
|
20012 | "type": "mystDirective",
|
20013 | "name": "math",
|
20014 | "options": {
|
20015 | "label": "matrix"
|
20016 | },
|
20017 | "value": "Ax = b",
|
20018 | "children": [
|
20019 | {
|
20020 | "type": "math",
|
20021 | "identifier": "matrix",
|
20022 | "label": "matrix",
|
20023 | "value": "Ax = b"
|
20024 | }
|
20025 | ]
|
20026 | }
|
20027 | ]
|
20028 | },
|
20029 | "myst": "\nsee [](matrix)\n\n```{math}\n:label: matrix\nAx = b\n```",
|
20030 | "html": "<p>see <a href=\"#matrix\">(1)</a></p>\n<div id=\"matrix\" class=\"math-display\">Ax = b</div>\n"
|
20031 | },
|
20032 | {
|
20033 | "title": "references.figures: Invalid figure reference without value",
|
20034 | "mdast": {
|
20035 | "type": "root",
|
20036 | "children": [
|
20037 | {
|
20038 | "type": "paragraph",
|
20039 | "children": [
|
20040 | {
|
20041 | "type": "mystRole",
|
20042 | "name": "numref",
|
20043 | "value": "my-figure",
|
20044 | "children": [
|
20045 | {
|
20046 | "type": "crossReference",
|
20047 | "kind": "numref",
|
20048 | "identifier": "my-figure",
|
20049 | "label": "my-figure"
|
20050 | }
|
20051 | ]
|
20052 | }
|
20053 | ]
|
20054 | }
|
20055 | ]
|
20056 | },
|
20057 | "myst": "{numref}`my-figure`",
|
20058 | "html": "<p><span class=\"reference role unhandled\"><code class=\"kind\">{numref}</code><code>my-figure</code></span></p>\n"
|
20059 | },
|
20060 | {
|
20061 | "title": "references.figures: Invalid figure reference",
|
20062 | "mdast": {
|
20063 | "type": "root",
|
20064 | "children": [
|
20065 | {
|
20066 | "type": "paragraph",
|
20067 | "children": [
|
20068 | {
|
20069 | "type": "mystRole",
|
20070 | "name": "numref",
|
20071 | "value": "Figure %s <my-figure>",
|
20072 | "children": [
|
20073 | {
|
20074 | "type": "crossReference",
|
20075 | "kind": "numref",
|
20076 | "identifier": "my-figure",
|
20077 | "label": "my-figure",
|
20078 | "children": [
|
20079 | {
|
20080 | "type": "text",
|
20081 | "value": "Figure %s"
|
20082 | }
|
20083 | ]
|
20084 | }
|
20085 | ]
|
20086 | }
|
20087 | ]
|
20088 | }
|
20089 | ]
|
20090 | },
|
20091 | "myst": "{numref}`Figure %s <my-figure>`",
|
20092 | "html": "<p><span class=\"reference role unhandled\"><code class=\"kind\">{numref}</code><code>my-figure</code></span></p>\n"
|
20093 | },
|
20094 | {
|
20095 | "title": "references.figures: Invalid figure reference with messy label",
|
20096 | "mdast": {
|
20097 | "type": "root",
|
20098 | "children": [
|
20099 | {
|
20100 | "type": "paragraph",
|
20101 | "children": [
|
20102 | {
|
20103 | "type": "mystRole",
|
20104 | "name": "numref",
|
20105 | "value": "Figure %s < My - Figure >",
|
20106 | "children": [
|
20107 | {
|
20108 | "type": "crossReference",
|
20109 | "kind": "numref",
|
20110 | "identifier": "my - figure",
|
20111 | "label": " My - Figure ",
|
20112 | "children": [
|
20113 | {
|
20114 | "type": "text",
|
20115 | "value": "Figure %s"
|
20116 | }
|
20117 | ]
|
20118 | }
|
20119 | ]
|
20120 | }
|
20121 | ]
|
20122 | }
|
20123 | ]
|
20124 | },
|
20125 | "myst": "{numref}`Figure %s < My - Figure >`",
|
20126 | "html": "<p><span class=\"reference role unhandled\"><code class=\"kind\">{numref}</code><code>my - figure</code></span></p>\n"
|
20127 | },
|
20128 | {
|
20129 | "title": "references.figures: Figure reference with default numref",
|
20130 | "mdast": {
|
20131 | "type": "root",
|
20132 | "children": [
|
20133 | {
|
20134 | "type": "paragraph",
|
20135 | "children": [
|
20136 | {
|
20137 | "type": "text",
|
20138 | "value": "see "
|
20139 | },
|
20140 | {
|
20141 | "type": "mystRole",
|
20142 | "name": "numref",
|
20143 | "value": "my-figure",
|
20144 | "children": [
|
20145 | {
|
20146 | "type": "crossReference",
|
20147 | "kind": "numref",
|
20148 | "identifier": "my-figure",
|
20149 | "label": "my-figure"
|
20150 | }
|
20151 | ]
|
20152 | }
|
20153 | ]
|
20154 | },
|
20155 | {
|
20156 | "type": "mystDirective",
|
20157 | "name": "figure",
|
20158 | "args": "fig.jpg",
|
20159 | "options": {
|
20160 | "name": "my-figure"
|
20161 | },
|
20162 | "value": "Cool caption!",
|
20163 | "children": [
|
20164 | {
|
20165 | "type": "container",
|
20166 | "kind": "figure",
|
20167 | "identifier": "my-figure",
|
20168 | "label": "my-figure",
|
20169 | "children": [
|
20170 | {
|
20171 | "type": "image",
|
20172 | "url": "fig.jpg"
|
20173 | },
|
20174 | {
|
20175 | "type": "caption",
|
20176 | "children": [
|
20177 | {
|
20178 | "type": "paragraph",
|
20179 | "children": [
|
20180 | {
|
20181 | "type": "text",
|
20182 | "value": "Cool caption!"
|
20183 | }
|
20184 | ]
|
20185 | }
|
20186 | ]
|
20187 | }
|
20188 | ]
|
20189 | }
|
20190 | ]
|
20191 | }
|
20192 | ]
|
20193 | },
|
20194 | "myst": "see {numref}`my-figure`\n\n```{figure} fig.jpg\n:name: my-figure\n\nCool caption!\n```",
|
20195 | "html": "<p>see <a href=\"#my-figure\">Figure 1</a></p>\n<figure id=\"my-figure\" class=\"numbered\">\n <img src=\"fig.jpg\">\n <figcaption>\n <p><span class=\"caption-number\">Figure 1</span>Cool caption!</p>\n </figcaption>\n</figure>\n"
|
20196 | },
|
20197 | {
|
20198 | "title": "references.figures: Figure reference with custom numref",
|
20199 | "mdast": {
|
20200 | "type": "root",
|
20201 | "children": [
|
20202 | {
|
20203 | "type": "paragraph",
|
20204 | "children": [
|
20205 | {
|
20206 | "type": "text",
|
20207 | "value": "see "
|
20208 | },
|
20209 | {
|
20210 | "type": "mystRole",
|
20211 | "name": "numref",
|
20212 | "value": "Figure %s%s%s, I said {number}<my-figure>",
|
20213 | "children": [
|
20214 | {
|
20215 | "type": "crossReference",
|
20216 | "kind": "numref",
|
20217 | "identifier": "my-figure",
|
20218 | "label": "my-figure",
|
20219 | "children": [
|
20220 | {
|
20221 | "type": "text",
|
20222 | "value": "Figure %s%s%s, I said {number}"
|
20223 | }
|
20224 | ]
|
20225 | }
|
20226 | ]
|
20227 | }
|
20228 | ]
|
20229 | },
|
20230 | {
|
20231 | "type": "mystDirective",
|
20232 | "name": "figure",
|
20233 | "args": "fig.jpg",
|
20234 | "options": {
|
20235 | "name": "my-figure"
|
20236 | },
|
20237 | "value": "Cool caption!",
|
20238 | "children": [
|
20239 | {
|
20240 | "type": "container",
|
20241 | "kind": "figure",
|
20242 | "identifier": "my-figure",
|
20243 | "label": "my-figure",
|
20244 | "children": [
|
20245 | {
|
20246 | "type": "image",
|
20247 | "url": "fig.jpg"
|
20248 | },
|
20249 | {
|
20250 | "type": "caption",
|
20251 | "children": [
|
20252 | {
|
20253 | "type": "paragraph",
|
20254 | "children": [
|
20255 | {
|
20256 | "type": "text",
|
20257 | "value": "Cool caption!"
|
20258 | }
|
20259 | ]
|
20260 | }
|
20261 | ]
|
20262 | }
|
20263 | ]
|
20264 | }
|
20265 | ]
|
20266 | }
|
20267 | ]
|
20268 | },
|
20269 | "myst": "see {numref}`Figure %s%s%s, I said {number}<my-figure>`\n\n```{figure} fig.jpg\n:name: my-figure\n\nCool caption!\n```",
|
20270 | "html": "<p>see <a href=\"#my-figure\">Figure 111, I said 1</a></p>\n<figure id=\"my-figure\" class=\"numbered\">\n <img src=\"fig.jpg\">\n <figcaption>\n <p><span class=\"caption-number\">Figure 1</span>Cool caption!</p>\n </figcaption>\n</figure>\n"
|
20271 | },
|
20272 | {
|
20273 | "title": "references.figures: Figure reference with default ref",
|
20274 | "mdast": {
|
20275 | "type": "root",
|
20276 | "children": [
|
20277 | {
|
20278 | "type": "paragraph",
|
20279 | "children": [
|
20280 | {
|
20281 | "type": "text",
|
20282 | "value": "see "
|
20283 | },
|
20284 | {
|
20285 | "type": "mystRole",
|
20286 | "name": "ref",
|
20287 | "value": "my-figure",
|
20288 | "children": [
|
20289 | {
|
20290 | "type": "crossReference",
|
20291 | "kind": "ref",
|
20292 | "identifier": "my-figure",
|
20293 | "label": "my-figure"
|
20294 | }
|
20295 | ]
|
20296 | }
|
20297 | ]
|
20298 | },
|
20299 | {
|
20300 | "type": "mystDirective",
|
20301 | "name": "figure",
|
20302 | "args": "fig.jpg",
|
20303 | "options": {
|
20304 | "name": "my-figure"
|
20305 | },
|
20306 | "value": "Cool *caption*!",
|
20307 | "children": [
|
20308 | {
|
20309 | "type": "container",
|
20310 | "kind": "figure",
|
20311 | "identifier": "my-figure",
|
20312 | "label": "my-figure",
|
20313 | "children": [
|
20314 | {
|
20315 | "type": "image",
|
20316 | "url": "fig.jpg"
|
20317 | },
|
20318 | {
|
20319 | "type": "caption",
|
20320 | "children": [
|
20321 | {
|
20322 | "type": "paragraph",
|
20323 | "children": [
|
20324 | {
|
20325 | "type": "text",
|
20326 | "value": "Cool "
|
20327 | },
|
20328 | {
|
20329 | "type": "emphasis",
|
20330 | "children": [
|
20331 | {
|
20332 | "type": "text",
|
20333 | "value": "caption"
|
20334 | }
|
20335 | ]
|
20336 | },
|
20337 | {
|
20338 | "type": "text",
|
20339 | "value": "!"
|
20340 | }
|
20341 | ]
|
20342 | }
|
20343 | ]
|
20344 | }
|
20345 | ]
|
20346 | }
|
20347 | ]
|
20348 | }
|
20349 | ]
|
20350 | },
|
20351 | "myst": "see {ref}`my-figure`\n\n```{figure} fig.jpg\n:name: my-figure\n\nCool *caption*!\n```",
|
20352 | "html": "<p>see <a href=\"#my-figure\">Cool <em>caption</em>!</a></p>\n<figure id=\"my-figure\" class=\"numbered\">\n <img src=\"fig.jpg\">\n <figcaption>\n <p><span class=\"caption-number\">Figure 1</span>Cool <em>caption</em>!</p>\n </figcaption>\n</figure>\n"
|
20353 | },
|
20354 | {
|
20355 | "title": "references.figures: Figure reference with custom ref",
|
20356 | "mdast": {
|
20357 | "type": "root",
|
20358 | "children": [
|
20359 | {
|
20360 | "type": "paragraph",
|
20361 | "children": [
|
20362 | {
|
20363 | "type": "text",
|
20364 | "value": "see "
|
20365 | },
|
20366 | {
|
20367 | "type": "mystRole",
|
20368 | "name": "ref",
|
20369 | "value": "Custom *caption* <my-figure>",
|
20370 | "children": [
|
20371 | {
|
20372 | "type": "crossReference",
|
20373 | "kind": "ref",
|
20374 | "identifier": "my-figure",
|
20375 | "label": "my-figure",
|
20376 | "children": [
|
20377 | {
|
20378 | "type": "text",
|
20379 | "value": "Custom *caption*"
|
20380 | }
|
20381 | ]
|
20382 | }
|
20383 | ]
|
20384 | }
|
20385 | ]
|
20386 | },
|
20387 | {
|
20388 | "type": "mystDirective",
|
20389 | "name": "figure",
|
20390 | "args": "fig.jpg",
|
20391 | "options": {
|
20392 | "name": "my-figure"
|
20393 | },
|
20394 | "value": "Cool *caption*!",
|
20395 | "children": [
|
20396 | {
|
20397 | "type": "container",
|
20398 | "kind": "figure",
|
20399 | "identifier": "my-figure",
|
20400 | "label": "my-figure",
|
20401 | "children": [
|
20402 | {
|
20403 | "type": "image",
|
20404 | "url": "fig.jpg"
|
20405 | },
|
20406 | {
|
20407 | "type": "caption",
|
20408 | "children": [
|
20409 | {
|
20410 | "type": "paragraph",
|
20411 | "children": [
|
20412 | {
|
20413 | "type": "text",
|
20414 | "value": "Cool "
|
20415 | },
|
20416 | {
|
20417 | "type": "emphasis",
|
20418 | "children": [
|
20419 | {
|
20420 | "type": "text",
|
20421 | "value": "caption"
|
20422 | }
|
20423 | ]
|
20424 | },
|
20425 | {
|
20426 | "type": "text",
|
20427 | "value": "!"
|
20428 | }
|
20429 | ]
|
20430 | }
|
20431 | ]
|
20432 | }
|
20433 | ]
|
20434 | }
|
20435 | ]
|
20436 | }
|
20437 | ]
|
20438 | },
|
20439 | "myst": "see {ref}`Custom *caption* <my-figure>`\n\n```{figure} fig.jpg\n:name: my-figure\n\nCool *caption*!\n```",
|
20440 | "html": "<p>see <a href=\"#my-figure\">Custom *caption*</a></p>\n<figure id=\"my-figure\" class=\"numbered\">\n <img src=\"fig.jpg\">\n <figcaption>\n <p><span class=\"caption-number\">Figure 1</span>Cool <em>caption</em>!</p>\n </figcaption>\n</figure>\n"
|
20441 | },
|
20442 | {
|
20443 | "title": "references.figures: Link-style figure reference with default ref",
|
20444 | "mdast": {
|
20445 | "type": "root",
|
20446 | "children": [
|
20447 | {
|
20448 | "type": "paragraph",
|
20449 | "children": [
|
20450 | {
|
20451 | "type": "text",
|
20452 | "value": "see "
|
20453 | },
|
20454 | {
|
20455 | "type": "link",
|
20456 | "url": "my-figure",
|
20457 | "title": "Figure title",
|
20458 | "children": []
|
20459 | }
|
20460 | ]
|
20461 | },
|
20462 | {
|
20463 | "type": "mystDirective",
|
20464 | "name": "figure",
|
20465 | "args": "fig.jpg",
|
20466 | "options": {
|
20467 | "name": "my-figure"
|
20468 | },
|
20469 | "value": "Cool *caption*!",
|
20470 | "children": [
|
20471 | {
|
20472 | "type": "container",
|
20473 | "kind": "figure",
|
20474 | "identifier": "my-figure",
|
20475 | "label": "my-figure",
|
20476 | "children": [
|
20477 | {
|
20478 | "type": "image",
|
20479 | "url": "fig.jpg"
|
20480 | },
|
20481 | {
|
20482 | "type": "caption",
|
20483 | "children": [
|
20484 | {
|
20485 | "type": "paragraph",
|
20486 | "children": [
|
20487 | {
|
20488 | "type": "text",
|
20489 | "value": "Cool "
|
20490 | },
|
20491 | {
|
20492 | "type": "emphasis",
|
20493 | "children": [
|
20494 | {
|
20495 | "type": "text",
|
20496 | "value": "caption"
|
20497 | }
|
20498 | ]
|
20499 | },
|
20500 | {
|
20501 | "type": "text",
|
20502 | "value": "!"
|
20503 | }
|
20504 | ]
|
20505 | }
|
20506 | ]
|
20507 | }
|
20508 | ]
|
20509 | }
|
20510 | ]
|
20511 | }
|
20512 | ]
|
20513 | },
|
20514 | "myst": "see [](my-figure \"Figure title\")\n\n```{figure} fig.jpg\n:name: my-figure\n\nCool *caption*!\n```",
|
20515 | "html": "<p>see <a href=\"#my-figure\" title=\"Figure title\">Cool <em>caption</em>!</a></p>\n<figure id=\"my-figure\" class=\"numbered\">\n <img src=\"fig.jpg\">\n <figcaption>\n <p><span class=\"caption-number\">Figure 1</span>Cool <em>caption</em>!</p>\n </figcaption>\n</figure>\n"
|
20516 | },
|
20517 | {
|
20518 | "title": "references.figures: Link-style figure reference with custom ref",
|
20519 | "mdast": {
|
20520 | "type": "root",
|
20521 | "children": [
|
20522 | {
|
20523 | "type": "paragraph",
|
20524 | "children": [
|
20525 | {
|
20526 | "type": "text",
|
20527 | "value": "see "
|
20528 | },
|
20529 | {
|
20530 | "type": "link",
|
20531 | "url": "my-figure",
|
20532 | "children": [
|
20533 | {
|
20534 | "type": "text",
|
20535 | "value": "Custom "
|
20536 | },
|
20537 | {
|
20538 | "type": "emphasis",
|
20539 | "children": [
|
20540 | {
|
20541 | "type": "text",
|
20542 | "value": "caption"
|
20543 | }
|
20544 | ]
|
20545 | }
|
20546 | ]
|
20547 | }
|
20548 | ]
|
20549 | },
|
20550 | {
|
20551 | "type": "mystDirective",
|
20552 | "name": "figure",
|
20553 | "args": "fig.jpg",
|
20554 | "options": {
|
20555 | "name": "my-figure"
|
20556 | },
|
20557 | "value": "Cool *caption*!",
|
20558 | "children": [
|
20559 | {
|
20560 | "type": "container",
|
20561 | "kind": "figure",
|
20562 | "identifier": "my-figure",
|
20563 | "label": "my-figure",
|
20564 | "children": [
|
20565 | {
|
20566 | "type": "image",
|
20567 | "url": "fig.jpg"
|
20568 | },
|
20569 | {
|
20570 | "type": "caption",
|
20571 | "children": [
|
20572 | {
|
20573 | "type": "paragraph",
|
20574 | "children": [
|
20575 | {
|
20576 | "type": "text",
|
20577 | "value": "Cool "
|
20578 | },
|
20579 | {
|
20580 | "type": "emphasis",
|
20581 | "children": [
|
20582 | {
|
20583 | "type": "text",
|
20584 | "value": "caption"
|
20585 | }
|
20586 | ]
|
20587 | },
|
20588 | {
|
20589 | "type": "text",
|
20590 | "value": "!"
|
20591 | }
|
20592 | ]
|
20593 | }
|
20594 | ]
|
20595 | }
|
20596 | ]
|
20597 | }
|
20598 | ]
|
20599 | }
|
20600 | ]
|
20601 | },
|
20602 | "myst": "see [Custom *caption*](my-figure)\n\n```{figure} fig.jpg\n:name: my-figure\n\nCool *caption*!\n```",
|
20603 | "html": "<p>see <a href=\"#my-figure\">Custom <em>caption</em></a></p>\n<figure id=\"my-figure\" class=\"numbered\">\n <img src=\"fig.jpg\">\n <figcaption>\n <p><span class=\"caption-number\">Figure 1</span>Cool <em>caption</em>!</p>\n </figcaption>\n</figure>\n"
|
20604 | },
|
20605 | {
|
20606 | "title": "references.headings: Default header reference",
|
20607 | "mdast": {
|
20608 | "type": "root",
|
20609 | "children": [
|
20610 | {
|
20611 | "type": "paragraph",
|
20612 | "children": [
|
20613 | {
|
20614 | "type": "text",
|
20615 | "value": "See: "
|
20616 | },
|
20617 | {
|
20618 | "type": "mystRole",
|
20619 | "name": "ref",
|
20620 | "value": "my_id",
|
20621 | "children": [
|
20622 | {
|
20623 | "type": "crossReference",
|
20624 | "kind": "ref",
|
20625 | "identifier": "my_id",
|
20626 | "label": "my_id"
|
20627 | }
|
20628 | ]
|
20629 | }
|
20630 | ]
|
20631 | },
|
20632 | {
|
20633 | "type": "mystTarget",
|
20634 | "label": "my_id"
|
20635 | },
|
20636 | {
|
20637 | "type": "heading",
|
20638 | "depth": 1,
|
20639 | "children": [
|
20640 | {
|
20641 | "type": "strong",
|
20642 | "children": [
|
20643 | {
|
20644 | "type": "text",
|
20645 | "value": "My"
|
20646 | }
|
20647 | ]
|
20648 | },
|
20649 | {
|
20650 | "type": "text",
|
20651 | "value": " Header"
|
20652 | }
|
20653 | ]
|
20654 | }
|
20655 | ]
|
20656 | },
|
20657 | "myst": "See: {ref}`my_id`\n\n(my_id)=\n# **My** Header",
|
20658 | "html": "<p>See: <a href=\"#my_id\"><strong>My</strong> Header</a></p>\n<h1 id=\"my_id\"><strong>My</strong> Header</h1>\n"
|
20659 | },
|
20660 | {
|
20661 | "title": "references.headings: Custom header reference",
|
20662 | "mdast": {
|
20663 | "type": "root",
|
20664 | "children": [
|
20665 | {
|
20666 | "type": "paragraph",
|
20667 | "children": [
|
20668 | {
|
20669 | "type": "text",
|
20670 | "value": "See: "
|
20671 | },
|
20672 | {
|
20673 | "type": "mystRole",
|
20674 | "name": "ref",
|
20675 | "value": "something... <my_id>",
|
20676 | "children": [
|
20677 | {
|
20678 | "type": "crossReference",
|
20679 | "kind": "ref",
|
20680 | "identifier": "my_id",
|
20681 | "label": "my_id",
|
20682 | "children": [
|
20683 | {
|
20684 | "type": "text",
|
20685 | "value": "something..."
|
20686 | }
|
20687 | ]
|
20688 | }
|
20689 | ]
|
20690 | }
|
20691 | ]
|
20692 | },
|
20693 | {
|
20694 | "type": "mystTarget",
|
20695 | "label": "my_id"
|
20696 | },
|
20697 | {
|
20698 | "type": "heading",
|
20699 | "depth": 1,
|
20700 | "children": [
|
20701 | {
|
20702 | "type": "text",
|
20703 | "value": "My Header"
|
20704 | }
|
20705 | ]
|
20706 | }
|
20707 | ]
|
20708 | },
|
20709 | "myst": "See: {ref}`something... <my_id>`\n\n(my_id)=\n# My Header",
|
20710 | "html": "<p>See: <a href=\"#my_id\">something...</a></p>\n<h1 id=\"my_id\">My Header</h1>\n"
|
20711 | },
|
20712 | {
|
20713 | "title": "references.headings: Link-style default header reference",
|
20714 | "mdast": {
|
20715 | "type": "root",
|
20716 | "children": [
|
20717 | {
|
20718 | "type": "paragraph",
|
20719 | "children": [
|
20720 | {
|
20721 | "type": "text",
|
20722 | "value": "See: "
|
20723 | },
|
20724 | {
|
20725 | "type": "link",
|
20726 | "url": "my_id",
|
20727 | "children": []
|
20728 | }
|
20729 | ]
|
20730 | },
|
20731 | {
|
20732 | "type": "mystTarget",
|
20733 | "label": "my_id"
|
20734 | },
|
20735 | {
|
20736 | "type": "heading",
|
20737 | "depth": 1,
|
20738 | "children": [
|
20739 | {
|
20740 | "type": "strong",
|
20741 | "children": [
|
20742 | {
|
20743 | "type": "text",
|
20744 | "value": "My"
|
20745 | }
|
20746 | ]
|
20747 | },
|
20748 | {
|
20749 | "type": "text",
|
20750 | "value": " Header"
|
20751 | }
|
20752 | ]
|
20753 | }
|
20754 | ]
|
20755 | },
|
20756 | "myst": "See: [](my_id)\n\n(my_id)=\n# **My** Header",
|
20757 | "html": "<p>See: <a href=\"#my_id\"><strong>My</strong> Header</a></p>\n<h1 id=\"my_id\"><strong>My</strong> Header</h1>\n"
|
20758 | },
|
20759 | {
|
20760 | "title": "references.headings: Link-style custom header reference",
|
20761 | "mdast": {
|
20762 | "type": "root",
|
20763 | "children": [
|
20764 | {
|
20765 | "type": "paragraph",
|
20766 | "children": [
|
20767 | {
|
20768 | "type": "text",
|
20769 | "value": "See: "
|
20770 | },
|
20771 | {
|
20772 | "type": "link",
|
20773 | "url": "My_Id",
|
20774 | "title": "Title",
|
20775 | "children": [
|
20776 | {
|
20777 | "type": "text",
|
20778 | "value": "something..."
|
20779 | }
|
20780 | ]
|
20781 | }
|
20782 | ]
|
20783 | },
|
20784 | {
|
20785 | "type": "mystTarget",
|
20786 | "label": "my_id"
|
20787 | },
|
20788 | {
|
20789 | "type": "heading",
|
20790 | "depth": 1,
|
20791 | "children": [
|
20792 | {
|
20793 | "type": "text",
|
20794 | "value": "My Header"
|
20795 | }
|
20796 | ]
|
20797 | }
|
20798 | ]
|
20799 | },
|
20800 | "myst": "See: [something...](My_Id \"Title\")\n\n(my_id)=\n# My Header",
|
20801 | "html": "<p>See: <a href=\"#my_id\" title=\"Title\">something...</a></p>\n<h1 id=\"my_id\">My Header</h1>\n"
|
20802 | },
|
20803 | {
|
20804 | "title": "references.tables: Table figure reference with default numref",
|
20805 | "mdast": {
|
20806 | "type": "root",
|
20807 | "children": [
|
20808 | {
|
20809 | "type": "paragraph",
|
20810 | "children": [
|
20811 | {
|
20812 | "type": "text",
|
20813 | "value": "see "
|
20814 | },
|
20815 | {
|
20816 | "type": "mystRole",
|
20817 | "name": "numref",
|
20818 | "value": "my-table",
|
20819 | "children": [
|
20820 | {
|
20821 | "type": "crossReference",
|
20822 | "kind": "numref",
|
20823 | "identifier": "my-table",
|
20824 | "label": "my-table"
|
20825 | }
|
20826 | ]
|
20827 | }
|
20828 | ]
|
20829 | },
|
20830 | {
|
20831 | "type": "mystDirective",
|
20832 | "name": "list-table",
|
20833 | "args": "Caption text",
|
20834 | "options": {
|
20835 | "name": "my-table"
|
20836 | },
|
20837 | "value": "* - Head 1\n* - Row 1",
|
20838 | "children": [
|
20839 | {
|
20840 | "type": "container",
|
20841 | "kind": "table",
|
20842 | "identifier": "my-table",
|
20843 | "label": "my-table",
|
20844 | "children": [
|
20845 | {
|
20846 | "type": "caption",
|
20847 | "children": [
|
20848 | {
|
20849 | "type": "paragraph",
|
20850 | "children": [
|
20851 | {
|
20852 | "type": "text",
|
20853 | "value": "Caption text"
|
20854 | }
|
20855 | ]
|
20856 | }
|
20857 | ]
|
20858 | },
|
20859 | {
|
20860 | "type": "table",
|
20861 | "children": [
|
20862 | {
|
20863 | "type": "tableRow",
|
20864 | "children": [
|
20865 | {
|
20866 | "type": "tableCell",
|
20867 | "children": [
|
20868 | {
|
20869 | "type": "text",
|
20870 | "value": "Head 1"
|
20871 | }
|
20872 | ]
|
20873 | }
|
20874 | ]
|
20875 | },
|
20876 | {
|
20877 | "type": "tableRow",
|
20878 | "children": [
|
20879 | {
|
20880 | "type": "tableCell",
|
20881 | "children": [
|
20882 | {
|
20883 | "type": "text",
|
20884 | "value": "Row 1"
|
20885 | }
|
20886 | ]
|
20887 | }
|
20888 | ]
|
20889 | }
|
20890 | ]
|
20891 | }
|
20892 | ]
|
20893 | }
|
20894 | ]
|
20895 | }
|
20896 | ]
|
20897 | },
|
20898 | "myst": "see {numref}`my-table`\n\n```{list-table} Caption text\n:name: my-table\n\n* - Head 1\n* - Row 1\n```",
|
20899 | "html": "<p>see <a href=\"#my-table\">Table 1</a></p>\n<figure id=\"my-table\" class=\"numbered\">\n <figcaption>\n <p><span class=\"caption-number\">Table 1</span>Caption text</p>\n </figcaption>\n <table>\n <thead>\n <tr>\n <th>Head 1</th>\n </tr>\n </thead>\n <tbody>\n <tr>\n <td>Row 1</td>\n </tr>\n </tbody>\n </table>\n</figure>\n"
|
20900 | },
|
20901 | {
|
20902 | "title": "references.tables: Table figure reference with custom numref",
|
20903 | "mdast": {
|
20904 | "type": "root",
|
20905 | "children": [
|
20906 | {
|
20907 | "type": "paragraph",
|
20908 | "children": [
|
20909 | {
|
20910 | "type": "text",
|
20911 | "value": "see "
|
20912 | },
|
20913 | {
|
20914 | "type": "mystRole",
|
20915 | "name": "numref",
|
20916 | "value": "T%s <my-table>",
|
20917 | "children": [
|
20918 | {
|
20919 | "type": "crossReference",
|
20920 | "kind": "numref",
|
20921 | "identifier": "my-table",
|
20922 | "label": "my-table",
|
20923 | "children": [
|
20924 | {
|
20925 | "type": "text",
|
20926 | "value": "T%s"
|
20927 | }
|
20928 | ]
|
20929 | }
|
20930 | ]
|
20931 | }
|
20932 | ]
|
20933 | },
|
20934 | {
|
20935 | "type": "mystDirective",
|
20936 | "name": "list-table",
|
20937 | "args": "Caption text",
|
20938 | "options": {
|
20939 | "name": "my-table"
|
20940 | },
|
20941 | "value": "* - Head 1\n* - Row 1",
|
20942 | "children": [
|
20943 | {
|
20944 | "type": "container",
|
20945 | "kind": "table",
|
20946 | "identifier": "my-table",
|
20947 | "label": "my-table",
|
20948 | "children": [
|
20949 | {
|
20950 | "type": "caption",
|
20951 | "children": [
|
20952 | {
|
20953 | "type": "paragraph",
|
20954 | "children": [
|
20955 | {
|
20956 | "type": "text",
|
20957 | "value": "Caption text"
|
20958 | }
|
20959 | ]
|
20960 | }
|
20961 | ]
|
20962 | },
|
20963 | {
|
20964 | "type": "table",
|
20965 | "children": [
|
20966 | {
|
20967 | "type": "tableRow",
|
20968 | "children": [
|
20969 | {
|
20970 | "type": "tableCell",
|
20971 | "children": [
|
20972 | {
|
20973 | "type": "text",
|
20974 | "value": "Head 1"
|
20975 | }
|
20976 | ]
|
20977 | }
|
20978 | ]
|
20979 | },
|
20980 | {
|
20981 | "type": "tableRow",
|
20982 | "children": [
|
20983 | {
|
20984 | "type": "tableCell",
|
20985 | "children": [
|
20986 | {
|
20987 | "type": "text",
|
20988 | "value": "Row 1"
|
20989 | }
|
20990 | ]
|
20991 | }
|
20992 | ]
|
20993 | }
|
20994 | ]
|
20995 | }
|
20996 | ]
|
20997 | }
|
20998 | ]
|
20999 | }
|
21000 | ]
|
21001 | },
|
21002 | "myst": "see {numref}`T%s <my-table>`\n\n```{list-table} Caption text\n:name: my-table\n\n* - Head 1\n* - Row 1",
|
21003 | "html": "<p>see <a href=\"#my-table\">T1</a></p>\n<figure id=\"my-table\" class=\"numbered\">\n <figcaption>\n <p><span class=\"caption-number\">Table 1</span>Caption text</p>\n </figcaption>\n <table>\n <thead>\n <tr>\n <th>Head 1</th>\n </tr>\n </thead>\n <tbody>\n <tr>\n <td>Row 1</td>\n </tr>\n </tbody>\n </table>\n</figure>\n"
|
21004 | },
|
21005 | {
|
21006 | "title": "references.tables: Table figure reference with default ref",
|
21007 | "mdast": {
|
21008 | "type": "root",
|
21009 | "children": [
|
21010 | {
|
21011 | "type": "paragraph",
|
21012 | "children": [
|
21013 | {
|
21014 | "type": "text",
|
21015 | "value": "see "
|
21016 | },
|
21017 | {
|
21018 | "type": "mystRole",
|
21019 | "name": "ref",
|
21020 | "value": "my-table",
|
21021 | "children": [
|
21022 | {
|
21023 | "type": "crossReference",
|
21024 | "kind": "ref",
|
21025 | "identifier": "my-table",
|
21026 | "label": "my-table"
|
21027 | }
|
21028 | ]
|
21029 | }
|
21030 | ]
|
21031 | },
|
21032 | {
|
21033 | "type": "mystDirective",
|
21034 | "name": "list-table",
|
21035 | "args": "Caption text",
|
21036 | "options": {
|
21037 | "name": "my-table"
|
21038 | },
|
21039 | "value": "* - Head 1\n* - Row 1",
|
21040 | "children": [
|
21041 | {
|
21042 | "type": "container",
|
21043 | "kind": "table",
|
21044 | "identifier": "my-table",
|
21045 | "label": "my-table",
|
21046 | "children": [
|
21047 | {
|
21048 | "type": "caption",
|
21049 | "children": [
|
21050 | {
|
21051 | "type": "paragraph",
|
21052 | "children": [
|
21053 | {
|
21054 | "type": "text",
|
21055 | "value": "Caption text"
|
21056 | }
|
21057 | ]
|
21058 | }
|
21059 | ]
|
21060 | },
|
21061 | {
|
21062 | "type": "table",
|
21063 | "children": [
|
21064 | {
|
21065 | "type": "tableRow",
|
21066 | "children": [
|
21067 | {
|
21068 | "type": "tableCell",
|
21069 | "children": [
|
21070 | {
|
21071 | "type": "text",
|
21072 | "value": "Head 1"
|
21073 | }
|
21074 | ]
|
21075 | }
|
21076 | ]
|
21077 | },
|
21078 | {
|
21079 | "type": "tableRow",
|
21080 | "children": [
|
21081 | {
|
21082 | "type": "tableCell",
|
21083 | "children": [
|
21084 | {
|
21085 | "type": "text",
|
21086 | "value": "Row 1"
|
21087 | }
|
21088 | ]
|
21089 | }
|
21090 | ]
|
21091 | }
|
21092 | ]
|
21093 | }
|
21094 | ]
|
21095 | }
|
21096 | ]
|
21097 | }
|
21098 | ]
|
21099 | },
|
21100 | "myst": "see {ref}`my-table`\n\n```{list-table} Caption text\n:name: my-table\n\n* - Head 1\n* - Row 1",
|
21101 | "html": "<p>see <a href=\"#my-table\">Caption text</a></p>\n<figure id=\"my-table\" class=\"numbered\">\n <figcaption>\n <p><span class=\"caption-number\">Table 1</span>Caption text</p>\n </figcaption>\n <table>\n <thead>\n <tr>\n <th>Head 1</th>\n </tr>\n </thead>\n <tbody>\n <tr>\n <td>Row 1</td>\n </tr>\n </tbody>\n </table>\n</figure>\n"
|
21102 | },
|
21103 | {
|
21104 | "title": "references.tables: Table figure reference with custom ref",
|
21105 | "mdast": {
|
21106 | "type": "root",
|
21107 | "children": [
|
21108 | {
|
21109 | "type": "paragraph",
|
21110 | "children": [
|
21111 | {
|
21112 | "type": "text",
|
21113 | "value": "see "
|
21114 | },
|
21115 | {
|
21116 | "type": "mystRole",
|
21117 | "name": "ref",
|
21118 | "value": "My Table <my-table>",
|
21119 | "children": [
|
21120 | {
|
21121 | "type": "crossReference",
|
21122 | "kind": "ref",
|
21123 | "identifier": "my-table",
|
21124 | "label": "my-table",
|
21125 | "children": [
|
21126 | {
|
21127 | "type": "text",
|
21128 | "value": "My Table"
|
21129 | }
|
21130 | ]
|
21131 | }
|
21132 | ]
|
21133 | }
|
21134 | ]
|
21135 | },
|
21136 | {
|
21137 | "type": "mystDirective",
|
21138 | "name": "list-table",
|
21139 | "args": "Caption text",
|
21140 | "options": {
|
21141 | "name": "my-table"
|
21142 | },
|
21143 | "value": "* - Head 1\n* - Row 1",
|
21144 | "children": [
|
21145 | {
|
21146 | "type": "container",
|
21147 | "kind": "table",
|
21148 | "identifier": "my-table",
|
21149 | "label": "my-table",
|
21150 | "children": [
|
21151 | {
|
21152 | "type": "caption",
|
21153 | "children": [
|
21154 | {
|
21155 | "type": "paragraph",
|
21156 | "children": [
|
21157 | {
|
21158 | "type": "text",
|
21159 | "value": "Caption text"
|
21160 | }
|
21161 | ]
|
21162 | }
|
21163 | ]
|
21164 | },
|
21165 | {
|
21166 | "type": "table",
|
21167 | "children": [
|
21168 | {
|
21169 | "type": "tableRow",
|
21170 | "children": [
|
21171 | {
|
21172 | "type": "tableCell",
|
21173 | "children": [
|
21174 | {
|
21175 | "type": "text",
|
21176 | "value": "Head 1"
|
21177 | }
|
21178 | ]
|
21179 | }
|
21180 | ]
|
21181 | },
|
21182 | {
|
21183 | "type": "tableRow",
|
21184 | "children": [
|
21185 | {
|
21186 | "type": "tableCell",
|
21187 | "children": [
|
21188 | {
|
21189 | "type": "text",
|
21190 | "value": "Row 1"
|
21191 | }
|
21192 | ]
|
21193 | }
|
21194 | ]
|
21195 | }
|
21196 | ]
|
21197 | }
|
21198 | ]
|
21199 | }
|
21200 | ]
|
21201 | }
|
21202 | ]
|
21203 | },
|
21204 | "myst": "see {ref}`My Table <my-table>`\n\n```{list-table} Caption text\n:name: my-table\n\n* - Head 1\n* - Row 1",
|
21205 | "html": "<p>see <a href=\"#my-table\">My Table</a></p>\n<figure id=\"my-table\" class=\"numbered\">\n <figcaption>\n <p><span class=\"caption-number\">Table 1</span>Caption text</p>\n </figcaption>\n <table>\n <thead>\n <tr>\n <th>Head 1</th>\n </tr>\n </thead>\n <tbody>\n <tr>\n <td>Row 1</td>\n </tr>\n </tbody>\n </table>\n</figure>\n"
|
21206 | },
|
21207 | {
|
21208 | "title": "references.tables: Link-style table figure reference with default ref",
|
21209 | "mdast": {
|
21210 | "type": "root",
|
21211 | "children": [
|
21212 | {
|
21213 | "type": "paragraph",
|
21214 | "children": [
|
21215 | {
|
21216 | "type": "text",
|
21217 | "value": "see "
|
21218 | },
|
21219 | {
|
21220 | "type": "link",
|
21221 | "url": "my-table",
|
21222 | "children": []
|
21223 | }
|
21224 | ]
|
21225 | },
|
21226 | {
|
21227 | "type": "mystDirective",
|
21228 | "name": "list-table",
|
21229 | "args": "Caption text",
|
21230 | "options": {
|
21231 | "name": "my-table"
|
21232 | },
|
21233 | "value": "* - Head 1\n* - Row 1",
|
21234 | "children": [
|
21235 | {
|
21236 | "type": "container",
|
21237 | "kind": "table",
|
21238 | "identifier": "my-table",
|
21239 | "label": "my-table",
|
21240 | "children": [
|
21241 | {
|
21242 | "type": "caption",
|
21243 | "children": [
|
21244 | {
|
21245 | "type": "paragraph",
|
21246 | "children": [
|
21247 | {
|
21248 | "type": "text",
|
21249 | "value": "Caption text"
|
21250 | }
|
21251 | ]
|
21252 | }
|
21253 | ]
|
21254 | },
|
21255 | {
|
21256 | "type": "table",
|
21257 | "children": [
|
21258 | {
|
21259 | "type": "tableRow",
|
21260 | "children": [
|
21261 | {
|
21262 | "type": "tableCell",
|
21263 | "children": [
|
21264 | {
|
21265 | "type": "text",
|
21266 | "value": "Head 1"
|
21267 | }
|
21268 | ]
|
21269 | }
|
21270 | ]
|
21271 | },
|
21272 | {
|
21273 | "type": "tableRow",
|
21274 | "children": [
|
21275 | {
|
21276 | "type": "tableCell",
|
21277 | "children": [
|
21278 | {
|
21279 | "type": "text",
|
21280 | "value": "Row 1"
|
21281 | }
|
21282 | ]
|
21283 | }
|
21284 | ]
|
21285 | }
|
21286 | ]
|
21287 | }
|
21288 | ]
|
21289 | }
|
21290 | ]
|
21291 | }
|
21292 | ]
|
21293 | },
|
21294 | "myst": "see [](my-table)\n\n```{list-table} Caption text\n:name: my-table\n\n* - Head 1\n* - Row 1",
|
21295 | "html": "<p>see <a href=\"#my-table\">Caption text</a></p>\n<figure id=\"my-table\" class=\"numbered\">\n <figcaption>\n <p><span class=\"caption-number\">Table 1</span>Caption text</p>\n </figcaption>\n <table>\n <thead>\n <tr>\n <th>Head 1</th>\n </tr>\n </thead>\n <tbody>\n <tr>\n <td>Row 1</td>\n </tr>\n </tbody>\n </table>\n</figure>\n"
|
21296 | },
|
21297 | {
|
21298 | "title": "references.tables: Link-style table figure reference with custom ref",
|
21299 | "mdast": {
|
21300 | "type": "root",
|
21301 | "children": [
|
21302 | {
|
21303 | "type": "paragraph",
|
21304 | "children": [
|
21305 | {
|
21306 | "type": "text",
|
21307 | "value": "see "
|
21308 | },
|
21309 | {
|
21310 | "type": "link",
|
21311 | "url": "my-table",
|
21312 | "title": "different title",
|
21313 | "children": [
|
21314 | {
|
21315 | "type": "text",
|
21316 | "value": "My "
|
21317 | },
|
21318 | {
|
21319 | "type": "emphasis",
|
21320 | "children": [
|
21321 | {
|
21322 | "type": "text",
|
21323 | "value": "Table"
|
21324 | }
|
21325 | ]
|
21326 | }
|
21327 | ]
|
21328 | }
|
21329 | ]
|
21330 | },
|
21331 | {
|
21332 | "type": "mystDirective",
|
21333 | "name": "list-table",
|
21334 | "args": "Caption text",
|
21335 | "options": {
|
21336 | "name": "my-table"
|
21337 | },
|
21338 | "value": "* - Head 1\n* - Row 1",
|
21339 | "children": [
|
21340 | {
|
21341 | "type": "container",
|
21342 | "kind": "table",
|
21343 | "identifier": "my-table",
|
21344 | "label": "my-table",
|
21345 | "children": [
|
21346 | {
|
21347 | "type": "caption",
|
21348 | "children": [
|
21349 | {
|
21350 | "type": "paragraph",
|
21351 | "children": [
|
21352 | {
|
21353 | "type": "text",
|
21354 | "value": "Caption text"
|
21355 | }
|
21356 | ]
|
21357 | }
|
21358 | ]
|
21359 | },
|
21360 | {
|
21361 | "type": "table",
|
21362 | "children": [
|
21363 | {
|
21364 | "type": "tableRow",
|
21365 | "children": [
|
21366 | {
|
21367 | "type": "tableCell",
|
21368 | "children": [
|
21369 | {
|
21370 | "type": "text",
|
21371 | "value": "Head 1"
|
21372 | }
|
21373 | ]
|
21374 | }
|
21375 | ]
|
21376 | },
|
21377 | {
|
21378 | "type": "tableRow",
|
21379 | "children": [
|
21380 | {
|
21381 | "type": "tableCell",
|
21382 | "children": [
|
21383 | {
|
21384 | "type": "text",
|
21385 | "value": "Row 1"
|
21386 | }
|
21387 | ]
|
21388 | }
|
21389 | ]
|
21390 | }
|
21391 | ]
|
21392 | }
|
21393 | ]
|
21394 | }
|
21395 | ]
|
21396 | }
|
21397 | ]
|
21398 | },
|
21399 | "myst": "see [My *Table*](my-table \"different title\")\n\n```{list-table} Caption text\n:name: my-table\n\n* - Head 1\n* - Row 1",
|
21400 | "html": "<p>see <a href=\"#my-table\" title=\"different title\">My <em>Table</em></a></p>\n<figure id=\"my-table\" class=\"numbered\">\n <figcaption>\n <p><span class=\"caption-number\">Table 1</span>Caption text</p>\n </figcaption>\n <table>\n <thead>\n <tr>\n <th>Head 1</th>\n </tr>\n </thead>\n <tbody>\n <tr>\n <td>Row 1</td>\n </tr>\n </tbody>\n </table>\n</figure>\n"
|
21401 | },
|
21402 | {
|
21403 | "title": "references.target: Header with id label",
|
21404 | "mdast": {
|
21405 | "type": "root",
|
21406 | "children": [
|
21407 | {
|
21408 | "type": "mystTarget",
|
21409 | "label": "my_ID"
|
21410 | },
|
21411 | {
|
21412 | "type": "heading",
|
21413 | "depth": 1,
|
21414 | "children": [
|
21415 | {
|
21416 | "type": "text",
|
21417 | "value": "My Header"
|
21418 | }
|
21419 | ]
|
21420 | }
|
21421 | ]
|
21422 | },
|
21423 | "myst": "(my_ID)=\n# My Header",
|
21424 | "html": "<h1 id=\"my_id\">My Header</h1>\n"
|
21425 | },
|
21426 | {
|
21427 | "title": "roles.generic: unknown role",
|
21428 | "mdast": {
|
21429 | "type": "root",
|
21430 | "children": [
|
21431 | {
|
21432 | "type": "paragraph",
|
21433 | "children": [
|
21434 | {
|
21435 | "type": "mystRole",
|
21436 | "name": "abc",
|
21437 | "value": "ABC role"
|
21438 | }
|
21439 | ]
|
21440 | }
|
21441 | ]
|
21442 | },
|
21443 | "myst": "{abc}`ABC role`",
|
21444 | "html": "<p><span class=\"role unhandled\"><code class=\"kind\">{abc}</code><code>ABC role</code></span></p>\n"
|
21445 | },
|
21446 | {
|
21447 | "title": "roles.html.abbr: Inline Abbreviation",
|
21448 | "mdast": {
|
21449 | "type": "root",
|
21450 | "children": [
|
21451 | {
|
21452 | "type": "paragraph",
|
21453 | "children": [
|
21454 | {
|
21455 | "type": "text",
|
21456 | "value": "Well "
|
21457 | },
|
21458 | {
|
21459 | "type": "mystRole",
|
21460 | "name": "abbr",
|
21461 | "value": "CSS (Cascading Style Sheets)",
|
21462 | "children": [
|
21463 | {
|
21464 | "type": "abbreviation",
|
21465 | "title": "Cascading Style Sheets",
|
21466 | "children": [
|
21467 | {
|
21468 | "type": "text",
|
21469 | "value": "CSS"
|
21470 | }
|
21471 | ]
|
21472 | }
|
21473 | ]
|
21474 | },
|
21475 | {
|
21476 | "type": "text",
|
21477 | "value": " is cool?"
|
21478 | }
|
21479 | ]
|
21480 | }
|
21481 | ]
|
21482 | },
|
21483 | "myst": "Well {abbr}`CSS (Cascading Style Sheets)` is cool?",
|
21484 | "html": "<p>Well <abbr title=\"Cascading Style Sheets\">CSS</abbr> is cool?</p>\n"
|
21485 | },
|
21486 | {
|
21487 | "title": "roles.html.abbr: Abbreviation Without Title",
|
21488 | "mdast": {
|
21489 | "type": "root",
|
21490 | "children": [
|
21491 | {
|
21492 | "type": "paragraph",
|
21493 | "children": [
|
21494 | {
|
21495 | "type": "text",
|
21496 | "value": "Well "
|
21497 | },
|
21498 | {
|
21499 | "type": "mystRole",
|
21500 | "name": "abbr",
|
21501 | "value": "CSS",
|
21502 | "children": [
|
21503 | {
|
21504 | "type": "abbreviation",
|
21505 | "children": [
|
21506 | {
|
21507 | "type": "text",
|
21508 | "value": "CSS"
|
21509 | }
|
21510 | ]
|
21511 | }
|
21512 | ]
|
21513 | },
|
21514 | {
|
21515 | "type": "text",
|
21516 | "value": " is cool?"
|
21517 | }
|
21518 | ]
|
21519 | }
|
21520 | ]
|
21521 | },
|
21522 | "myst": "Well {abbr}`CSS` is cool?",
|
21523 | "html": "<p>Well <abbr>CSS</abbr> is cool?</p>\n"
|
21524 | },
|
21525 | {
|
21526 | "title": "roles.html.abbr: Abbreviation with poor brackets",
|
21527 | "mdast": {
|
21528 | "type": "root",
|
21529 | "children": [
|
21530 | {
|
21531 | "type": "paragraph",
|
21532 | "children": [
|
21533 | {
|
21534 | "type": "mystRole",
|
21535 | "name": "abbr",
|
21536 | "value": "CSS (Cascading) Style( Sheets)",
|
21537 | "children": [
|
21538 | {
|
21539 | "type": "abbreviation",
|
21540 | "title": "Sheets",
|
21541 | "children": [
|
21542 | {
|
21543 | "type": "text",
|
21544 | "value": "CSS (Cascading) Style"
|
21545 | }
|
21546 | ]
|
21547 | }
|
21548 | ]
|
21549 | }
|
21550 | ]
|
21551 | }
|
21552 | ]
|
21553 | },
|
21554 | "myst": "{abbr}`CSS (Cascading) Style( Sheets)`",
|
21555 | "html": "<p><abbr title=\"Sheets\">CSS (Cascading) Style</abbr></p>\n"
|
21556 | },
|
21557 | {
|
21558 | "title": "roles.html: Subscript",
|
21559 | "mdast": {
|
21560 | "type": "root",
|
21561 | "children": [
|
21562 | {
|
21563 | "type": "paragraph",
|
21564 | "children": [
|
21565 | {
|
21566 | "type": "text",
|
21567 | "value": "H"
|
21568 | },
|
21569 | {
|
21570 | "type": "mystRole",
|
21571 | "name": "sub",
|
21572 | "value": "2",
|
21573 | "children": [
|
21574 | {
|
21575 | "type": "subscript",
|
21576 | "children": [
|
21577 | {
|
21578 | "type": "text",
|
21579 | "value": "2"
|
21580 | }
|
21581 | ]
|
21582 | }
|
21583 | ]
|
21584 | },
|
21585 | {
|
21586 | "type": "text",
|
21587 | "value": "O"
|
21588 | }
|
21589 | ]
|
21590 | }
|
21591 | ]
|
21592 | },
|
21593 | "myst": "H{sub}`2`O",
|
21594 | "html": "<p>H<sub>2</sub>O</p>\n"
|
21595 | },
|
21596 | {
|
21597 | "title": "roles.html: Subscript spelled out",
|
21598 | "mdast": {
|
21599 | "type": "root",
|
21600 | "children": [
|
21601 | {
|
21602 | "type": "paragraph",
|
21603 | "children": [
|
21604 | {
|
21605 | "type": "text",
|
21606 | "value": "H"
|
21607 | },
|
21608 | {
|
21609 | "type": "mystRole",
|
21610 | "name": "subscript",
|
21611 | "value": "2",
|
21612 | "children": [
|
21613 | {
|
21614 | "type": "subscript",
|
21615 | "children": [
|
21616 | {
|
21617 | "type": "text",
|
21618 | "value": "2"
|
21619 | }
|
21620 | ]
|
21621 | }
|
21622 | ]
|
21623 | },
|
21624 | {
|
21625 | "type": "text",
|
21626 | "value": "O"
|
21627 | }
|
21628 | ]
|
21629 | }
|
21630 | ]
|
21631 | },
|
21632 | "myst": "H{subscript}`2`O",
|
21633 | "html": "<p>H<sub>2</sub>O</p>\n"
|
21634 | },
|
21635 | {
|
21636 | "title": "roles.html: Superscript",
|
21637 | "mdast": {
|
21638 | "type": "root",
|
21639 | "children": [
|
21640 | {
|
21641 | "type": "paragraph",
|
21642 | "children": [
|
21643 | {
|
21644 | "type": "text",
|
21645 | "value": "4"
|
21646 | },
|
21647 | {
|
21648 | "type": "mystRole",
|
21649 | "name": "sup",
|
21650 | "value": "th",
|
21651 | "children": [
|
21652 | {
|
21653 | "type": "superscript",
|
21654 | "children": [
|
21655 | {
|
21656 | "type": "text",
|
21657 | "value": "th"
|
21658 | }
|
21659 | ]
|
21660 | }
|
21661 | ]
|
21662 | },
|
21663 | {
|
21664 | "type": "text",
|
21665 | "value": " of July"
|
21666 | }
|
21667 | ]
|
21668 | }
|
21669 | ]
|
21670 | },
|
21671 | "myst": "4{sup}`th` of July",
|
21672 | "html": "<p>4<sup>th</sup> of July</p>\n"
|
21673 | },
|
21674 | {
|
21675 | "title": "roles.html: Superscript spelled out",
|
21676 | "mdast": {
|
21677 | "type": "root",
|
21678 | "children": [
|
21679 | {
|
21680 | "type": "paragraph",
|
21681 | "children": [
|
21682 | {
|
21683 | "type": "text",
|
21684 | "value": "4"
|
21685 | },
|
21686 | {
|
21687 | "type": "mystRole",
|
21688 | "name": "superscript",
|
21689 | "value": "th",
|
21690 | "children": [
|
21691 | {
|
21692 | "type": "superscript",
|
21693 | "children": [
|
21694 | {
|
21695 | "type": "text",
|
21696 | "value": "th"
|
21697 | }
|
21698 | ]
|
21699 | }
|
21700 | ]
|
21701 | },
|
21702 | {
|
21703 | "type": "text",
|
21704 | "value": " of July"
|
21705 | }
|
21706 | ]
|
21707 | }
|
21708 | ]
|
21709 | },
|
21710 | "myst": "4{superscript}`th` of July",
|
21711 | "html": "<p>4<sup>th</sup> of July</p>\n"
|
21712 | },
|
21713 | {
|
21714 | "title": "roles.math: Math role",
|
21715 | "mdast": {
|
21716 | "type": "root",
|
21717 | "children": [
|
21718 | {
|
21719 | "type": "paragraph",
|
21720 | "children": [
|
21721 | {
|
21722 | "type": "text",
|
21723 | "value": "This is genius "
|
21724 | },
|
21725 | {
|
21726 | "type": "mystRole",
|
21727 | "name": "math",
|
21728 | "value": "e=mc^2",
|
21729 | "children": [
|
21730 | {
|
21731 | "type": "inlineMath",
|
21732 | "value": "e=mc^2"
|
21733 | }
|
21734 | ]
|
21735 | }
|
21736 | ]
|
21737 | }
|
21738 | ]
|
21739 | },
|
21740 | "myst": "This is genius {math}`e=mc^2`",
|
21741 | "html": "<p>This is genius <span class=\"math-inline\">e=mc^2</span></p>\n"
|
21742 | }
|
21743 | ] |
\ | No newline at end of file |