1
0
mirror of https://github.com/erusev/parsedown.git synced 2023-08-10 21:13:06 +03:00

Add initial test/commonmark/ folder

This commit is contained in:
Daniel Rudolf 2016-10-13 22:31:52 +02:00 committed by Aidan Woods
parent 4c0734d935
commit 0514997103
No known key found for this signature in database
GPG Key ID: 9A6A8EFAA512BBB9
684 changed files with 1589 additions and 0 deletions

View File

@ -0,0 +1 @@
<h1>Foo</h1>

View File

@ -0,0 +1 @@
# Foo

View File

@ -0,0 +1,4 @@
<pre><code>```
aaa
```
</code></pre>

View File

@ -0,0 +1,3 @@
```
aaa
```

View File

@ -0,0 +1,2 @@
<pre><code>aaa
</code></pre>

View File

@ -0,0 +1,3 @@
```
aaa
```

View File

@ -0,0 +1,2 @@
<pre><code>aaa
</code></pre>

View File

@ -0,0 +1,3 @@
```
aaa
```

View File

@ -0,0 +1,2 @@
<p><code></code>
aaa</p>

View File

@ -0,0 +1,2 @@
``` ```
aaa

View File

@ -0,0 +1,4 @@
<p>foo</p>
<pre><code>bar
</code></pre>
<p>baz</p>

View File

@ -0,0 +1,5 @@
foo
```
bar
```
baz

View File

@ -0,0 +1,4 @@
<h2>foo</h2>
<pre><code>bar
</code></pre>
<h1>baz</h1>

View File

@ -0,0 +1,6 @@
foo
---
~~~
bar
~~~
# baz

View File

@ -0,0 +1 @@
<hr />

View File

@ -0,0 +1 @@
* * *

View File

@ -0,0 +1,4 @@
<pre><code class="language-ruby">def foo(x)
return 3
end
</code></pre>

View File

@ -0,0 +1,5 @@
```ruby
def foo(x)
return 3
end
```

View File

@ -0,0 +1,2 @@
<p><code>aa</code>
foo</p>

View File

@ -0,0 +1,2 @@
``` aa ```
foo

View File

@ -0,0 +1,2 @@
<pre><code>``` aaa
</code></pre>

View File

@ -0,0 +1,3 @@
```
``` aaa
```

View File

@ -0,0 +1,8 @@
<table>
<tr>
<td>
hi
</td>
</tr>
</table>
<p>okay.</p>

View File

@ -0,0 +1,9 @@
<table>
<tr>
<td>
hi
</td>
</tr>
</table>
okay.

View File

@ -0,0 +1,4 @@
<ul>
<li>`one</li>
<li>two`</li>
</ul>

View File

@ -0,0 +1,2 @@
- `one
- two`

View File

@ -0,0 +1 @@
<div><a href="bar">*foo*</a></div>

View File

@ -0,0 +1 @@
<div><a href="bar">*foo*</a></div>

View File

@ -0,0 +1,3 @@
<table><tr><td>
foo
</td></tr></table>

View File

@ -0,0 +1,3 @@
<table><tr><td>
foo
</td></tr></table>

View File

@ -0,0 +1,3 @@
<Warning>
*bar*
</Warning>

View File

@ -0,0 +1,3 @@
<Warning>
*bar*
</Warning>

View File

@ -0,0 +1,3 @@
<hr />
<hr />
<hr />

View File

@ -0,0 +1,3 @@
***
---
___

View File

@ -0,0 +1 @@
<p><del><em>foo</em></del></p>

View File

@ -0,0 +1 @@
<del>*foo*</del>

View File

@ -0,0 +1,7 @@
<pre language="haskell"><code>
import Text.HTML.TagSoup
main :: IO ()
main = print $ parseTags tags
</code></pre>
<p>okay</p>

View File

@ -0,0 +1,7 @@
<pre language="haskell"><code>
import Text.HTML.TagSoup
main :: IO ()
main = print $ parseTags tags
</code></pre>
okay

View File

@ -0,0 +1,6 @@
<script type="text/javascript">
// JavaScript example
document.getElementById("demo").innerHTML = "Hello JavaScript!";
</script>
<p>okay</p>

View File

@ -0,0 +1,6 @@
<script type="text/javascript">
// JavaScript example
document.getElementById("demo").innerHTML = "Hello JavaScript!";
</script>
okay

View File

@ -0,0 +1,5 @@
<blockquote>
<div>
foo
</blockquote>
<p>bar</p>

View File

@ -0,0 +1,4 @@
> <div>
> foo
bar

View File

@ -0,0 +1 @@
<p>+++</p>

View File

@ -0,0 +1 @@
+++

View File

@ -0,0 +1,6 @@
<ul>
<li>
<div>
</li>
<li>foo</li>
</ul>

View File

