mirror of
https://github.com/erusev/parsedown.git
synced 2023-08-10 21:13:06 +03:00
Cache new passing tests
This commit is contained in:
parent
4fa89c1a80
commit
5ada761532
2
tests/commonmark/1-Tabs.html
Normal file
2
tests/commonmark/1-Tabs.html
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
<pre><code>foo baz bim
|
||||||
|
</code></pre>
|
1
tests/commonmark/1-Tabs.md
Normal file
1
tests/commonmark/1-Tabs.md
Normal file
@ -0,0 +1 @@
|
|||||||
|
foo baz bim
|
@ -1,2 +1,4 @@
|
|||||||
<pre><code>aaa
|
<pre><code>```
|
||||||
|
aaa
|
||||||
|
```
|
||||||
</code></pre>
|
</code></pre>
|
2
tests/commonmark/105-Fenced_code_blocks.html
Normal file
2
tests/commonmark/105-Fenced_code_blocks.html
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
<pre><code>aaa
|
||||||
|
</code></pre>
|
3
tests/commonmark/105-Fenced_code_blocks.md
Normal file
3
tests/commonmark/105-Fenced_code_blocks.md
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
```
|
||||||
|
aaa
|
||||||
|
```
|
2
tests/commonmark/107-Fenced_code_blocks.html
Normal file
2
tests/commonmark/107-Fenced_code_blocks.html
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
<p><code></code>
|
||||||
|
aaa</p>
|
2
tests/commonmark/107-Fenced_code_blocks.md
Normal file
2
tests/commonmark/107-Fenced_code_blocks.md
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
``` ```
|
||||||
|
aaa
|
@ -1,4 +1,4 @@
|
|||||||
<h2>foo</h2>
|
<p>foo</p>
|
||||||
<pre><code>bar
|
<pre><code>bar
|
||||||
</code></pre>
|
</code></pre>
|
||||||
<h1>baz</h1>
|
<p>baz</p>
|
@ -1,6 +1,5 @@
|
|||||||
foo
|
foo
|
||||||
---
|
```
|
||||||
~~~
|
|
||||||
bar
|
bar
|
||||||
~~~
|
```
|
||||||
# baz
|
baz
|
@ -1,4 +1,4 @@
|
|||||||
<pre><code class="language-ruby">def foo(x)
|
<h2>foo</h2>
|
||||||
return 3
|
<pre><code>bar
|
||||||
end
|
|
||||||
</code></pre>
|
</code></pre>
|
||||||
|
<h1>baz</h1>
|
@ -1,5 +1,6 @@
|
|||||||
```ruby
|
foo
|
||||||
def foo(x)
|
---
|
||||||
return 3
|
~~~
|
||||||
end
|
bar
|
||||||
```
|
~~~
|
||||||
|
# baz
|
4
tests/commonmark/111-Fenced_code_blocks.html
Normal file
4
tests/commonmark/111-Fenced_code_blocks.html
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
<pre><code class="language-ruby">def foo(x)
|
||||||
|
return 3
|
||||||
|
end
|
||||||
|
</code></pre>
|
5
tests/commonmark/111-Fenced_code_blocks.md
Normal file
5
tests/commonmark/111-Fenced_code_blocks.md
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
```ruby
|
||||||
|
def foo(x)
|
||||||
|
return 3
|
||||||
|
end
|
||||||
|
```
|
@ -1,2 +1 @@
|
|||||||
<p><code>aa</code>
|
<pre><code class="language-;"></code></pre>
|
||||||
foo</p>
|
|
@ -1,2 +1,2 @@
|
|||||||
``` aa ```
|
````;
|
||||||
foo
|
````
|
@ -1,2 +1,2 @@
|
|||||||
<pre><code>``` aaa
|
<p><code>aa</code>
|
||||||
</code></pre>
|
foo</p>
|
@ -1,3 +1,2 @@
|
|||||||
```
|
``` aa ```
|
||||||
``` aaa
|
foo
|
||||||
```
|
|
2
tests/commonmark/116-Fenced_code_blocks.html
Normal file
2
tests/commonmark/116-Fenced_code_blocks.html
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
<pre><code>``` aaa
|
||||||
|
</code></pre>
|
3
tests/commonmark/116-Fenced_code_blocks.md
Normal file
3
tests/commonmark/116-Fenced_code_blocks.md
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
```
|
||||||
|
``` aaa
|
||||||
|
```
|
8
tests/commonmark/118-HTML_blocks.html
Normal file
8
tests/commonmark/118-HTML_blocks.html
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
<table>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
hi
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
<p>okay.</p>
|
9
tests/commonmark/118-HTML_blocks.md
Normal file
9
tests/commonmark/118-HTML_blocks.md
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
<table>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
hi
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
okay.
|
3
tests/commonmark/119-HTML_blocks.html
Normal file
3
tests/commonmark/119-HTML_blocks.html
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
<div>
|
||||||
|
*hello*
|
||||||
|
<foo><a>
|
3
tests/commonmark/119-HTML_blocks.md
Normal file
3
tests/commonmark/119-HTML_blocks.md
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
<div>
|
||||||
|
*hello*
|
||||||
|
<foo><a>
|
2
tests/commonmark/120-HTML_blocks.html
Normal file
2
tests/commonmark/120-HTML_blocks.html
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
</div>
|
||||||
|
*foo*
|
2
tests/commonmark/120-HTML_blocks.md
Normal file
2
tests/commonmark/120-HTML_blocks.md
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
</div>
|
||||||
|
*foo*
|
3
tests/commonmark/121-HTML_blocks.html
Normal file
3
tests/commonmark/121-HTML_blocks.html
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
<DIV CLASS="foo">
|
||||||
|
<p><em>Markdown</em></p>
|
||||||
|
</DIV>
|
5
tests/commonmark/121-HTML_blocks.md
Normal file
5
tests/commonmark/121-HTML_blocks.md
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
<DIV CLASS="foo">
|
||||||
|
|
||||||
|
*Markdown*
|
||||||
|
|
||||||
|
</DIV>
|
3
tests/commonmark/124-HTML_blocks.html
Normal file
3
tests/commonmark/124-HTML_blocks.html
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
<div>
|
||||||
|
*foo*
|
||||||
|
<p><em>bar</em></p>
|
4
tests/commonmark/124-HTML_blocks.md
Normal file
4
tests/commonmark/124-HTML_blocks.md
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
<div>
|
||||||
|
*foo*
|
||||||
|
|
||||||
|
*bar*
|
1
tests/commonmark/128-HTML_blocks.html
Normal file
1
tests/commonmark/128-HTML_blocks.html
Normal file
@ -0,0 +1 @@
|
|||||||
|
<div><a href="bar">*foo*</a></div>
|
1
tests/commonmark/128-HTML_blocks.md
Normal file
1
tests/commonmark/128-HTML_blocks.md
Normal file
@ -0,0 +1 @@
|
|||||||
|
<div><a href="bar">*foo*</a></div>
|
@ -1,3 +1,3 @@
|
|||||||
<Warning>
|
<table><tr><td>
|
||||||
*bar*
|
foo
|
||||||
</Warning>
|
</td></tr></table>
|
@ -1,3 +1,3 @@
|
|||||||
<Warning>
|
<table><tr><td>
|
||||||
*bar*
|
foo
|
||||||
</Warning>
|
</td></tr></table>
|
4
tests/commonmark/130-HTML_blocks.html
Normal file
4
tests/commonmark/130-HTML_blocks.html
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
<div></div>
|
||||||
|
``` c
|
||||||
|
int x = 33;
|
||||||
|
```
|
4
tests/commonmark/130-HTML_blocks.md
Normal file
4
tests/commonmark/130-HTML_blocks.md
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
<div></div>
|
||||||
|
``` c
|
||||||
|
int x = 33;
|
||||||
|
```
|
3
tests/commonmark/132-HTML_blocks.html
Normal file
3
tests/commonmark/132-HTML_blocks.html
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
<Warning>
|
||||||
|
*bar*
|
||||||
|
</Warning>
|
3
tests/commonmark/132-HTML_blocks.md
Normal file
3
tests/commonmark/132-HTML_blocks.md
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
<Warning>
|
||||||
|
*bar*
|
||||||
|
</Warning>
|
1
tests/commonmark/137-HTML_blocks.html
Normal file
1
tests/commonmark/137-HTML_blocks.html
Normal file
@ -0,0 +1 @@
|
|||||||
|
<p><del><em>foo</em></del></p>
|
1
tests/commonmark/137-HTML_blocks.md
Normal file
1
tests/commonmark/137-HTML_blocks.md
Normal file
@ -0,0 +1 @@
|
|||||||
|
<del>*foo*</del>
|
7
tests/commonmark/138-HTML_blocks.html
Normal file
7
tests/commonmark/138-HTML_blocks.html
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
<pre language="haskell"><code>
|
||||||
|
import Text.HTML.TagSoup
|
||||||
|
|
||||||
|
main :: IO ()
|
||||||
|
main = print $ parseTags tags
|
||||||
|
</code></pre>
|
||||||
|
<p>okay</p>
|
7
tests/commonmark/138-HTML_blocks.md
Normal file
7
tests/commonmark/138-HTML_blocks.md
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
<pre language="haskell"><code>
|
||||||
|
import Text.HTML.TagSoup
|
||||||
|
|
||||||
|
main :: IO ()
|
||||||
|
main = print $ parseTags tags
|
||||||
|
</code></pre>
|
||||||
|
okay
|
@ -1,5 +1,6 @@
|
|||||||
<blockquote>
|
<script type="text/javascript">
|
||||||
<div>
|
// JavaScript example
|
||||||
foo
|
|
||||||
</blockquote>
|
document.getElementById("demo").innerHTML = "Hello JavaScript!";
|
||||||
<p>bar</p>
|
</script>
|
||||||
|
<p>okay</p>
|
@ -1,4 +1,6 @@
|
|||||||
> <div>
|
<script type="text/javascript">
|
||||||
> foo
|
// JavaScript example
|
||||||
|
|
||||||
bar
|
document.getElementById("demo").innerHTML = "Hello JavaScript!";
|
||||||
|
</script>
|
||||||
|
okay
|
@ -1,6 +1,7 @@
|
|||||||
<ul>
|
<style
|
||||||
<li>
|
type="text/css">
|
||||||
<div>
|
h1 {color:red;}
|
||||||
</li>
|
|
||||||
<li>foo</li>
|
p {color:blue;}
|
||||||
</ul>
|
</style>
|
||||||
|
<p>okay</p>
|
@ -1,2 +1,7 @@
|
|||||||
- <div>
|
<style
|
||||||
- foo
|
type="text/css">
|
||||||
|
h1 {color:red;}
|
||||||
|
|
||||||
|
p {color:blue;}
|
||||||
|
</style>
|
||||||
|
okay
|
@ -1,2 +1,4 @@
|
|||||||
<style>p{color:red;}</style>
|
<style
|
||||||
<p><em>foo</em></p>
|
type="text/css">
|
||||||
|
|
||||||
|
foo
|
@ -1,2 +1,4 @@
|
|||||||
<style>p{color:red;}</style>
|
<style
|
||||||
*foo*
|
type="text/css">
|
||||||
|
|
||||||
|
foo
|
5
tests/commonmark/142-HTML_blocks.html
Normal file
5
tests/commonmark/142-HTML_blocks.html
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
<blockquote>
|
||||||
|
<div>
|
||||||
|
foo
|
||||||
|
</blockquote>
|
||||||
|
<p>bar</p>
|
4
tests/commonmark/142-HTML_blocks.md
Normal file
4
tests/commonmark/142-HTML_blocks.md
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
> <div>
|
||||||
|
> foo
|
||||||
|
|
||||||
|
bar
|
@ -1,3 +1,6 @@
|
|||||||
<script>
|
<ul>
|
||||||
foo
|
<li>
|
||||||
</script>1. *bar*
|
<div>
|
||||||
|
</li>
|
||||||
|
<li>foo</li>
|
||||||
|
</ul>
|
@ -1,3 +1,2 @@
|
|||||||
<script>
|
- <div>
|
||||||
foo
|
- foo
|
||||||
</script>1. *bar*
|
|
2
tests/commonmark/144-HTML_blocks.html
Normal file
2
tests/commonmark/144-HTML_blocks.html
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
<style>p{color:red;}</style>
|
||||||
|
<p><em>foo</em></p>
|
2
tests/commonmark/144-HTML_blocks.md
Normal file
2
tests/commonmark/144-HTML_blocks.md
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
<style>p{color:red;}</style>
|
||||||
|
*foo*
|
2
tests/commonmark/145-HTML_blocks.html
Normal file
2
tests/commonmark/145-HTML_blocks.html
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
<!-- foo -->*bar*
|
||||||
|
<p><em>baz</em></p>
|
2
tests/commonmark/145-HTML_blocks.md
Normal file
2
tests/commonmark/145-HTML_blocks.md
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
<!-- foo -->*bar*
|
||||||
|
*baz*
|
3
tests/commonmark/146-HTML_blocks.html
Normal file
3
tests/commonmark/146-HTML_blocks.html
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
<script>
|
||||||
|
foo
|
||||||
|
</script>1. *bar*
|
3
tests/commonmark/146-HTML_blocks.md
Normal file
3
tests/commonmark/146-HTML_blocks.md
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
<script>
|
||||||
|
foo
|
||||||
|
</script>1. *bar*
|
5
tests/commonmark/147-HTML_blocks.html
Normal file
5
tests/commonmark/147-HTML_blocks.html
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
<!-- Foo
|
||||||
|
|
||||||
|
bar
|
||||||
|
baz -->
|
||||||
|
<p>okay</p>
|
5
tests/commonmark/147-HTML_blocks.md
Normal file
5
tests/commonmark/147-HTML_blocks.md
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
<!-- Foo
|
||||||
|
|
||||||
|
bar
|
||||||
|
baz -->
|
||||||
|
okay
|
@ -1,3 +1,6 @@
|
|||||||
<!-- foo -->
|
<?php
|
||||||
<pre><code><!-- foo -->
|
|
||||||
</code></pre>
|
echo '>';
|
||||||
|
|
||||||
|
?>
|
||||||
|
<p>okay</p>
|
@ -1,3 +1,6 @@
|
|||||||
<!-- foo -->
|
<?php
|
||||||
|
|
||||||
<!-- foo -->
|
echo '>';
|
||||||
|
|
||||||
|
?>
|
||||||
|
okay
|
1
tests/commonmark/149-HTML_blocks.html
Normal file
1
tests/commonmark/149-HTML_blocks.html
Normal file
@ -0,0 +1 @@
|
|||||||
|
<!DOCTYPE html>
|
1
tests/commonmark/149-HTML_blocks.md
Normal file
1
tests/commonmark/149-HTML_blocks.md
Normal file
@ -0,0 +1 @@
|
|||||||
|
<!DOCTYPE html>
|
@ -1,4 +1,13 @@
|
|||||||
<p>Foo</p>
|
<![CDATA[
|
||||||
<div>
|
function matchwo(a,b)
|
||||||
bar
|
{
|
||||||
</div>
|
if (a < b && a < 0) then {
|
||||||
|
return 1;
|
||||||
|
|
||||||
|
} else {
|
||||||
|
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]]>
|
||||||
|
<p>okay</p>
|
@ -1,4 +1,13 @@
|
|||||||
Foo
|
<![CDATA[
|
||||||
<div>
|
function matchwo(a,b)
|
||||||
bar
|
{
|
||||||
</div>
|
if (a < b && a < 0) then {
|
||||||
|
return 1;
|
||||||
|
|
||||||
|
} else {
|
||||||
|
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]]>
|
||||||
|
okay
|
3
tests/commonmark/151-HTML_blocks.html
Normal file
3
tests/commonmark/151-HTML_blocks.html
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
<!-- foo -->
|
||||||
|
<pre><code><!-- foo -->
|
||||||
|
</code></pre>
|
3
tests/commonmark/151-HTML_blocks.md
Normal file
3
tests/commonmark/151-HTML_blocks.md
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
<!-- foo -->
|
||||||
|
|
||||||
|
<!-- foo -->
|
@ -1,3 +1,3 @@
|
|||||||
<p>Foo
|
<div>
|
||||||
<a href="bar">
|
<pre><code><div>
|
||||||
baz</p>
|
</code></pre>
|
@ -1,3 +1,3 @@
|
|||||||
Foo
|
<div>
|
||||||
<a href="bar">
|
|
||||||
baz
|
<div>
|
4
tests/commonmark/153-HTML_blocks.html
Normal file
4
tests/commonmark/153-HTML_blocks.html
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
<p>Foo</p>
|
||||||
|
<div>
|
||||||
|
bar
|
||||||
|
</div>
|
4
tests/commonmark/153-HTML_blocks.md
Normal file
4
tests/commonmark/153-HTML_blocks.md
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
Foo
|
||||||
|
<div>
|
||||||
|
bar
|
||||||
|
</div>
|
@ -1,3 +1,4 @@
|
|||||||
<div>
|
<div>
|
||||||
*Emphasized* text.
|
bar
|
||||||
</div>
|
</div>
|
||||||
|
*foo*
|
@ -1,3 +1,4 @@
|
|||||||
<div>
|
<div>
|
||||||
*Emphasized* text.
|
bar
|
||||||
</div>
|
</div>
|
||||||
|
*foo*
|
@ -1,7 +1,3 @@
|
|||||||
<table>
|
<p>Foo
|
||||||
<tr>
|
<a href="bar">
|
||||||
<td>
|
baz</p>
|
||||||
Hi
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
@ -1,11 +1,3 @@
|
|||||||
<table>
|
Foo
|
||||||
|
<a href="bar">
|
||||||
<tr>
|
baz
|
||||||
|
|
||||||
<td>
|
|
||||||
Hi
|
|
||||||
</td>
|
|
||||||
|
|
||||||
</tr>
|
|
||||||
|
|
||||||
</table>
|
|
3
tests/commonmark/156-HTML_blocks.html
Normal file
3
tests/commonmark/156-HTML_blocks.html
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
<div>
|
||||||
|
<p><em>Emphasized</em> text.</p>
|
||||||
|
</div>
|
5
tests/commonmark/156-HTML_blocks.md
Normal file
5
tests/commonmark/156-HTML_blocks.md
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
<div>
|
||||||
|
|
||||||
|
*Emphasized* text.
|
||||||
|
|
||||||
|
</div>
|
3
tests/commonmark/157-HTML_blocks.html
Normal file
3
tests/commonmark/157-HTML_blocks.html
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
<div>
|
||||||
|
*Emphasized* text.
|
||||||
|
</div>
|
3
tests/commonmark/157-HTML_blocks.md
Normal file
3
tests/commonmark/157-HTML_blocks.md
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
<div>
|
||||||
|
*Emphasized* text.
|
||||||
|
</div>
|
7
tests/commonmark/158-HTML_blocks.html
Normal file
7
tests/commonmark/158-HTML_blocks.html
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
<table>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
Hi
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
11
tests/commonmark/158-HTML_blocks.md
Normal file
11
tests/commonmark/158-HTML_blocks.md
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
<table>
|
||||||
|
|
||||||
|
<tr>
|
||||||
|
|
||||||
|
<td>
|
||||||
|
Hi
|
||||||
|
</td>
|
||||||
|
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
</table>
|
8
tests/commonmark/159-HTML_blocks.html
Normal file
8
tests/commonmark/159-HTML_blocks.html
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
<table>
|
||||||
|
<tr>
|
||||||
|
<pre><code><td>
|
||||||
|
Hi
|
||||||
|
</td>
|
||||||
|
</code></pre>
|
||||||
|
</tr>
|
||||||
|
</table>
|
11
tests/commonmark/159-HTML_blocks.md
Normal file
11
tests/commonmark/159-HTML_blocks.md
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
<table>
|
||||||
|
|
||||||
|
<tr>
|
||||||
|
|
||||||
|
<td>
|
||||||
|
Hi
|
||||||
|
</td>
|
||||||
|
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
</table>
|
1
tests/commonmark/160-Link_reference_definitions.html
Normal file
1
tests/commonmark/160-Link_reference_definitions.html
Normal file
@ -0,0 +1 @@
|
|||||||
|
<p><a href="/url" title="title">foo</a></p>
|
3
tests/commonmark/160-Link_reference_definitions.md
Normal file
3
tests/commonmark/160-Link_reference_definitions.md
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
[foo]: /url "title"
|
||||||
|
|
||||||
|
[foo]
|
3
tests/commonmark/165-Link_reference_definitions.html
Normal file
3
tests/commonmark/165-Link_reference_definitions.html
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
<p>[foo]: /url 'title</p>
|
||||||
|
<p>with blank line'</p>
|
||||||
|
<p>[foo]</p>
|
5
tests/commonmark/165-Link_reference_definitions.md
Normal file
5
tests/commonmark/165-Link_reference_definitions.md
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
[foo]: /url 'title
|
||||||
|
|
||||||
|
with blank line'
|
||||||
|
|
||||||
|
[foo]
|
2
tests/commonmark/167-Link_reference_definitions.html
Normal file
2
tests/commonmark/167-Link_reference_definitions.html
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
<p>[foo]:</p>
|
||||||
|
<p>[foo]</p>
|
3
tests/commonmark/167-Link_reference_definitions.md
Normal file
3
tests/commonmark/167-Link_reference_definitions.md
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
[foo]:
|
||||||
|
|
||||||
|
[foo]
|
@ -0,0 +1 @@
|
|||||||
|
<p><a href="url">foo</a></p>
|
@ -1 +1,3 @@
|
|||||||
[foo]: /url
|
[foo]
|
||||||
|
|
||||||
|
[foo]: url
|
@ -1 +1 @@
|
|||||||
<p>[foo]: /url "title" ok</p>
|
<p><a href="/url">Foo</a></p>
|
@ -1 +1,3 @@
|
|||||||
[foo]: /url "title" ok
|
[FOO]: /url
|
||||||
|
|
||||||
|
[Foo]
|
1
tests/commonmark/174-Link_reference_definitions.md
Normal file
1
tests/commonmark/174-Link_reference_definitions.md
Normal file
@ -0,0 +1 @@
|
|||||||
|
[foo]: /url
|
1
tests/commonmark/176-Link_reference_definitions.html
Normal file
1
tests/commonmark/176-Link_reference_definitions.html
Normal file
@ -0,0 +1 @@
|
|||||||
|
<p>[foo]: /url "title" ok</p>
|
1
tests/commonmark/176-Link_reference_definitions.md
Normal file
1
tests/commonmark/176-Link_reference_definitions.md
Normal file
@ -0,0 +1 @@
|
|||||||
|
[foo]: /url "title" ok
|
@ -1,4 +1 @@
|
|||||||
<h1><a href="/url">Foo</a></h1>
|
<p>"title" ok</p>
|
||||||
<blockquote>
|
|
||||||
<p>bar</p>
|
|
||||||
</blockquote>
|
|
@ -1,3 +1,2 @@
|
|||||||
# [Foo]
|
|
||||||
[foo]: /url
|
[foo]: /url
|
||||||
> bar
|
"title" ok
|
3
tests/commonmark/178-Link_reference_definitions.html
Normal file
3
tests/commonmark/178-Link_reference_definitions.html
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
<pre><code>[foo]: /url "title"
|
||||||
|
</code></pre>
|
||||||
|
<p>[foo]</p>
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user