@honkit/markup-it 5.1.5 → 6.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/markup.js +1 -0
- package/lib/parse/textToUnstyledTokens.d.ts +1 -1
- package/lib/parse/textToUnstyledTokens.d.ts.map +1 -1
- package/lib/utils/identity.js +1 -1
- package/package.json +10 -9
- package/lib/__tests__/syntax.d.ts +0 -2
- package/lib/__tests__/syntax.d.ts.map +0 -1
- package/lib/__tests__/syntax.js +0 -92
- package/lib/json/__tests__/decode.d.ts +0 -2
- package/lib/json/__tests__/decode.d.ts.map +0 -1
- package/lib/json/__tests__/decode.js +0 -38
- package/lib/json/__tests__/encode.d.ts +0 -2
- package/lib/json/__tests__/encode.d.ts.map +0 -1
- package/lib/json/__tests__/encode.js +0 -26
- package/lib/models/__tests__/token.d.ts +0 -2
- package/lib/models/__tests__/token.d.ts.map +0 -1
- package/lib/models/__tests__/token.js +0 -18
- package/lib/parse/__tests__/mergeTokens.d.ts +0 -2
- package/lib/parse/__tests__/mergeTokens.d.ts.map +0 -1
- package/lib/parse/__tests__/mergeTokens.js +0 -51
- package/syntaxes/markdown/__tests__/normalizeTeX.spec.js +0 -34
- package/syntaxes/markdown/__tests__/specs/amps_and_angles_encoding.html +0 -17
- package/syntaxes/markdown/__tests__/specs/amps_and_angles_encoding.md +0 -21
- package/syntaxes/markdown/__tests__/specs/auto_links.html +0 -18
- package/syntaxes/markdown/__tests__/specs/auto_links.md +0 -13
- package/syntaxes/markdown/__tests__/specs/autolink_lines.html +0 -3
- package/syntaxes/markdown/__tests__/specs/autolink_lines.md +0 -2
- package/syntaxes/markdown/__tests__/specs/backslash_escapes.html +0 -118
- package/syntaxes/markdown/__tests__/specs/backslash_escapes.md +0 -120
- package/syntaxes/markdown/__tests__/specs/blockquote_list_item.html +0 -3
- package/syntaxes/markdown/__tests__/specs/blockquote_list_item.md +0 -4
- package/syntaxes/markdown/__tests__/specs/blockquotes_with_code_blocks.html +0 -15
- package/syntaxes/markdown/__tests__/specs/blockquotes_with_code_blocks.md +0 -11
- package/syntaxes/markdown/__tests__/specs/case_insensitive_refs.html +0 -1
- package/syntaxes/markdown/__tests__/specs/case_insensitive_refs.md +0 -3
- package/syntaxes/markdown/__tests__/specs/code_blocks.html +0 -18
- package/syntaxes/markdown/__tests__/specs/code_blocks.md +0 -14
- package/syntaxes/markdown/__tests__/specs/code_blocks_indent.html +0 -13
- package/syntaxes/markdown/__tests__/specs/code_blocks_indent.md +0 -14
- package/syntaxes/markdown/__tests__/specs/code_spans.html +0 -6
- package/syntaxes/markdown/__tests__/specs/code_spans.md +0 -6
- package/syntaxes/markdown/__tests__/specs/def_blocks.html +0 -30
- package/syntaxes/markdown/__tests__/specs/def_blocks.md +0 -21
- package/syntaxes/markdown/__tests__/specs/double_link.html +0 -5
- package/syntaxes/markdown/__tests__/specs/double_link.md +0 -5
- package/syntaxes/markdown/__tests__/specs/escaped_angles.html +0 -1
- package/syntaxes/markdown/__tests__/specs/escaped_angles.md +0 -1
- package/syntaxes/markdown/__tests__/specs/footnotes.html +0 -4
- package/syntaxes/markdown/__tests__/specs/footnotes.md +0 -3
- package/syntaxes/markdown/__tests__/specs/gfm_break.breaks.html +0 -3
- package/syntaxes/markdown/__tests__/specs/gfm_break.breaks.md +0 -3
- package/syntaxes/markdown/__tests__/specs/gfm_code.html +0 -5
- package/syntaxes/markdown/__tests__/specs/gfm_code.md +0 -16
- package/syntaxes/markdown/__tests__/specs/gfm_code_hr_list.html +0 -52
- package/syntaxes/markdown/__tests__/specs/gfm_code_hr_list.md +0 -53
- package/syntaxes/markdown/__tests__/specs/gfm_del.html +0 -1
- package/syntaxes/markdown/__tests__/specs/gfm_del.md +0 -1
- package/syntaxes/markdown/__tests__/specs/gfm_em.html +0 -1
- package/syntaxes/markdown/__tests__/specs/gfm_em.md +0 -1
- package/syntaxes/markdown/__tests__/specs/gfm_links.html +0 -2
- package/syntaxes/markdown/__tests__/specs/gfm_links.md +0 -1
- package/syntaxes/markdown/__tests__/specs/gfm_tables.html +0 -37
- package/syntaxes/markdown/__tests__/specs/gfm_tables.md +0 -21
- package/syntaxes/markdown/__tests__/specs/hard_wrapped_paragraphs_with_list_like_lines.nogfm.html +0 -10
- package/syntaxes/markdown/__tests__/specs/hard_wrapped_paragraphs_with_list_like_lines.nogfm.md +0 -8
- package/syntaxes/markdown/__tests__/specs/horizontal_rules.html +0 -71
- package/syntaxes/markdown/__tests__/specs/horizontal_rules.md +0 -67
- package/syntaxes/markdown/__tests__/specs/hr_list_break.html +0 -10
- package/syntaxes/markdown/__tests__/specs/hr_list_break.md +0 -6
- package/syntaxes/markdown/__tests__/specs/image.html +0 -5
- package/syntaxes/markdown/__tests__/specs/image.md +0 -3
- package/syntaxes/markdown/__tests__/specs/inline_html.html +0 -6
- package/syntaxes/markdown/__tests__/specs/inline_html.md +0 -6
- package/syntaxes/markdown/__tests__/specs/inline_html_advanced.html +0 -15
- package/syntaxes/markdown/__tests__/specs/inline_html_advanced.md +0 -15
- package/syntaxes/markdown/__tests__/specs/inline_html_comments.html +0 -13
- package/syntaxes/markdown/__tests__/specs/inline_html_comments.md +0 -13
- package/syntaxes/markdown/__tests__/specs/inline_html_script.html +0 -3
- package/syntaxes/markdown/__tests__/specs/inline_html_script.md +0 -3
- package/syntaxes/markdown/__tests__/specs/inline_html_simple.html +0 -72
- package/syntaxes/markdown/__tests__/specs/inline_html_simple.md +0 -69
- package/syntaxes/markdown/__tests__/specs/lazy_blockquotes.html +0 -4
- package/syntaxes/markdown/__tests__/specs/lazy_blockquotes.md +0 -2
- package/syntaxes/markdown/__tests__/specs/links_inline_style.html +0 -15
- package/syntaxes/markdown/__tests__/specs/links_inline_style.md +0 -15
- package/syntaxes/markdown/__tests__/specs/links_reference_style.html +0 -52
- package/syntaxes/markdown/__tests__/specs/links_reference_style.md +0 -71
- package/syntaxes/markdown/__tests__/specs/links_shortcut_references.html +0 -9
- package/syntaxes/markdown/__tests__/specs/links_shortcut_references.md +0 -20
- package/syntaxes/markdown/__tests__/specs/list_item_text.html +0 -1
- package/syntaxes/markdown/__tests__/specs/list_item_text.md +0 -5
- package/syntaxes/markdown/__tests__/specs/literal_quotes_in_titles.html +0 -3
- package/syntaxes/markdown/__tests__/specs/literal_quotes_in_titles.md +0 -7
- package/syntaxes/markdown/__tests__/specs/loose_lists.html +0 -62
- package/syntaxes/markdown/__tests__/specs/loose_lists.md +0 -59
- package/syntaxes/markdown/__tests__/specs/main.html +0 -71
- package/syntaxes/markdown/__tests__/specs/main.md +0 -58
- package/syntaxes/markdown/__tests__/specs/markdown_documentation_basics.html +0 -314
- package/syntaxes/markdown/__tests__/specs/markdown_documentation_basics.md +0 -306
- package/syntaxes/markdown/__tests__/specs/markdown_documentation_syntax.html +0 -942
- package/syntaxes/markdown/__tests__/specs/markdown_documentation_syntax.md +0 -888
- package/syntaxes/markdown/__tests__/specs/nested_blockquotes.html +0 -9
- package/syntaxes/markdown/__tests__/specs/nested_blockquotes.md +0 -5
- package/syntaxes/markdown/__tests__/specs/nested_code.html +0 -1
- package/syntaxes/markdown/__tests__/specs/nested_code.md +0 -1
- package/syntaxes/markdown/__tests__/specs/nested_em.html +0 -3
- package/syntaxes/markdown/__tests__/specs/nested_em.md +0 -3
- package/syntaxes/markdown/__tests__/specs/nested_square_link.html +0 -1
- package/syntaxes/markdown/__tests__/specs/nested_square_link.md +0 -1
- package/syntaxes/markdown/__tests__/specs/not_a_link.html +0 -1
- package/syntaxes/markdown/__tests__/specs/not_a_link.md +0 -1
- package/syntaxes/markdown/__tests__/specs/ordered_and_unordered_lists.html +0 -148
- package/syntaxes/markdown/__tests__/specs/ordered_and_unordered_lists.md +0 -131
- package/syntaxes/markdown/__tests__/specs/ref_paren.html +0 -1
- package/syntaxes/markdown/__tests__/specs/ref_paren.md +0 -3
- package/syntaxes/markdown/__tests__/specs/same_bullet.html +0 -5
- package/syntaxes/markdown/__tests__/specs/same_bullet.md +0 -3
- package/syntaxes/markdown/__tests__/specs/simple_paragraph.html +0 -1
- package/syntaxes/markdown/__tests__/specs/simple_paragraph.md +0 -1
- package/syntaxes/markdown/__tests__/specs/strong_and_em_together.html +0 -7
- package/syntaxes/markdown/__tests__/specs/strong_and_em_together.md +0 -7
- package/syntaxes/markdown/__tests__/specs/table_pipe.html +0 -5
- package/syntaxes/markdown/__tests__/specs/table_pipe.md +0 -4
- package/syntaxes/markdown/__tests__/specs/tabs.html +0 -25
- package/syntaxes/markdown/__tests__/specs/tabs.md +0 -21
- package/syntaxes/markdown/__tests__/specs/tidyness.html +0 -8
- package/syntaxes/markdown/__tests__/specs/tidyness.md +0 -5
- package/syntaxes/markdown/__tests__/specs/toplevel_paragraphs.gfm.html +0 -34
- package/syntaxes/markdown/__tests__/specs/toplevel_paragraphs.gfm.md +0 -37
- package/syntaxes/markdown/__tests__/specs/tricky_list.html +0 -23
- package/syntaxes/markdown/__tests__/specs/tricky_list.md +0 -15
- package/syntaxes/markdown/__tests__/specs.js +0 -74
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
Dashes:
|
|
2
|
-
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
---
|
|
8
|
-
|
|
9
|
-
---
|
|
10
|
-
|
|
11
|
-
---
|
|
12
|
-
|
|
13
|
-
- - -
|
|
14
|
-
|
|
15
|
-
- - -
|
|
16
|
-
|
|
17
|
-
- - -
|
|
18
|
-
|
|
19
|
-
- - -
|
|
20
|
-
|
|
21
|
-
- - -
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
Asterisks:
|
|
25
|
-
|
|
26
|
-
***
|
|
27
|
-
|
|
28
|
-
***
|
|
29
|
-
|
|
30
|
-
***
|
|
31
|
-
|
|
32
|
-
***
|
|
33
|
-
|
|
34
|
-
***
|
|
35
|
-
|
|
36
|
-
* * *
|
|
37
|
-
|
|
38
|
-
* * *
|
|
39
|
-
|
|
40
|
-
* * *
|
|
41
|
-
|
|
42
|
-
* * *
|
|
43
|
-
|
|
44
|
-
* * *
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
Underscores:
|
|
48
|
-
|
|
49
|
-
___
|
|
50
|
-
|
|
51
|
-
___
|
|
52
|
-
|
|
53
|
-
___
|
|
54
|
-
|
|
55
|
-
___
|
|
56
|
-
|
|
57
|
-
___
|
|
58
|
-
|
|
59
|
-
_ _ _
|
|
60
|
-
|
|
61
|
-
_ _ _
|
|
62
|
-
|
|
63
|
-
_ _ _
|
|
64
|
-
|
|
65
|
-
_ _ _
|
|
66
|
-
|
|
67
|
-
_ _ _
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
<p>In 2006, podcasting continued to ride the coattails of this hype. The Ricky Gervais Show became the most downloaded podcast in history, and the world’s first live podcast tour took to the road.<sup><a href=../citations/index.html>6</a></sup> <em>This American Life</em>, a weekly public radio program founded by Ira Glass in 1996, jumped on the bandwagon, making the show freely available as a podcast for the first time. Edison Research reported that at the time <a href="http://www.edisonresearch.com/the-podcast-consumer-2015/">22 percent of Americans were aware of the term podcasting and 11 percent of the population had listened to a podcast at least once</a>.<sup><a href=../citations/index.html>7</a></sup></p>
|
|
2
|
-
|
|
3
|
-
<p><div>[a](b)</div>
|
|
4
|
-
<span><a href="b">a</a></span></p>
|
|
5
|
-
|
|
6
|
-
<p><br></p>
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
In 2006, podcasting continued to ride the coattails of this hype. The Ricky Gervais Show became the most downloaded podcast in history, and the world’s first live podcast tour took to the road.<sup><a href=../citations/index.html>6</a></sup> *This American Life*, a weekly public radio program founded by Ira Glass in 1996, jumped on the bandwagon, making the show freely available as a podcast for the first time. Edison Research reported that at the time [22 percent of Americans were aware of the term podcasting and 11 percent of the population had listened to a podcast at least once](http://www.edisonresearch.com/the-podcast-consumer-2015/).<sup><a href=../citations/index.html>7</a></sup>
|
|
2
|
-
|
|
3
|
-
<div>[a](b)</div>
|
|
4
|
-
<span>[a](b)</span>
|
|
5
|
-
|
|
6
|
-
<br>
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
<p>Here's a simple block:</p>
|
|
2
|
-
|
|
3
|
-
<div>
|
|
4
|
-
foo
|
|
5
|
-
</div>
|
|
6
|
-
|
|
7
|
-
<p>This should be a code block, though:</p>
|
|
8
|
-
|
|
9
|
-
<pre><code><div>
|
|
10
|
-
foo
|
|
11
|
-
</div>
|
|
12
|
-
</code></pre>
|
|
13
|
-
|
|
14
|
-
<p>As should this:</p>
|
|
15
|
-
|
|
16
|
-
<pre><code><div>foo</div>
|
|
17
|
-
</code></pre>
|
|
18
|
-
|
|
19
|
-
<p>Now, nested:</p>
|
|
20
|
-
|
|
21
|
-
<div>
|
|
22
|
-
<div>
|
|
23
|
-
<div>
|
|
24
|
-
foo
|
|
25
|
-
</div>
|
|
26
|
-
</div>
|
|
27
|
-
</div>
|
|
28
|
-
|
|
29
|
-
<p>This should just be an HTML comment:</p>
|
|
30
|
-
|
|
31
|
-
<!-- Comment -->
|
|
32
|
-
|
|
33
|
-
<p>Multiline:</p>
|
|
34
|
-
|
|
35
|
-
<!--
|
|
36
|
-
Blah
|
|
37
|
-
Blah
|
|
38
|
-
-->
|
|
39
|
-
|
|
40
|
-
<p>Code block:</p>
|
|
41
|
-
|
|
42
|
-
<pre><code><!-- Comment -->
|
|
43
|
-
</code></pre>
|
|
44
|
-
|
|
45
|
-
<p>Just plain comment, with trailing spaces on the line:</p>
|
|
46
|
-
|
|
47
|
-
<!-- foo -->
|
|
48
|
-
|
|
49
|
-
<p>Code:</p>
|
|
50
|
-
|
|
51
|
-
<pre><code><hr>
|
|
52
|
-
</code></pre>
|
|
53
|
-
|
|
54
|
-
<p>Hr's:</p>
|
|
55
|
-
|
|
56
|
-
<hr>
|
|
57
|
-
|
|
58
|
-
<hr>
|
|
59
|
-
|
|
60
|
-
<hr>
|
|
61
|
-
|
|
62
|
-
<hr>
|
|
63
|
-
|
|
64
|
-
<hr>
|
|
65
|
-
|
|
66
|
-
<hr>
|
|
67
|
-
|
|
68
|
-
<hr class="foo" id="bar" />
|
|
69
|
-
|
|
70
|
-
<hr class="foo" id="bar"/>
|
|
71
|
-
|
|
72
|
-
<hr class="foo" id="bar" >
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
Here's a simple block:
|
|
2
|
-
|
|
3
|
-
<div>
|
|
4
|
-
foo
|
|
5
|
-
</div>
|
|
6
|
-
|
|
7
|
-
This should be a code block, though:
|
|
8
|
-
|
|
9
|
-
<div>
|
|
10
|
-
foo
|
|
11
|
-
</div>
|
|
12
|
-
|
|
13
|
-
As should this:
|
|
14
|
-
|
|
15
|
-
<div>foo</div>
|
|
16
|
-
|
|
17
|
-
Now, nested:
|
|
18
|
-
|
|
19
|
-
<div>
|
|
20
|
-
<div>
|
|
21
|
-
<div>
|
|
22
|
-
foo
|
|
23
|
-
</div>
|
|
24
|
-
</div>
|
|
25
|
-
</div>
|
|
26
|
-
|
|
27
|
-
This should just be an HTML comment:
|
|
28
|
-
|
|
29
|
-
<!-- Comment -->
|
|
30
|
-
|
|
31
|
-
Multiline:
|
|
32
|
-
|
|
33
|
-
<!--
|
|
34
|
-
Blah
|
|
35
|
-
Blah
|
|
36
|
-
-->
|
|
37
|
-
|
|
38
|
-
Code block:
|
|
39
|
-
|
|
40
|
-
<!-- Comment -->
|
|
41
|
-
|
|
42
|
-
Just plain comment, with trailing spaces on the line:
|
|
43
|
-
|
|
44
|
-
<!-- foo -->
|
|
45
|
-
|
|
46
|
-
Code:
|
|
47
|
-
|
|
48
|
-
<hr>
|
|
49
|
-
|
|
50
|
-
Hr's:
|
|
51
|
-
|
|
52
|
-
<hr>
|
|
53
|
-
|
|
54
|
-
<hr>
|
|
55
|
-
|
|
56
|
-
<hr>
|
|
57
|
-
|
|
58
|
-
<hr>
|
|
59
|
-
|
|
60
|
-
<hr>
|
|
61
|
-
|
|
62
|
-
<hr>
|
|
63
|
-
|
|
64
|
-
<hr class="foo" id="bar" />
|
|
65
|
-
|
|
66
|
-
<hr class="foo" id="bar"/>
|
|
67
|
-
|
|
68
|
-
<hr class="foo" id="bar" >
|
|
69
|
-
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
<p>Just a <a href="/url/">URL</a>.</p>
|
|
2
|
-
|
|
3
|
-
<p><a href="/url/" title="title">URL and title</a>.</p>
|
|
4
|
-
|
|
5
|
-
<p><a href="/url/" title="title preceded by two spaces">URL and title</a>.</p>
|
|
6
|
-
|
|
7
|
-
<p><a href="/url/" title="title preceded by a tab">URL and title</a>.</p>
|
|
8
|
-
|
|
9
|
-
<p><a href="/url/" title="title has spaces afterward">URL and title</a>.</p>
|
|
10
|
-
|
|
11
|
-
<p><a href="/url/has space">URL and title</a>.</p>
|
|
12
|
-
|
|
13
|
-
<p><a href="/url/has space/" title="url has space and title">URL and title</a>.</p>
|
|
14
|
-
|
|
15
|
-
<p><a href>Empty</a>.</p>
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
Just a [URL](/url/).
|
|
2
|
-
|
|
3
|
-
[URL and title](/url/ "title").
|
|
4
|
-
|
|
5
|
-
[URL and title](/url/ "title preceded by two spaces").
|
|
6
|
-
|
|
7
|
-
[URL and title](/url/ "title preceded by a tab").
|
|
8
|
-
|
|
9
|
-
[URL and title](/url/ "title has spaces afterward" ).
|
|
10
|
-
|
|
11
|
-
[URL and title]( /url/has space ).
|
|
12
|
-
|
|
13
|
-
[URL and title]( /url/has space/ "url has space and title").
|
|
14
|
-
|
|
15
|
-
[Empty]().
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
<p>Foo <a href="/url/" title="Title">bar</a>.</p>
|
|
2
|
-
|
|
3
|
-
<p>Foo <a href="/url/" title="Title">bar</a>.</p>
|
|
4
|
-
|
|
5
|
-
<p>Foo <a href="/url/" title="Title">bar</a>.</p>
|
|
6
|
-
|
|
7
|
-
<p>With <a href="/url/">embedded [brackets]</a>.</p>
|
|
8
|
-
|
|
9
|
-
<p>Indented <a href="/url">once</a>.</p>
|
|
10
|
-
|
|
11
|
-
<p>Indented <a href="/url">twice</a>.</p>
|
|
12
|
-
|
|
13
|
-
<p>Indented <a href="/url">thrice</a>.</p>
|
|
14
|
-
|
|
15
|
-
<p>Indented [four][] times.</p>
|
|
16
|
-
|
|
17
|
-
<pre><code>[four]: /url
|
|
18
|
-
</code></pre>
|
|
19
|
-
|
|
20
|
-
<hr>
|
|
21
|
-
|
|
22
|
-
<p><a href="foo">this</a> should work</p>
|
|
23
|
-
|
|
24
|
-
<p>So should <a href="foo">this</a>.</p>
|
|
25
|
-
|
|
26
|
-
<p>And <a href="foo">this</a>.</p>
|
|
27
|
-
|
|
28
|
-
<p>And <a href="foo">this</a>.</p>
|
|
29
|
-
|
|
30
|
-
<p>And <a href="foo">this</a>.</p>
|
|
31
|
-
|
|
32
|
-
<p>But not [that] [].</p>
|
|
33
|
-
|
|
34
|
-
<p>Nor [that][].</p>
|
|
35
|
-
|
|
36
|
-
<p>Nor [that].</p>
|
|
37
|
-
|
|
38
|
-
<p>[Something in brackets like <a href="foo">this</a> should work]</p>
|
|
39
|
-
|
|
40
|
-
<p>[Same with <a href="foo">this</a>.]</p>
|
|
41
|
-
|
|
42
|
-
<p>In this case, <a href="/somethingelse/">this</a> points to something else.</p>
|
|
43
|
-
|
|
44
|
-
<p>Backslashing should suppress [this] and [this].</p>
|
|
45
|
-
|
|
46
|
-
<hr>
|
|
47
|
-
|
|
48
|
-
<p>Here's one where the <a href="/url/">link
|
|
49
|
-
breaks</a> across lines.</p>
|
|
50
|
-
|
|
51
|
-
<p>Here's another where the <a href="/url/">link
|
|
52
|
-
breaks</a> across lines, but with a line-ending space.</p>
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
Foo [bar] [1].
|
|
2
|
-
|
|
3
|
-
Foo [bar][1].
|
|
4
|
-
|
|
5
|
-
Foo [bar]
|
|
6
|
-
[1].
|
|
7
|
-
|
|
8
|
-
[1]: /url/ "Title"
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
With [embedded [brackets]] [b].
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
Indented [once][].
|
|
15
|
-
|
|
16
|
-
Indented [twice][].
|
|
17
|
-
|
|
18
|
-
Indented [thrice][].
|
|
19
|
-
|
|
20
|
-
Indented [four][] times.
|
|
21
|
-
|
|
22
|
-
[once]: /url
|
|
23
|
-
|
|
24
|
-
[twice]: /url
|
|
25
|
-
|
|
26
|
-
[thrice]: /url
|
|
27
|
-
|
|
28
|
-
[four]: /url
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
[b]: /url/
|
|
32
|
-
|
|
33
|
-
* * *
|
|
34
|
-
|
|
35
|
-
[this] [this] should work
|
|
36
|
-
|
|
37
|
-
So should [this][this].
|
|
38
|
-
|
|
39
|
-
And [this] [].
|
|
40
|
-
|
|
41
|
-
And [this][].
|
|
42
|
-
|
|
43
|
-
And [this].
|
|
44
|
-
|
|
45
|
-
But not [that] [].
|
|
46
|
-
|
|
47
|
-
Nor [that][].
|
|
48
|
-
|
|
49
|
-
Nor [that].
|
|
50
|
-
|
|
51
|
-
[Something in brackets like [this][] should work]
|
|
52
|
-
|
|
53
|
-
[Same with [this].]
|
|
54
|
-
|
|
55
|
-
In this case, [this](/somethingelse/) points to something else.
|
|
56
|
-
|
|
57
|
-
Backslashing should suppress \[this] and [this\].
|
|
58
|
-
|
|
59
|
-
[this]: foo
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
* * *
|
|
63
|
-
|
|
64
|
-
Here's one where the [link
|
|
65
|
-
breaks] across lines.
|
|
66
|
-
|
|
67
|
-
Here's another where the [link
|
|
68
|
-
breaks] across lines, but with a line-ending space.
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
[link breaks]: /url/
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
<p>This is the <a href="/simple">simple case</a>.</p>
|
|
2
|
-
|
|
3
|
-
<p>This one has a <a href="/foo">line
|
|
4
|
-
break</a>.</p>
|
|
5
|
-
|
|
6
|
-
<p>This one has a <a href="/foo">line
|
|
7
|
-
break</a> with a line-ending space.</p>
|
|
8
|
-
|
|
9
|
-
<p><a href="/that">this</a> and the <a href="/other">other</a></p>
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
This is the [simple case].
|
|
2
|
-
|
|
3
|
-
[simple case]: /simple
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
This one has a [line
|
|
8
|
-
break].
|
|
9
|
-
|
|
10
|
-
This one has a [line
|
|
11
|
-
break] with a line-ending space.
|
|
12
|
-
|
|
13
|
-
[line break]: /foo
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
[this] [that] and the [other]
|
|
17
|
-
|
|
18
|
-
[this]: /this
|
|
19
|
-
[that]: /that
|
|
20
|
-
[other]: /other
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<ul><li><p>item1</p> <ul><li>item2 </li></ul> <p>text</p> </li></ul>
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
<ul>
|
|
2
|
-
<li><p>hello
|
|
3
|
-
world </p>
|
|
4
|
-
|
|
5
|
-
<p>how
|
|
6
|
-
are</p></li>
|
|
7
|
-
<li>you </li>
|
|
8
|
-
</ul>
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
<p>better behavior:</p>
|
|
13
|
-
|
|
14
|
-
<ul><li><p>hello</p> <ul><li><p>world
|
|
15
|
-
how</p> <p>are
|
|
16
|
-
you</p></li><li><p>today</p></li></ul></li><li>hi</li></ul>
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
<ul>
|
|
21
|
-
<li><p>hello</p></li>
|
|
22
|
-
<li><p>world</p></li>
|
|
23
|
-
<li>hi</li>
|
|
24
|
-
</ul>
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
<ul>
|
|
29
|
-
<li>hello</li>
|
|
30
|
-
<li><p>world</p></li>
|
|
31
|
-
<li><p>hi</p></li>
|
|
32
|
-
</ul>
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
<ul>
|
|
37
|
-
<li>hello</li>
|
|
38
|
-
<li><p>world</p>
|
|
39
|
-
|
|
40
|
-
<p>how</p></li>
|
|
41
|
-
<li>hi</li>
|
|
42
|
-
</ul>
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
<ul>
|
|
47
|
-
<li>hello</li>
|
|
48
|
-
<li>world</li>
|
|
49
|
-
<li><p>how</p>
|
|
50
|
-
|
|
51
|
-
<p>are</p></li>
|
|
52
|
-
</ul>
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
<ul>
|
|
57
|
-
<li>hello</li>
|
|
58
|
-
<li><p>world</p></li>
|
|
59
|
-
<li><p>how</p>
|
|
60
|
-
|
|
61
|
-
<p>are</p></li>
|
|
62
|
-
</ul>
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
* hello
|
|
2
|
-
world
|
|
3
|
-
|
|
4
|
-
how
|
|
5
|
-
are
|
|
6
|
-
* you
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
better behavior:
|
|
11
|
-
|
|
12
|
-
* hello
|
|
13
|
-
* world
|
|
14
|
-
how
|
|
15
|
-
|
|
16
|
-
are
|
|
17
|
-
you
|
|
18
|
-
|
|
19
|
-
* today
|
|
20
|
-
* hi
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
* hello
|
|
25
|
-
|
|
26
|
-
* world
|
|
27
|
-
* hi
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
* hello
|
|
32
|
-
* world
|
|
33
|
-
|
|
34
|
-
* hi
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
* hello
|
|
39
|
-
* world
|
|
40
|
-
|
|
41
|
-
how
|
|
42
|
-
* hi
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
* hello
|
|
47
|
-
* world
|
|
48
|
-
* how
|
|
49
|
-
|
|
50
|
-
are
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
* hello
|
|
55
|
-
* world
|
|
56
|
-
|
|
57
|
-
* how
|
|
58
|
-
|
|
59
|
-
are
|