init
This commit is contained in:
17
vendor/cebe/markdown/tests/extra-data/fenced-code.html
vendored
Normal file
17
vendor/cebe/markdown/tests/extra-data/fenced-code.html
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
<pre><code>
|
||||
fenced code block
|
||||
|
||||
</code></pre>
|
||||
<pre><code>
|
||||
fenced with tildes
|
||||
|
||||
</code></pre>
|
||||
<pre><code>long fence
|
||||
|
||||
```
|
||||
code about code
|
||||
```
|
||||
|
||||
</code></pre>
|
||||
<pre><code class="html" id="test">fenced code block
|
||||
</code></pre>
|
||||
24
vendor/cebe/markdown/tests/extra-data/fenced-code.md
vendored
Normal file
24
vendor/cebe/markdown/tests/extra-data/fenced-code.md
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
```
|
||||
|
||||
fenced code block
|
||||
|
||||
```
|
||||
|
||||
~~~
|
||||
|
||||
fenced with tildes
|
||||
|
||||
~~~
|
||||
|
||||
``````````
|
||||
long fence
|
||||
|
||||
```
|
||||
code about code
|
||||
```
|
||||
|
||||
``````````
|
||||
|
||||
``` .html #test
|
||||
fenced code block
|
||||
```
|
||||
12
vendor/cebe/markdown/tests/extra-data/special-attributes.html
vendored
Normal file
12
vendor/cebe/markdown/tests/extra-data/special-attributes.html
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
<h1 id="header1">Header 1</h1>
|
||||
<h2 id="header2">Header 2</h2>
|
||||
<h2 class="main">The Site</h2>
|
||||
<h2 class="main shine" id="the-site">The Site</h2>
|
||||
<p><a href="url" id="id1" class="class">link</a>
|
||||
<img src="url" alt="img" id="id2" class="class" /></p>
|
||||
<p><a href="http://url.de/" title="optional title" id="id" class="class">link</a> or <a href="http://url.de/" title="optional title" id="id" class="class">linkref</a>
|
||||
<img src="http://url.de/" alt="img" title="optional title" id="id" class="class" /></p>
|
||||
<p>this is just normal text {.main .shine #the-site}</p>
|
||||
<p>some { brackets</p>
|
||||
<p>some } brackets</p>
|
||||
<p>some { } brackets</p>
|
||||
25
vendor/cebe/markdown/tests/extra-data/special-attributes.md
vendored
Normal file
25
vendor/cebe/markdown/tests/extra-data/special-attributes.md
vendored
Normal file
@@ -0,0 +1,25 @@
|
||||
Header 1 {#header1}
|
||||
========
|
||||
|
||||
## Header 2 ## {#header2}
|
||||
|
||||
## The Site ## {.main}
|
||||
|
||||
## The Site ## {.main .shine #the-site}
|
||||
|
||||
[link](url){#id1 .class}
|
||||
{#id2 .class}
|
||||
|
||||
|
||||
[link][linkref] or [linkref]
|
||||
![img][linkref]
|
||||
|
||||
[linkref]: http://url.de/ "optional title" {#id .class}
|
||||
|
||||
this is just normal text {.main .shine #the-site}
|
||||
|
||||
some { brackets
|
||||
|
||||
some } brackets
|
||||
|
||||
some { } brackets
|
||||
89
vendor/cebe/markdown/tests/extra-data/tables.html
vendored
Normal file
89
vendor/cebe/markdown/tests/extra-data/tables.html
vendored
Normal file
@@ -0,0 +1,89 @@
|
||||
<h2>Tables</h2>
|
||||
<table>
|
||||
<thead>
|
||||
<tr><th>First Header </th><th>Second Header</th></tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr><td>Content Cell </td><td>Content Cell</td></tr>
|
||||
<tr><td>Content Cell </td><td>Content Cell</td></tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<table>
|
||||
<thead>
|
||||
<tr><th>First Header </th><th>Second Header</th></tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr><td>Content Cell </td><td>Content Cell</td></tr>
|
||||
<tr><td>Content Cell </td><td>Content Cell</td></tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<table>
|
||||
<thead>
|
||||
<tr><th>Name </th><th>Description</th></tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr><td>Help </td><td>Display the help window.</td></tr>
|
||||
<tr><td>Close </td><td>Closes a window</td></tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<table>
|
||||
<thead>
|
||||
<tr><th>Name </th><th>Description</th></tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr><td>Help </td><td><strong>Display the</strong> help window.</td></tr>
|
||||
<tr><td>Close </td><td><em>Closes</em> a window</td></tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<table>
|
||||
<thead>
|
||||
<tr><th>Default-Align </th><th align="left">Left-Aligned </th><th align="center">Center Aligned </th><th align="right">Right Aligned</th></tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr><td>1 </td><td align="left">col 3 is </td><td align="center">some wordy text </td><td align="right">$1600</td></tr>
|
||||
<tr><td>2 </td><td align="left">col 2 is </td><td align="center">centered </td><td align="right"> $12</td></tr>
|
||||
<tr><td>3 </td><td align="left">zebra stripes </td><td align="center">are neat </td><td align="right"> $1</td></tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<table>
|
||||
<thead>
|
||||
<tr><th>Simple </th><th>Table</th></tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr><td>1 </td><td>2</td></tr>
|
||||
<tr><td>3 </td><td>4</td></tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<table>
|
||||
<thead>
|
||||
<tr><th>Simple </th><th>Table</th></tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr><td>1 </td><td>2</td></tr>
|
||||
<tr><td>3 </td><td>4</td></tr>
|
||||
<tr><td>3 </td><td>4 |</td></tr>
|
||||
<tr><td>3 </td><td>4 \</td></tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<p>Check https://github.com/erusev/parsedown/issues/184 for the following:</p>
|
||||
<table>
|
||||
<thead>
|
||||
<tr><th>Foo </th><th>Bar </th><th>State</th></tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr><td><code>Code | Pipe</code> </td><td>Broken </td><td>Blank</td></tr>
|
||||
<tr><td><code>Escaped Code \| Pipe</code> </td><td>Broken </td><td>Blank</td></tr>
|
||||
<tr><td>Escaped | Pipe </td><td>Broken </td><td>Blank</td></tr>
|
||||
<tr><td>Escaped \</td><td>Pipe </td><td>Broken </td><td>Blank</td></tr>
|
||||
<tr><td>Escaped \ </td><td>Pipe </td><td>Broken </td><td>Blank</td></tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<table>
|
||||
<thead>
|
||||
<tr><th align="left">Simple </th><th>Table</th></tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr><td align="left">3 </td><td>4</td></tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<p>3 | 4</p>
|
||||
56
vendor/cebe/markdown/tests/extra-data/tables.md
vendored
Normal file
56
vendor/cebe/markdown/tests/extra-data/tables.md
vendored
Normal file
@@ -0,0 +1,56 @@
|
||||
Tables
|
||||
------
|
||||
|
||||
First Header | Second Header
|
||||
------------- | -------------
|
||||
Content Cell | Content Cell
|
||||
Content Cell | Content Cell
|
||||
|
||||
| First Header | Second Header |
|
||||
| ------------- | ------------- |
|
||||
| Content Cell | Content Cell |
|
||||
| Content Cell | Content Cell |
|
||||
|
||||
| Name | Description |
|
||||
| ------------- | ----------- |
|
||||
| Help | Display the help window.|
|
||||
| Close | Closes a window |
|
||||
|
||||
| Name | Description |
|
||||
| ------------- | ----------- |
|
||||
| Help | **Display the** help window.|
|
||||
| Close | _Closes_ a window |
|
||||
|
||||
| Default-Align | Left-Aligned | Center Aligned | Right Aligned |
|
||||
| ------------- | :------------ |:---------------:| -----:|
|
||||
| 1 | col 3 is | some wordy text | $1600 |
|
||||
| 2 | col 2 is | centered | $12 |
|
||||
| 3 | zebra stripes | are neat | $1 |
|
||||
|
||||
|
||||
Simple | Table
|
||||
------ | -----
|
||||
1 | 2
|
||||
3 | 4
|
||||
|
||||
| Simple | Table |
|
||||
| ------ | ----- |
|
||||
| 1 | 2 |
|
||||
| 3 | 4 |
|
||||
| 3 | 4 \|
|
||||
| 3 | 4 \\|
|
||||
|
||||
Check https://github.com/erusev/parsedown/issues/184 for the following:
|
||||
|
||||
Foo | Bar | State
|
||||
------ | ------ | -----
|
||||
`Code | Pipe` | Broken | Blank
|
||||
`Escaped Code \| Pipe` | Broken | Blank
|
||||
Escaped \| Pipe | Broken | Blank
|
||||
Escaped \\| Pipe | Broken | Blank
|
||||
Escaped \\ | Pipe | Broken | Blank
|
||||
|
||||
| Simple | Table |
|
||||
| :----- | ----- |
|
||||
| 3 | 4 |
|
||||
3 | 4
|
||||
8
vendor/cebe/markdown/tests/extra-data/test_precedence.html
vendored
Normal file
8
vendor/cebe/markdown/tests/extra-data/test_precedence.html
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
<p>Not a headline but a code block:</p>
|
||||
<pre><code>---
|
||||
</code></pre>
|
||||
<p>Not a headline but two HR:</p>
|
||||
<hr />
|
||||
<hr />
|
||||
<hr />
|
||||
<hr />
|
||||
14
vendor/cebe/markdown/tests/extra-data/test_precedence.md
vendored
Normal file
14
vendor/cebe/markdown/tests/extra-data/test_precedence.md
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
Not a headline but a code block:
|
||||
|
||||
```
|
||||
---
|
||||
```
|
||||
|
||||
Not a headline but two HR:
|
||||
|
||||
***
|
||||
---
|
||||
|
||||
---
|
||||
***
|
||||
|
||||
Reference in New Issue
Block a user