@ -0,0 +1,2 @@
- <div>
- foo

View File

@ -0,0 +1,2 @@
<style>p{color:red;}</style>
<p><em>foo</em></p>

View File

@ -0,0 +1,2 @@
<style>p{color:red;}</style>
*foo*

View File

@ -0,0 +1,3 @@
<script>
foo
</script>1. *bar*

View File

@ -0,0 +1,3 @@
<script>
foo
</script>1. *bar*

View File

@ -0,0 +1,3 @@
<!-- foo -->
<pre><code>&lt;!-- foo --&gt;
</code></pre>

View File

@ -0,0 +1,3 @@
<!-- foo -->
<!-- foo -->

View File

@ -0,0 +1 @@
<p>===</p>

View File

@ -0,0 +1 @@
===

View File

@ -0,0 +1,4 @@
<p>Foo</p>
<div>
bar
</div>

View File

@ -0,0 +1,4 @@
Foo
<div>
bar
</div>

View File

@ -0,0 +1,3 @@
<p>Foo
<a href="bar">
baz</p>

View File

@ -0,0 +1,3 @@
Foo
<a href="bar">
baz

View File

@ -0,0 +1,3 @@
<div>
*Emphasized* text.
</div>

View File

@ -0,0 +1,3 @@
<div>
*Emphasized* text.
</div>

View File

@ -0,0 +1,7 @@
<table>
<tr>
<td>
Hi
</td>
</tr>
</table>

View File

@ -0,0 +1,11 @@
<table>
<tr>
<td>
Hi
</td>
</tr>
</table>

View File

@ -0,0 +1 @@
<p><a href="/url" title="title">foo</a></p>

View File

@ -0,0 +1,3 @@
[foo]: /url "title"
[foo]

View File

@ -0,0 +1,3 @@
<p>--
**
__</p>

View File

@ -0,0 +1,3 @@
--
**
__

View File

@ -0,0 +1,3 @@
<p>[foo]: /url 'title</p>
<p>with blank line'</p>
<p>[foo]</p>

View File

@ -0,0 +1,5 @@
[foo]: /url 'title
with blank line'
[foo]

View File

@ -0,0 +1,2 @@
<p>[foo]:</p>
<p>[foo]</p>

View File

@ -0,0 +1,3 @@
[foo]:
[foo]

View File

@ -0,0 +1 @@
<p><a href="url">foo</a></p>

View File

@ -0,0 +1,3 @@
[foo]
[foo]: url

View File

@ -0,0 +1 @@
<p><a href="/url">Foo</a></p>

View File

@ -0,0 +1,3 @@
[FOO]: /url
[Foo]

View File

@ -0,0 +1,3 @@
<hr />
<hr />
<hr />

View File

@ -0,0 +1,3 @@
***
***
***

View File

@ -0,0 +1 @@
[foo]: /url

View File

@ -0,0 +1 @@
<p>[foo]: /url &quot;title&quot; ok</p>

View File

@ -0,0 +1 @@
[foo]: /url "title" ok

View File

@ -0,0 +1 @@
<p>&quot;title&quot; ok</p>

View File

@ -0,0 +1,2 @@
[foo]: /url
"title" ok

View File

@ -0,0 +1,3 @@
<pre><code>[foo]: /url
</code></pre>
<p>[foo]</p>

View File

@ -0,0 +1,5 @@
```
[foo]: /url
```
[foo]

View File

@ -0,0 +1,4 @@
<h1><a href="/url">Foo</a></h1>
<blockquote>
<p>bar</p>
</blockquote>

View File

@ -0,0 +1,3 @@
# [Foo]
[foo]: /url
> bar

View File

@ -0,0 +1,2 @@
<pre><code>***
</code></pre>

View File

@ -0,0 +1 @@
***

View File

@ -0,0 +1,2 @@
<p>aaa</p>
<p>bbb</p>

View File

@ -0,0 +1,3 @@
aaa
bbb

View File

@ -0,0 +1,4 @@
<p>aaa
bbb</p>
<p>ccc
ddd</p>

View File

@ -0,0 +1,5 @@
aaa
bbb
ccc
ddd

View File

@ -0,0 +1,2 @@
<p>aaa</p>
<p>bbb</p>

View File

@ -0,0 +1,4 @@
aaa
bbb

View File

@ -0,0 +1,2 @@
<p>aaa
bbb</p>

View File

@ -0,0 +1,2 @@
aaa
bbb

View File

@ -0,0 +1,3 @@
<p>aaa
bbb
ccc</p>

View File

@ -0,0 +1,3 @@
aaa
bbb
ccc

View File

@ -0,0 +1,2 @@
<p>aaa
bbb</p>

View File

@ -0,0 +1,2 @@
aaa
bbb

Some files were not shown because too many files have changed in this diff Show More