Vitaly Puzrin
10 years ago
104 changed files with 1788 additions and 10 deletions
@ -0,0 +1,9 @@ |
|||
<h1>Level one</h1> |
|||
<h2>Two</h2> |
|||
<p>In a paragraph</p> |
|||
<h2>Level two</h2> |
|||
<p>more text</p> |
|||
<p>====== |
|||
no empty headers</p> |
|||
<p>not a header</p> |
|||
<hr /> |
@ -0,0 +1,17 @@ |
|||
Level one |
|||
========= |
|||
|
|||
Two |
|||
--- |
|||
|
|||
In a paragraph |
|||
|
|||
Level two |
|||
--------- |
|||
more text |
|||
|
|||
====== |
|||
no empty headers |
|||
|
|||
not a header |
|||
------------ ----- |
@ -0,0 +1,14 @@ |
|||
<h1>One</h1> |
|||
<h2>Two</h2> |
|||
<h3>Three</h3> |
|||
<h4>Four</h4> |
|||
<h5>Five</h5> |
|||
<h6>Six</h6> |
|||
<p>####### Seven</p> |
|||
<h3>Three with</h3> |
|||
<h2>Spacing doesn't matter</h2> |
|||
<h2>Escaped final #</h2> |
|||
<p>## Not a header</p> |
|||
<p>#5 not a header</p> |
|||
<h2></h2> |
|||
<p>(empty header)</p> |
@ -0,0 +1,20 @@ |
|||
# One |
|||
## Two |
|||
### Three |
|||
#### Four |
|||
##### Five |
|||
|
|||
###### Six |
|||
|
|||
####### Seven |
|||
|
|||
### Three with ### |
|||
## Spacing doesn't matter ## |
|||
## Escaped final \## |
|||
|
|||
\## Not a header |
|||
|
|||
#5 not a header |
|||
|
|||
## |
|||
(empty header) |
@ -0,0 +1,12 @@ |
|||
<blockquote> |
|||
<p>one |
|||
blockquote</p> |
|||
</blockquote> |
|||
<blockquote> |
|||
<blockquote> |
|||
<blockquote> |
|||
<p>triply nested |
|||
triply nested</p> |
|||
</blockquote> |
|||
</blockquote> |
|||
</blockquote> |
@ -0,0 +1,5 @@ |
|||
> one |
|||
> blockquote |
|||
|
|||
>>> triply nested |
|||
> > > triply nested |
@ -0,0 +1,32 @@ |
|||
<p>These are all equivalent:</p> |
|||
<blockquote> |
|||
<blockquote> |
|||
<p>nested |
|||
blockquote</p> |
|||
</blockquote> |
|||
</blockquote> |
|||
<blockquote> |
|||
<blockquote> |
|||
<p>nested |
|||
blockquote</p> |
|||
</blockquote> |
|||
</blockquote> |
|||
<blockquote> |
|||
<blockquote> |
|||
<p>nested |
|||
blockquote</p> |
|||
</blockquote> |
|||
</blockquote> |
|||
<blockquote> |
|||
<blockquote> |
|||
<p>nested |
|||
blockquote</p> |
|||
</blockquote> |
|||
</blockquote> |
|||
<p>This is not:</p> |
|||
<blockquote> |
|||
<p>nested</p> |
|||
<blockquote> |
|||
<p>blockquote</p> |
|||
</blockquote> |
|||
</blockquote> |
@ -0,0 +1,22 @@ |
|||
These are all equivalent: |
|||
|
|||
> > nested |
|||
> > blockquote |
|||
|
|||
|
|||
>> nested |
|||
>> blockquote |
|||
|
|||
|
|||
> > nested |
|||
blockquote |
|||
|
|||
|
|||
> > nested |
|||
> blockquote |
|||
|
|||
|
|||
This is not: |
|||
|
|||
> nested |
|||
> > blockquote |
@ -0,0 +1,39 @@ |
|||
<p>One blockquote, two paragraphs:</p> |
|||
<blockquote> |
|||
<p>one</p> |
|||
<p>two</p> |
|||
</blockquote> |
|||
<p>Two blockquotes:</p> |
|||
<blockquote> |
|||
<p>one</p> |
|||
</blockquote> |
|||
<blockquote> |
|||
<p>two</p> |
|||
</blockquote> |
|||
<p>Nested blockquote, two paragraphs:</p> |
|||
<blockquote> |
|||
<blockquote> |
|||
<p>one</p> |
|||
<p>two</p> |
|||
</blockquote> |
|||
</blockquote> |
|||
<p>Nested blockquote, two blockquotes:</p> |
|||
<blockquote> |
|||
<blockquote> |
|||
<p>one</p> |
|||
</blockquote> |
|||
<blockquote> |
|||
<p>two</p> |
|||
</blockquote> |
|||
</blockquote> |
|||
<p>Two nested blockquotes:</p> |
|||
<blockquote> |
|||
<blockquote> |
|||
<p>one</p> |
|||
</blockquote> |
|||
</blockquote> |
|||
<blockquote> |
|||
<blockquote> |
|||
<p>two</p> |
|||
</blockquote> |
|||
</blockquote> |
@ -0,0 +1,29 @@ |
|||
One blockquote, two paragraphs: |
|||
|
|||
> one |
|||
> |
|||
> two |
|||
|
|||
Two blockquotes: |
|||
|
|||
> one |
|||
|
|||
> two |
|||
|
|||
Nested blockquote, two paragraphs: |
|||
|
|||
> > one |
|||
> > |
|||
> > two |
|||
|
|||
Nested blockquote, two blockquotes: |
|||
|
|||
> > one |
|||
> |
|||
> > two |
|||
|
|||
Two nested blockquotes: |
|||
|
|||
> > one |
|||
|
|||
> > two |
@ -0,0 +1,33 @@ |
|||
<pre><code>foo |
|||
|
|||
|
|||
|
|||
bar |
|||
</code></pre> |
|||
<blockquote> |
|||
<pre><code>foo |
|||
|
|||
|
|||
|
|||
bar |
|||
</code></pre> |
|||
</blockquote> |
|||
<pre><code>foo |
|||
|
|||
|
|||
|
|||
bar |
|||
</code></pre> |
|||
<ol> |
|||
<li><p>One</p> |
|||
<pre><code>CodeA |
|||
|
|||
CodeB |
|||
</code></pre></li> |
|||
<li><p>Two</p> |
|||
<pre><code>CodeA |
|||
</code></pre></li> |
|||
</ol> |
|||
<ol> |
|||
<li>One</li> |
|||
</ol> |
@ -0,0 +1,28 @@ |
|||
foo |
|||
|
|||
|
|||
|
|||
bar |
|||
> foo |
|||
> |
|||
> |
|||
> |
|||
> bar |
|||
foo |
|||
|
|||
|
|||
|
|||
bar |
|||
|
|||
1. One |
|||
|
|||
CodeA |
|||
|
|||
CodeB |
|||
|
|||
2. Two |
|||
|
|||
CodeA |
|||
|
|||
|
|||
1. One |
@ -0,0 +1,14 @@ |
|||
<ul> |
|||
<li><p>List</p> |
|||
<pre><code>code |
|||
</code></pre></li> |
|||
</ul> |
|||
<ul> |
|||
<li>one</li> |
|||
<li>two</li> |
|||
</ul> |
|||
<ul> |
|||
<li><p>one |
|||
not code</p></li> |
|||
<li><p>two</p></li> |
|||
</ul> |
@ -0,0 +1,14 @@ |
|||
* List |
|||
|
|||
code |
|||
|
|||
|
|||
* one |
|||
* two |
|||
|
|||
|
|||
|
|||
* one |
|||
not code |
|||
|
|||
* two |
@ -0,0 +1,8 @@ |
|||
<pre class="abc"><code>``` |
|||
</code></pre> |
|||
<pre class="blah"><code> |
|||
````` |
|||
|
|||
```` |
|||
|
|||
</code></pre> |
@ -0,0 +1,10 @@ |
|||
````abc |
|||
``` |
|||
```` |
|||
``````blah |
|||
|
|||
````` |
|||
|
|||
```` |
|||
|
|||
``````````` |
@ -0,0 +1,24 @@ |
|||
<p>This is a fenced code block:</p> |
|||
<pre class="haskell"><code>pairs :: [(Int,Char)] |
|||
pairs = [(x,y) | x <- [0..10], y <- ['a'..'z']] |
|||
</code></pre> |
|||
<p>Here is one with tildes:</p> |
|||
<pre class="haskell"><code>pairs :: [(Int,Char)] |
|||
pairs = [(x,y) | x <- [0..10], y <- ['a'..'z']] |
|||
</code></pre> |
|||
<p>More metadata:</p> |
|||
<pre class="haskell"><code>pairs :: [(Int,Char)] |
|||
pairs = [(x,y) | x <- [0..10], y <- ['a'..'z']] |
|||
</code></pre> |
|||
<p>More backticks:</p> |
|||
<pre class="haskell"><code>pairs :: [(Int,Char)] |
|||
pairs = [(x,y) | x <- [0..10], y <- ['a'..'z']] |
|||
|
|||
backticks :: String |
|||
backticks = "`````" |
|||
</code></pre> |
|||
<p>Without an end:</p> |
|||
<pre><code>code with |
|||
no end |
|||
|
|||
</code></pre> |
@ -0,0 +1,35 @@ |
|||
This is a fenced code block: |
|||
```haskell |
|||
pairs :: [(Int,Char)] |
|||
pairs = [(x,y) | x <- [0..10], y <- ['a'..'z']] |
|||
``` |
|||
Here is one with tildes: |
|||
|
|||
~~~ haskell |
|||
pairs :: [(Int,Char)] |
|||
pairs = [(x,y) | x <- [0..10], y <- ['a'..'z']] |
|||
~~~ |
|||
|
|||
More metadata: |
|||
|
|||
```haskell numberLines start=50 |
|||
pairs :: [(Int,Char)] |
|||
pairs = [(x,y) | x <- [0..10], y <- ['a'..'z']] |
|||
``` |
|||
|
|||
More backticks: |
|||
|
|||
```````` haskell |
|||
pairs :: [(Int,Char)] |
|||
pairs = [(x,y) | x <- [0..10], y <- ['a'..'z']] |
|||
|
|||
backticks :: String |
|||
backticks = "`````" |
|||
````````````` |
|||
|
|||
Without an end: |
|||
|
|||
``` |
|||
code with |
|||
no end |
|||
|
@ -0,0 +1,22 @@ |
|||
<p>Indented code with two space indent in first and last line:</p> |
|||
<pre><code> two spaces *hello* |
|||
{ more } |
|||
|
|||
and |
|||
</code></pre> |
|||
<p>Indented code requires a leading/trailing blank line: |
|||
quick-command --option "$*"</p> |
|||
<p>Indented code does not require a trailing blank line:</p> |
|||
<pre><code>code |
|||
</code></pre> |
|||
<p>and not code.</p> |
|||
<p>Code in blockquote:</p> |
|||
<blockquote> |
|||
<pre><code>code |
|||
</code></pre> |
|||
</blockquote> |
|||
<p>Code in list:</p> |
|||
<ol> |
|||
<li><pre><code>code |
|||
</code></pre></li> |
|||
</ol> |
@ -0,0 +1,22 @@ |
|||
Indented code with two space indent in first and last line: |
|||
|
|||
two spaces *hello* |
|||
{ more } |
|||
|
|||
and |
|||
|
|||
Indented code requires a leading/trailing blank line: |
|||
quick-command --option "$*" |
|||
|
|||
Indented code does not require a trailing blank line: |
|||
|
|||
code |
|||
and not code. |
|||
|
|||
Code in blockquote: |
|||
|
|||
> code |
|||
|
|||
Code in list: |
|||
|
|||
1. code |
@ -0,0 +1,20 @@ |
|||
<pre><code>a |
|||
</code></pre> |
|||
<pre><code>z |
|||
</code></pre> |
|||
<pre><code>a |
|||
a |
|||
a |
|||
a |
|||
</code></pre> |
|||
<ul> |
|||
<li><p>foo</p> |
|||
<pre><code> Hello |
|||
|
|||
World |
|||
</code></pre></li> |
|||
</ul> |
|||
<blockquote> |
|||
<pre><code>a |
|||
</code></pre> |
|||
</blockquote> |
@ -0,0 +1,26 @@ |
|||
``` |
|||
a |
|||
``` |
|||
|
|||
``` |
|||
z |
|||
``` |
|||
|
|||
``` |
|||
a |
|||
a |
|||
a |
|||
a |
|||
``` |
|||
|
|||
* foo |
|||
|
|||
``` |
|||
Hello |
|||
|
|||
World |
|||
``` |
|||
|
|||
> ``` |
|||
>a |
|||
>``` |
@ -0,0 +1,22 @@ |
|||
<ul> |
|||
<li><pre><code>code starts here |
|||
</code></pre></li> |
|||
</ul> |
|||
<ol> |
|||
<li><p>foo</p> |
|||
<pre><code>code starts here |
|||
</code></pre></li> |
|||
<li><p>foo</p> |
|||
<pre><code>code starts here |
|||
</code></pre></li> |
|||
</ol> |
|||
<ul> |
|||
<li><p>foo</p> |
|||
<pre><code>code starts here |
|||
</code></pre> |
|||
<ul> |
|||
<li><p>foo</p> |
|||
<pre><code>code starts here |
|||
</code></pre></li> |
|||
</ul></li> |
|||
</ul> |
@ -0,0 +1,17 @@ |
|||
- code starts here |
|||
|
|||
1. foo |
|||
|
|||
code starts here |
|||
|
|||
2. foo |
|||
|
|||
code starts here |
|||
|
|||
- foo |
|||
|
|||
code starts here |
|||
|
|||
- foo |
|||
|
|||
code starts here |
@ -0,0 +1,13 @@ |
|||
<p>All of these are equivalent:</p> |
|||
<ul> |
|||
<li><code>*hi*</code></li> |
|||
<li><code>*hi*</code></li> |
|||
<li><code>*hi*</code></li> |
|||
<li><code>*hi*</code></li> |
|||
<li><code>*hi*</code></li> |
|||
</ul> |
|||
<p>Backticks in code spans:</p> |
|||
<ul> |
|||
<li><code>``code``</code></li> |
|||
<li><code>``code``</code></li> |
|||
</ul> |
@ -0,0 +1,13 @@ |
|||
All of these are equivalent: |
|||
|
|||
- `*hi*` |
|||
- ` *hi* ` |
|||
- ``*hi* `` |
|||
- ````*hi*```` |
|||
- `*hi* |
|||
` |
|||
|
|||
Backticks in code spans: |
|||
|
|||
- ``` ``code`` ``` |
|||
- ` ``code`` ` |
@ -0,0 +1,30 @@ |
|||
<ul> |
|||
<li><p>foo</p> |
|||
<ul> |
|||
<li><p>bar</p> |
|||
<pre><code>code1 |
|||
code2 |
|||
</code></pre> |
|||
<p>code?</p></li> |
|||
</ul></li> |
|||
<li><p>foo</p> |
|||
<ul> |
|||
<li><p>bar</p> |
|||
<pre><code>code1 |
|||
code2 |
|||
</code></pre></li> |
|||
</ul></li> |
|||
</ul> |
|||
<pre><code>code? |
|||
</code></pre> |
|||
<ul> |
|||
<li>foo |
|||
<ul> |
|||
<li><p>bar</p> |
|||
<pre><code>code1 |
|||
code2 |
|||
</code></pre></li> |
|||
</ul></li> |
|||
</ul> |
|||
<pre><code>code? |
|||
</code></pre> |
@ -0,0 +1,26 @@ |
|||
* foo |
|||
* bar |
|||
|
|||
code1 |
|||
code2 |
|||
|
|||
code? |
|||
|
|||
* foo |
|||
* bar |
|||
|
|||
code1 |
|||
code2 |
|||
|
|||
|
|||
code? |
|||
|
|||
* foo |
|||
* bar |
|||
|
|||
code1 |
|||
code2 |
|||
|
|||
|
|||
|
|||
code? |
@ -0,0 +1,7 @@ |
|||
<pre><code>ABC |
|||
|
|||
|
|||
|
|||
DEF |
|||
</code></pre> |
|||
<p>GHI</p> |
@ -0,0 +1,9 @@ |
|||
ABC |
|||
|
|||
|
|||
|
|||
DEF |
|||
|
|||
|
|||
|
|||
GHI |
@ -0,0 +1 @@ |
|||
<p><em>hi* there</em></p> |
@ -0,0 +1 @@ |
|||
*hi\* there* |
@ -0,0 +1,66 @@ |
|||
<ol> |
|||
<li><strong><em>test test</em></strong></li> |
|||
<li><strong><em>test test</em></strong></li> |
|||
<li><em>test <strong>test</strong></em></li> |
|||
<li><strong>test <em>test</em></strong></li> |
|||
<li><strong><em>test</em> test</strong></li> |
|||
<li><em><strong>test</strong> test</em></li> |
|||
<li><strong><em>test</em> test</strong></li> |
|||
<li><strong>test <em>test</em></strong></li> |
|||
<li><em>test <strong>test</strong></em></li> |
|||
<li><em>test <strong>test</strong></em></li> |
|||
<li><strong>test <em>test</em></strong></li> |
|||
<li><strong><em>test</em> test</strong></li> |
|||
<li><em><strong>test</strong> test</em></li> |
|||
<li><strong><em>test</em> test</strong></li> |
|||
<li><strong>test <em>test</em></strong></li> |
|||
<li><em>test <strong>test</strong></em></li> |
|||
</ol> |
|||
<p>Incorrect nesting:</p> |
|||
<ol> |
|||
<li>*test <strong>test* test</strong></li> |
|||
<li>_test <strong>test_ test</strong></li> |
|||
<li>**test <em>test</em>* test*</li> |
|||
<li>__test␣<em>test</em>_␣test_</li> |
|||
<li><em>test <em>test</em> test</em></li> |
|||
<li><em>test <em>test</em> test</em></li> |
|||
<li><strong>test <strong>test</strong> test</strong></li> |
|||
<li><strong>test <strong>test</strong> test</strong></li> |
|||
</ol> |
|||
<p>No emphasis:</p> |
|||
<ol> |
|||
<li>test* test *test</li> |
|||
<li>test** test **test</li> |
|||
<li>test_ test _test</li> |
|||
<li>test__ test __test</li> |
|||
</ol> |
|||
<p>Middle-word emphasis (asterisks):</p> |
|||
<ol> |
|||
<li><em>a</em>b</li> |
|||
<li>a<em>b</em></li> |
|||
<li>a<em>b</em>c</li> |
|||
<li><strong>a</strong>b</li> |
|||
<li>a<strong>b</strong></li> |
|||
<li>a<strong>b</strong>c</li> |
|||
</ol> |
|||
<p>Middle-word emphasis (underscore):</p> |
|||
<ol> |
|||
<li>_a_b</li> |
|||
<li>a_b_</li> |
|||
<li>a_b_c</li> |
|||
<li>__a__b</li> |
|||
<li>a__b__</li> |
|||
<li>a__b__c</li> |
|||
<li>my_precious_file.txt</li> |
|||
</ol> |
|||
<p>Tricky Cases:</p> |
|||
<ol> |
|||
<li>E**. <strong>Test</strong> TestTestTest</li> |
|||
<li>E**. <strong>Test</strong> Test Test Test</li> |
|||
</ol> |
|||
<p>Overlong emphasis:</p> |
|||
<p>Name: ____________<br /> |
|||
Organization: ____<br /> |
|||
Region/Country: __</p> |
|||
<p>_____Cut here_____</p> |
|||
<p>____Cut here____</p> |
@ -0,0 +1,69 @@ |
|||
1. ***test test*** |
|||
2. ___test test___ |
|||
3. *test **test*** |
|||
4. **test *test*** |
|||
5. ***test* test** |
|||
6. ***test** test* |
|||
7. ***test* test** |
|||
8. **test *test*** |
|||
9. *test **test*** |
|||
10. _test __test___ |
|||
11. __test _test___ |
|||
12. ___test_ test__ |
|||
13. ___test__ test_ |
|||
14. ___test_ test__ |
|||
15. __test _test___ |
|||
16. _test __test___ |
|||
|
|||
Incorrect nesting: |
|||
|
|||
1. *test **test* test** |
|||
2. _test __test_ test__ |
|||
3. **test *test** test* |
|||
4. __test _test__ test_ |
|||
5. *test *test* test* |
|||
6. _test _test_ test_ |
|||
7. **test **test** test** |
|||
8. __test __test__ test__ |
|||
|
|||
No emphasis: |
|||
|
|||
1. test* test *test |
|||
2. test** test **test |
|||
3. test_ test _test |
|||
4. test__ test __test |
|||
|
|||
Middle-word emphasis (asterisks): |
|||
|
|||
1. *a*b |
|||
2. a*b* |
|||
3. a*b*c |
|||
4. **a**b |
|||
5. a**b** |
|||
6. a**b**c |
|||
|
|||
Middle-word emphasis (underscore): |
|||
|
|||
1. _a_b |
|||
2. a_b_ |
|||
3. a_b_c |
|||
4. __a__b |
|||
5. a__b__ |
|||
6. a__b__c |
|||
7. my_precious_file.txt |
|||
|
|||
Tricky Cases: |
|||
|
|||
1. E**. **Test** TestTestTest |
|||
2. E**. **Test** Test Test Test |
|||
|
|||
Overlong emphasis: |
|||
|
|||
Name: ____________ |
|||
Organization: ____ |
|||
Region/Country: __ |
|||
|
|||
_____Cut here_____ |
|||
|
|||
____Cut here____ |
|||
|
@ -0,0 +1,24 @@ |
|||
<p>This input can take a long time to parse in some implementations.</p> |
|||
<p>*a |
|||
*a |
|||
*a |
|||
*a |
|||
*a |
|||
*a |
|||
*a |
|||
*a |
|||
*a |
|||
*a |
|||
*a |
|||
*a |
|||
*a |
|||
*a |
|||
*a |
|||
*a |
|||
*a |
|||
*a |
|||
*a |
|||
*a |
|||
*a |
|||
aaaaa</p> |
|||
<p><em>a</em><em>a</em>a<strong>a<em>a</em><em>a</em>a</strong>a<em>a</em><em>a</em>a<strong>a<em>a</em><em>a</em>a</strong>a<em>a</em><em>a</em>a<strong>a<em>a</em><em>a</em>a</strong>a<em>a</em><em>a</em>a<strong>a<em>a</em><em>a</em>a</strong>a<em>a</em><em>a</em>a<strong>a<em>a</em><em>a</em>a</strong>a<em>a</em><em>a</em>a<strong>a<em>a</em><em>a</em>a</strong>a<em>a</em><em>a</em>a<strong>a<em>a</em><em>a</em>a</strong>a<em>a</em><em>a</em>a<strong>a<em>a</em><em>a</em>a</strong>a<em>a</em><em>a</em>a<strong>a<em>a</em><em>a</em>a</strong>a<em>a</em><em>a</em>a<strong>a<em>a</em><em>a</em>a</strong>a<em>a</em><em>a</em>a<strong>a<em>a</em><em>a</em>a</strong>a<em>a</em><em>a</em>a<strong>a<em>a</em><em>a</em>a</strong>a<em>a</em><em>a</em>a<strong>a<em>a</em><em>a</em>a</strong>a<em>a</em><em>a</em>a<strong>a<em>a</em><em>a</em>a</strong>a<em>a</em><em>a</em>a<strong>a<em>a</em><em>a</em>a</strong>a<em>a</em><em>a</em>a<strong>a<em>a</em><em>a</em>a</strong>a<em>a</em><em>a</em>a<strong>a<em>a</em><em>a</em>a</strong>a<em>a</em><em>a</em>a<strong>a<em>a</em><em>a</em>a</strong>a<em>a</em><em>a</em>a<strong>a<em>a</em><em>a</em>a</strong>a<em>a</em><em>a</em>a<strong>a<em>a</em><em>a</em>a</strong>a<em>a</em><em>a</em>a<strong>a<em>a</em><em>a</em>a</strong>a<em>a</em><em>a</em>a<strong>a<em>a</em><em>a</em>a</strong>a<em>a</em><em>a</em>a<strong>a<em>a</em><em>a</em>a</strong>a<em>a</em><em>a</em>a<strong>a<em>a</em><em>a</em>a</strong>a<em>a</em><em>a</em>a<strong>a<em>a</em><em>a</em>a</strong>a<em>a</em><em>a</em>a<strong>a<em>a</em><em>a</em>a</strong>a<em>a</em><em>a</em>a<strong>a<em>a</em><em>a</em>a</strong>a<em>a</em><em>a</em>a**</p> |
@ -0,0 +1,26 @@ |
|||
This input can take a long time to parse in some implementations. |
|||
|
|||
*a |
|||
*a |
|||
*a |
|||
*a |
|||
*a |
|||
*a |
|||
*a |
|||
*a |
|||
*a |
|||
*a |
|||
*a |
|||
*a |
|||
*a |
|||
*a |
|||
*a |
|||
*a |
|||
*a |
|||
*a |
|||
*a |
|||
*a |
|||
*a |
|||
aaaaa |
|||
|
|||
*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**a*a** |
@ -0,0 +1,10 @@ |
|||
<p>Here is a _ that is <em>cool</em>.</p> |
|||
<p><em>Foo.</em></p> |
|||
<p><strong>Foo.</strong></p> |
|||
<p><strong><em>Foo.</em></strong></p> |
|||
<p><em>Foo</em>.</p> |
|||
<p><strong>Foo</strong>.</p> |
|||
<p><strong><em>Foo</em></strong>.</p> |
|||
<p><em>Foo</em>. <em>Foo</em>? <em>Foo</em>! <em>Foo</em>: <em>Foo</em>; (<em>Foo</em>)</p> |
|||
<p><strong>Foo</strong>. <strong>Foo</strong>? <strong>Foo</strong>! <strong>Foo</strong>: <strong>Foo</strong>; (<strong>Foo</strong>)</p> |
|||
<p><strong><em>Foo</em></strong>. <strong><em>Foo</em></strong>? <strong><em>Foo</em></strong>! <strong><em>Foo</em></strong>: <strong><em>Foo</em></strong>; (<strong><em>Foo</em></strong>)</p> |
@ -0,0 +1,19 @@ |
|||
Here is a _ that is _cool_. |
|||
|
|||
_Foo._ |
|||
|
|||
__Foo.__ |
|||
|
|||
___Foo.___ |
|||
|
|||
_Foo_. |
|||
|
|||
__Foo__. |
|||
|
|||
___Foo___. |
|||
|
|||
_Foo_. _Foo_? _Foo_! _Foo_: _Foo_; (_Foo_) |
|||
|
|||
__Foo__. __Foo__? __Foo__! __Foo__: __Foo__; (__Foo__) |
|||
|
|||
___Foo___. ___Foo___? ___Foo___! ___Foo___: ___Foo___; (___Foo___) |
@ -0,0 +1,18 @@ |
|||
<div> |
|||
<div> |
|||
*raw html* |
|||
</div> |
|||
</div> |
|||
<div> |
|||
<div> |
|||
<p><em>this is markdown</em></p> |
|||
</div> |
|||
</div> |
|||
<!-- comment |
|||
here --> |
|||
<!-- |
|||
<p><em>commented out markdown</em></p> |
|||
--> |
|||
<div> |
|||
* raw html with trailing space |
|||
</div> |
@ -0,0 +1,26 @@ |
|||
<div> |
|||
<div> |
|||
*raw html* |
|||
</div> |
|||
</div> |
|||
|
|||
<div> |
|||
<div> |
|||
|
|||
*this is markdown* |
|||
|
|||
</div> |
|||
</div> |
|||
|
|||
<!-- comment |
|||
here --> |
|||
|
|||
<!-- |
|||
|
|||
*commented out markdown* |
|||
|
|||
--> |
|||
|
|||
<div> |
|||
* raw html with trailing space |
|||
</div> |
@ -0,0 +1,8 @@ |
|||
<p><span>hi</span> |
|||
<span><code>hi</code></span> |
|||
<span class="foo bar" |
|||
title='whatever' blue=yes/> |
|||
Hello <!-- this |
|||
is a comment --> there. |
|||
A line<br />break. |
|||
<not a tag></p> |
@ -0,0 +1,8 @@ |
|||
<span>hi</span> |
|||
<span>`hi`</span> |
|||
<span class="foo bar" |
|||
title='whatever' blue=yes/> |
|||
Hello <!-- this |
|||
is a comment --> there. |
|||
A line<br />break. |
|||
<not a tag> |
@ -0,0 +1,4 @@ |
|||
<DIV> |
|||
this is a block |
|||
</DIV> |
|||
<p>Here is some <I>inline</I> html.</p> |
@ -0,0 +1,5 @@ |
|||
<DIV> |
|||
this is a block |
|||
</DIV> |
|||
|
|||
Here is some <I>inline</I> html. |
@ -0,0 +1,14 @@ |
|||
<h1>One</h1> |
|||
<h2>Two</h2> |
|||
<h3>Three</h3> |
|||
<h4>Four</h4> |
|||
<h5>Five</h5> |
|||
<h6>Six</h6> |
|||
<p>####### Seven</p> |
|||
<h3>Three with</h3> |
|||
<h2>Spacing doesn't matter</h2> |
|||
<h2>Escaped final #</h2> |
|||
<p>## Not a header</p> |
|||
<p>#5 not a header</p> |
|||
<h2></h2> |
|||
<p>(empty header)</p> |
@ -0,0 +1,20 @@ |
|||
# One |
|||
## Two |
|||
### Three |
|||
#### Four |
|||
##### Five |
|||
|
|||
###### Six |
|||
|
|||
####### Seven |
|||
|
|||
### Three with ### |
|||
## Spacing doesn't matter ## |
|||
## Escaped final \## |
|||
|
|||
\## Not a header |
|||
|
|||
#5 not a header |
|||
|
|||
## |
|||
(empty header) |
@ -0,0 +1,9 @@ |
|||
<h1>Level one</h1> |
|||
<h2>Two</h2> |
|||
<p>In a paragraph</p> |
|||
<h2>Level two</h2> |
|||
<p>more text</p> |
|||
<p>====== |
|||
no empty headers</p> |
|||
<p>not a header</p> |
|||
<hr /> |
@ -0,0 +1,17 @@ |
|||
Level one |
|||
========= |
|||
|
|||
Two |
|||
--- |
|||
|
|||
In a paragraph |
|||
|
|||
Level two |
|||
--------- |
|||
more text |
|||
|
|||
====== |
|||
no empty headers |
|||
|
|||
not a header |
|||
------------ ----- |
@ -0,0 +1,3 @@ |
|||
<p><a href="?}]*+|&)">silly URL with angle brackets</a>.</p> |
|||
<p><a href="url://with spaces" title="title">link</a>.</p> |
|||
<p><a href="url with spaces" title="title">link</a>.</p> |
@ -0,0 +1,7 @@ |
|||
[silly URL with angle brackets](<?}]*+|&)>). |
|||
|
|||
[link](<url://with spaces> "title"). |
|||
|
|||
[link][]. |
|||
|
|||
[link]: <url with spaces> "title" |
@ -0,0 +1,7 @@ |
|||
<p><a href="http://google.com?query=blah&time=15">http://google.com?query=blah&time=15</a> |
|||
<a href="mailto:someone.else@somedomain.com">someone.else@somedomain.com</a> |
|||
<a href="ftp://old.ftp.server.edu">ftp://old.ftp.server.edu</a> |
|||
<a href="git://some.git.repo/project.git">git://some.git.repo/project.git</a> |
|||
<not autolink> |
|||
<http://not.an autolink> |
|||
<relative/not/autolink></p> |
@ -0,0 +1,7 @@ |
|||
<http://google.com?query=blah&time=15> |
|||
<someone.else@somedomain.com> |
|||
<ftp://old.ftp.server.edu> |
|||
<git://some.git.repo/project.git> |
|||
<not autolink> |
|||
<http://not.an autolink> |
|||
<relative/not/autolink> |
@ -0,0 +1 @@ |
|||
<p><a href="/url">the right bracket character (<code>]</code>)</a></p> |
@ -0,0 +1 @@ |
|||
[the right bracket character (`]`)](/url) |
@ -0,0 +1 @@ |
|||
<p><a href="/url">Толпой</a> is a Russian word.</p> |
@ -0,0 +1,3 @@ |
|||
[Толпой] is a Russian word. |
|||
|
|||
[ТОЛПОЙ]: /url |
@ -0,0 +1,2 @@ |
|||
<p><a href="http://göögle.com">http://göögle.com</a></p> |
|||
<p><a href="/url" title="göögle & yahoo">hi</a></p> |
@ -0,0 +1,3 @@ |
|||
<http://göögle.com> |
|||
|
|||
[hi](/url "göögle & yahoo") |
@ -0,0 +1,10 @@ |
|||
<ol> |
|||
<li><a href="/url">link</a></li> |
|||
<li><a href="/url" title="title">link</a></li> |
|||
<li><a href="/url" title="title">link</a></li> |
|||
<li><a href="/url with spaces" title="title |
|||
with linebreak">link <em>with |
|||
linebreak</em></a>.</li> |
|||
<li><a href="/url(withparens)" title="and single quoted title">link</a></li> |
|||
<li>[not a link] (/url)</li> |
|||
</ol> |
@ -0,0 +1,9 @@ |
|||
1. [link](/url) |
|||
2. [link](/url "title") |
|||
3. [link](/url |
|||
"title") |
|||
4. [link *with |
|||
linebreak*](</url with spaces> "title |
|||
with linebreak"). |
|||
5. [link](/url(withparens) 'and single quoted title') |
|||
6. [not a link] (/url) |
@ -0,0 +1,6 @@ |
|||
<p><a href="/url(test)" title="title">Inline link 1 with parens</a>.</p> |
|||
<p><a href="/url(test)" title="title">Inline link 2 with parens</a>.</p> |
|||
<p><a href="/url(test)" title="title">Inline link 3 with non-escaped parens</a>.</p> |
|||
<p><a href="/url(test)" title="title">Inline link 4 with non-escaped parens</a>.</p> |
|||
<p><a href="/url(test)" title="title">Reference link 1 with parens</a>.</p> |
|||
<p><a href="/url(test)" title="title">Reference link 2 with parens</a>.</p> |
@ -0,0 +1,14 @@ |
|||
[Inline link 1 with parens](/url\(test\) "title"). |
|||
|
|||
[Inline link 2 with parens](</url\(test\)> "title"). |
|||
|
|||
[Inline link 3 with non-escaped parens](/url(test) "title"). |
|||
|
|||
[Inline link 4 with non-escaped parens](</url(test)> "title"). |
|||
|
|||
[Reference link 1 with parens][1]. |
|||
|
|||
[Reference link 2 with parens][2]. |
|||
|
|||
[1]: /url(test) "title" |
|||
[2]: </url(test)> "title" |
@ -0,0 +1,7 @@ |
|||
<ol> |
|||
<li><p><a href="/url" title="even in a list item">Link references</a> can be defined anywhere.</p></li> |
|||
</ol> |
|||
<blockquote> |
|||
<p><a href="/foo" title="can break |
|||
lines">another</a> one</p> |
|||
</blockquote> |
@ -0,0 +1,10 @@ |
|||
1. [Link references] can be defined anywhere. |
|||
|
|||
[Link references]: /url |
|||
(even in a list item) |
|||
|
|||
> [another] one |
|||
> |
|||
> [another]: |
|||
> /foo "can break |
|||
> lines" |
@ -0,0 +1,14 @@ |
|||
<ol> |
|||
<li><p>list item |
|||
code</p></li> |
|||
<li><p>list item</p> |
|||
<pre><code>code |
|||
</code></pre></li> |
|||
<li><pre><code>code |
|||
</code></pre></li> |
|||
<li><pre><code>code |
|||
</code></pre></li> |
|||
<li><pre><code>code |
|||
code |
|||
</code></pre></li> |
|||
</ol> |
@ -0,0 +1,18 @@ |
|||
1. list item |
|||
code |
|||
|
|||
2. list item |
|||
~~~ |
|||
code |
|||
~~~ |
|||
|
|||
3. ~~~ |
|||
code |
|||
~~~ |
|||
|
|||
4. ~~~ |
|||
code |
|||
~~~ |
|||
|
|||
5. code |
|||
code |
@ -0,0 +1,20 @@ |
|||
<ul> |
|||
<li>one</li> |
|||
<li>one</li> |
|||
</ul> |
|||
<ul> |
|||
<li>two</li> |
|||
<li>two</li> |
|||
</ul> |
|||
<ul> |
|||
<li>three</li> |
|||
<li>three</li> |
|||
</ul> |
|||
<ol> |
|||
<li>four</li> |
|||
<li>four</li> |
|||
</ol> |
|||
<ol> |
|||
<li>five</li> |
|||
<li>five</li> |
|||
</ol> |
@ -0,0 +1,10 @@ |
|||
* one |
|||
* one |
|||
+ two |
|||
+ two |
|||
- three |
|||
- three |
|||
1. four |
|||
1. four |
|||
1) five |
|||
1) five |
@ -0,0 +1,10 @@ |
|||
<ul> |
|||
<li>one</li> |
|||
<li></li> |
|||
<li>three</li> |
|||
</ul> |
|||
<ol> |
|||
<li>one</li> |
|||
<li></li> |
|||
<li>three</li> |
|||
</ol> |
@ -0,0 +1,7 @@ |
|||
- one |
|||
- |
|||
- three |
|||
|
|||
1. one |
|||
2. |
|||
3. three |
@ -0,0 +1,22 @@ |
|||
<blockquote> |
|||
<ul> |
|||
<li>tight</li> |
|||
<li>tight</li> |
|||
</ul> |
|||
</blockquote> |
|||
<blockquote> |
|||
<ul> |
|||
<li><p>loose</p></li> |
|||
<li><p>loose</p></li> |
|||
</ul> |
|||
</blockquote> |
|||
<blockquote> |
|||
<ul> |
|||
<li>one-item list</li> |
|||
</ul> |
|||
</blockquote> |
|||
<blockquote> |
|||
<ul> |
|||
<li>one-item list</li> |
|||
</ul> |
|||
</blockquote> |
@ -0,0 +1,12 @@ |
|||
> - tight |
|||
> - tight |
|||
|
|||
|
|||
> - loose |
|||
> |
|||
> - loose |
|||
|
|||
|
|||
> - one-item list |
|||
|
|||
> - one-item list |
@ -0,0 +1,22 @@ |
|||
<blockquote> |
|||
<ul> |
|||
<li><p>foo</p> |
|||
<p>bar</p></li> |
|||
</ul> |
|||
</blockquote> |
|||
<ul> |
|||
<li>one</li> |
|||
<li>two</li> |
|||
</ul> |
|||
<ul> |
|||
<li>one</li> |
|||
<li>two</li> |
|||
<li>three</li> |
|||
</ul> |
|||
<ul> |
|||
<li>one |
|||
<ul> |
|||
<li>two</li> |
|||
</ul></li> |
|||
<li>three</li> |
|||
</ul> |
@ -0,0 +1,17 @@ |
|||
> * foo |
|||
> |
|||
> bar |
|||
|
|||
|
|||
- one |
|||
- two |
|||
|
|||
|
|||
- one |
|||
- two |
|||
- three |
|||
|
|||
|
|||
- one |
|||
- two |
|||
- three |
@ -0,0 +1,7 @@ |
|||
<ul> |
|||
<li>item 1 |
|||
<ul> |
|||
<li>item 2</li> |
|||
</ul></li> |
|||
</ul> |
|||
<hr /> |
@ -0,0 +1,3 @@ |
|||
* item 1 |
|||
* item 2 |
|||
* * * * * |
@ -0,0 +1,6 @@ |
|||
<ol> |
|||
<li>item</li> |
|||
<li>item |
|||
Not header</li> |
|||
</ol> |
|||
<hr /> |
@ -0,0 +1,4 @@ |
|||
1. item |
|||
2. item |
|||
Not header |
|||
---------- |
@ -0,0 +1,56 @@ |
|||
<ol> |
|||
<li><p>First Item</p> |
|||
<ul> |
|||
<li><p>one</p> |
|||
<ul> |
|||
<li>two</li> |
|||
</ul></li> |
|||
<li><p>one</p> |
|||
<ul> |
|||
<li>two</li> |
|||
</ul></li> |
|||
</ul></li> |
|||
<li><p>Second Item</p> |
|||
<ul> |
|||
<li>one |
|||
<ul> |
|||
<li>two</li> |
|||
</ul></li> |
|||
</ul></li> |
|||
</ol> |
|||
<ul> |
|||
<li>one |
|||
<ul> |
|||
<li>two</li> |
|||
</ul></li> |
|||
</ul> |
|||
<ol> |
|||
<li><p>Third Item</p> |
|||
<ul> |
|||
<li>one |
|||
<ul> |
|||
<li>two</li> |
|||
</ul></li> |
|||
</ul></li> |
|||
</ol> |
|||
<ul> |
|||
<li>one |
|||
<ul> |
|||
<li>two</li> |
|||
</ul></li> |
|||
</ul> |
|||
<ol> |
|||
<li><p>Fourth Item</p> |
|||
<ul> |
|||
<li>one |
|||
<ul> |
|||
<li>two</li> |
|||
</ul></li> |
|||
</ul></li> |
|||
</ol> |
|||
<ul> |
|||
<li>one |
|||
<ul> |
|||
<li>two</li> |
|||
</ul></li> |
|||
</ul> |
@ -0,0 +1,37 @@ |
|||
1. First Item |
|||
|
|||
* one |
|||
* two |
|||
|
|||
* one |
|||
* two |
|||
|
|||
1. Second Item |
|||
|
|||
* one |
|||
* two |
|||
|
|||
|
|||
* one |
|||
* two |
|||
|
|||
1. Third Item |
|||
|
|||
* one |
|||
* two |
|||
|
|||
|
|||
|
|||
* one |
|||
* two |
|||
|
|||
1. Fourth Item |
|||
|
|||
* one |
|||
* two |
|||
|
|||
|
|||
|
|||
|
|||
* one |
|||
* two |
@ -0,0 +1,11 @@ |
|||
<ol start="4"> |
|||
<li>this list starts with 4.</li> |
|||
<li>and continues</li> |
|||
<li>the continuation number is irrelevant.</li> |
|||
</ol> |
|||
<ol start="2001"> |
|||
<li>a space odyssey</li> |
|||
</ol> |
|||
<ol> |
|||
<li>standard lists get no start attribute</li> |
|||
</ol> |
@ -0,0 +1,7 @@ |
|||
4. this list starts with 4. |
|||
5. and continues |
|||
1. the continuation number is irrelevant. |
|||
|
|||
2001) a space odyssey |
|||
|
|||
1. standard lists get no start attribute |
@ -0,0 +1,49 @@ |
|||
<p>Four levels:</p> |
|||
<ul> |
|||
<li>one |
|||
<ul> |
|||
<li>two |
|||
<ul> |
|||
<li>three |
|||
<ul> |
|||
<li>four</li> |
|||
</ul></li> |
|||
</ul></li> |
|||
</ul></li> |
|||
</ul> |
|||
<ol> |
|||
<li>one |
|||
<ol> |
|||
<li>two |
|||
<ol> |
|||
<li>three |
|||
<ol> |
|||
<li>four</li> |
|||
</ol></li> |
|||
</ol></li> |
|||
</ol></li> |
|||
</ol> |
|||
<ol> |
|||
<li>one |
|||
<ul> |
|||
<li>two |
|||
<ol> |
|||
<li>three |
|||
<ul> |
|||
<li>four</li> |
|||
</ul></li> |
|||
</ol></li> |
|||
</ul></li> |
|||
</ol> |
|||
<ul> |
|||
<li>one |
|||
<ul> |
|||
<li>two |
|||
<ol> |
|||
<li>three |
|||
<ol> |
|||
<li>four</li> |
|||
</ol></li> |
|||
</ol></li> |
|||
</ul></li> |
|||
</ul> |
@ -0,0 +1,24 @@ |
|||
Four levels: |
|||
|
|||
- one |
|||
- two |
|||
- three |
|||
- four |
|||
|
|||
|
|||
1. one |
|||
1. two |
|||
1. three |
|||
1. four |
|||
|
|||
|
|||
1) one |
|||
- two |
|||
1) three |
|||
- four |
|||
|
|||
|
|||
- one |
|||
- two |
|||
1. three |
|||
1) four |
@ -0,0 +1,49 @@ |
|||
<ol> |
|||
<li>tight</li> |
|||
</ol> |
|||
<ul> |
|||
<li>tight</li> |
|||
<li>list</li> |
|||
</ul> |
|||
<ul> |
|||
<li><p>loose</p></li> |
|||
<li><p>list</p></li> |
|||
</ul> |
|||
<ol> |
|||
<li>tight</li> |
|||
<li>list</li> |
|||
</ol> |
|||
<ol> |
|||
<li><p>loose</p></li> |
|||
<li><p>list</p></li> |
|||
</ol> |
|||
<ol> |
|||
<li><p>loose</p> |
|||
<ul> |
|||
<li>sublist</li> |
|||
</ul></li> |
|||
</ol> |
|||
<ol> |
|||
<li>tight |
|||
<ul> |
|||
<li>sublist</li> |
|||
</ul></li> |
|||
</ol> |
|||
<ul> |
|||
<li>tight |
|||
<blockquote> |
|||
<p>blockquote |
|||
and</p> |
|||
</blockquote> |
|||
<pre><code>code |
|||
</code></pre></li> |
|||
<li>tight</li> |
|||
</ul> |
|||
<ul> |
|||
<li>tight |
|||
<ul> |
|||
<li><p>with loose</p></li> |
|||
<li><p>sublist</p></li> |
|||
</ul></li> |
|||
<li>tight</li> |
|||
</ul> |
@ -0,0 +1,45 @@ |
|||
1. tight |
|||
|
|||
|
|||
- tight |
|||
- list |
|||
|
|||
|
|||
- loose |
|||
|
|||
- list |
|||
|
|||
|
|||
1. tight |
|||
2. list |
|||
|
|||
|
|||
1. loose |
|||
|
|||
2. list |
|||
|
|||
|
|||
1. loose |
|||
|
|||
- sublist |
|||
|
|||
|
|||
|
|||
1. tight |
|||
- sublist |
|||
|
|||
|
|||
- tight |
|||
> blockquote |
|||
and |
|||
``` |
|||
code |
|||
``` |
|||
- tight |
|||
|
|||
|
|||
- tight |
|||
- with loose |
|||
|
|||
- sublist |
|||
- tight |
@ -0,0 +1,32 @@ |
|||
<ul> |
|||
<li>tight I |
|||
<blockquote> |
|||
<p>bq</p> |
|||
</blockquote></li> |
|||
<li>tight I</li> |
|||
</ul> |
|||
<ul> |
|||
<li>tight II |
|||
<blockquote> |
|||
<p>bq</p> |
|||
</blockquote> |
|||
foo</li> |
|||
<li>tight II</li> |
|||
</ul> |
|||
<ol> |
|||
<li>Blank lines in bq don't break list |
|||
<blockquote> |
|||
<p>bq</p> |
|||
</blockquote></li> |
|||
<li>Should say (2) in output</li> |
|||
</ol> |
|||
<ul> |
|||
<li>Blank lines in bq don't break LI |
|||
<ul> |
|||
<li>item A |
|||
<blockquote> |
|||
<p>bq</p> |
|||
</blockquote></li> |
|||
<li>item B</li> |
|||
</ul></li> |
|||
</ul> |
@ -0,0 +1,25 @@ |
|||
* tight I |
|||
> bq |
|||
> |
|||
* tight I |
|||
|
|||
|
|||
* tight II |
|||
> bq |
|||
> |
|||
foo |
|||
* tight II |
|||
|
|||
1. Blank lines in bq don't break list |
|||
> bq |
|||
> |
|||
> |
|||
1. Should say (2) in output |
|||
|
|||
* Blank lines in bq don't break LI |
|||
* item A |
|||
> bq |
|||
> |
|||
> |
|||
* item B |
|||
|
@ -0,0 +1,7 @@ |
|||
<ul> |
|||
<li><p>foo</p> |
|||
<ul> |
|||
<li>bar</li> |
|||
</ul> |
|||
<p>blah</p></li> |
|||
</ul> |
@ -0,0 +1,4 @@ |
|||
* foo |
|||
* bar |
|||
|
|||
blah |
@ -0,0 +1,21 @@ |
|||
<ol> |
|||
<li><p>one</p></li> |
|||
<li><p>two</p></li> |
|||
</ol> |
|||
<ol> |
|||
<li>new list</li> |
|||
</ol> |
|||
<blockquote> |
|||
<ul> |
|||
<li><p>one</p></li> |
|||
<li><p>two</p></li> |
|||
</ul> |
|||
<ul> |
|||
<li>new list</li> |
|||
</ul> |
|||
</blockquote> |
|||
<ol> |
|||
<li>one</li> |
|||
</ol> |
|||
<pre><code>code |
|||
</code></pre> |
@ -0,0 +1,20 @@ |
|||
1. one |
|||
|
|||
2. two |
|||
|
|||
|
|||
1. new list |
|||
|
|||
|
|||
> - one |
|||
> |
|||
> - two |
|||
> |
|||
> |
|||
> - new list |
|||
|
|||
|
|||
1. one |
|||
|
|||
|
|||
code |
@ -0,0 +1,14 @@ |
|||
<p>*not emphasized* |
|||
\<em>emphasis</em> |
|||
**not bold** |
|||
<br/> not a tag |
|||
[link](/foo) not a link |
|||
<a href="/foo)" title="title"">link</a> |
|||
`not code`</p> |
|||
<p>1. not a list item</p> |
|||
<p>* not a list.</p> |
|||
<p># Not a header</p> |
|||
<p>[foo]: /url "not a reference"</p> |
|||
<p>$ ^ ; can be escaped. |
|||
\a \b \T cannot. |
|||
unicode letters and symbols cannot: \π \‥.</p> |
@ -0,0 +1,19 @@ |
|||
\*not emphasized* |
|||
\\*emphasis* |
|||
\*\*not bold** |
|||
\<br/> not a tag |
|||
\[link](/foo) not a link |
|||
[link](/foo\) "title\"") |
|||
\`not code` |
|||
|
|||
1\. not a list item |
|||
|
|||
\* not a list. |
|||
|
|||
\# Not a header |
|||
|
|||
\[foo]: /url "not a reference" |
|||
|
|||
\$ \^ \; can be escaped. |
|||
\a \b \T cannot. |
|||
unicode letters and symbols cannot: \π \‥. |
@ -0,0 +1,22 @@ |
|||
<blockquote> |
|||
<ol> |
|||
<li>one |
|||
two</li> |
|||
</ol> |
|||
</blockquote> |
|||
<p>Laziness only affects paragraph continuations:</p> |
|||
<blockquote> |
|||
<pre><code>code |
|||
</code></pre> |
|||
</blockquote> |
|||
<pre><code>not same code block |
|||
</code></pre> |
|||
<ol> |
|||
<li>hello</li> |
|||
</ol> |
|||
<hr /> |
|||
<blockquote> |
|||
<pre><code></code></pre> |
|||
</blockquote> |
|||
<p>code</p> |
|||
<pre><code></code></pre> |
@ -0,0 +1,14 @@ |
|||
> 1. one |
|||
> two |
|||
|
|||
Laziness only affects paragraph continuations: |
|||
|
|||
> code |
|||
not same code block |
|||
|
|||
1. hello |
|||
----- |
|||
|
|||
> ``` |
|||
code |
|||
``` |
@ -0,0 +1,11 @@ |
|||
<p>Two spaces<br /> |
|||
break a line. Or more than two<br /> |
|||
and spaces in the following line are absorbed.</p> |
|||
<p>You can also break lines with<br /> |
|||
a backslash.</p> |
|||
<p>Two spaces at the end of a paragraph are |
|||
not a line break.</p> |
|||
<p>A backslash at the end of a paragraph is |
|||
not a line break.\</p> |
|||
<h2>Similarly with setext headers</h2> |
|||
<h2>And with backslashes\</h2> |
@ -0,0 +1,18 @@ |
|||
Two spaces |
|||
break a line. Or more than two |
|||
and spaces in the following line are absorbed. |
|||
|
|||
You can also break lines with\ |
|||
a backslash. |
|||
|
|||
Two spaces at the end of a paragraph are |
|||
not a line break. |
|||
|
|||
A backslash at the end of a paragraph is |
|||
not a line break.\ |
|||
|
|||
Similarly with setext headers |
|||
------------------------------- |
|||
|
|||
And with backslashes\ |
|||
--------------------- |
@ -0,0 +1,26 @@ |
|||
<blockquote> |
|||
<p>blockquote</p> |
|||
<blockquote> |
|||
<p>blockquote</p> |
|||
</blockquote> |
|||
</blockquote> |
|||
<ol> |
|||
<li>list</li> |
|||
<li>list |
|||
<ul> |
|||
<li>sublist</li> |
|||
</ul></li> |
|||
</ol> |
|||
<hr /> |
|||
<p>paragraph</p> |
|||
<h2>header</h2> |
|||
<h3>header</h3> |
|||
<pre><code>code |
|||
</code></pre> |
|||
<pre><code>code |
|||
</code></pre> |
|||
<div> |
|||
<div> |
|||
# not a header |
|||
</div> |
|||
</div> |
@ -0,0 +1,20 @@ |
|||
> blockquote |
|||
> > blockquote |
|||
1. list |
|||
2. list |
|||
- sublist |
|||
* * * * * |
|||
paragraph |
|||
|
|||
header |
|||
------ |
|||
### header |
|||
code |
|||
``` |
|||
code |
|||
``` |
|||
<div> |
|||
<div> |
|||
# not a header |
|||
</div> |
|||
</div> |
Some files were not shown because too many files changed in this diff
Loading…
Reference in new issue