first commit

This commit is contained in:
2026-01-25 18:18:09 +08:00
commit 509312e604
8136 changed files with 2349298 additions and 0 deletions

View File

@ -0,0 +1,82 @@
<ol>
<li><p>foo</p>
<pre><code>```
bar
blah
foo
```
</code></pre>
</li>
</ol>
<hr />
<ol>
<li><p>foo</p>
<pre><code> bar
blah
foo
</code></pre>
</li>
</ol>
<hr />
<ol>
<li><p>foo</p>
<pre><code> bar
blah
foo
</code></pre>
</li>
</ol>
<hr />
<ol>
<li><p>foo</p>
<pre><code> bar
blah
foo
</code></pre>
</li>
</ol>
<hr />
<ol>
<li><p>foo</p>
<pre><code>bar
blah
foo
</code></pre>
</li>
</ol>
<pre><code>foo
bar
</code></pre>
<pre><code>foo
bar
</code></pre>
<pre><code>foo
bar
</code></pre>
<pre><code>foo
bar
</code></pre>
<pre><code>foo
bar
</code></pre>
<pre><code>foo
bar
```
</code></pre>

View File

@ -0,0 +1,94 @@
1. foo
```
bar
blah
foo
```
----
1. foo
```
bar
blah
foo
```
----
1. foo
```
bar
blah
foo
```
----
1. foo
```
bar
blah
foo
```
----
1. foo
```
bar
blah
foo
```
```
foo
bar
```
```
foo
bar
```
```
foo
bar
```
```
foo
bar
```
```
foo
bar
```
```
foo
bar
```

View 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>

View File

@ -0,0 +1,24 @@
```
fenced code block
```
~~~
fenced with tildes
~~~
``````````
long fence
```
code about code
```
``````````
``` .html #test
fenced code block
```

View File

@ -0,0 +1,8 @@
<h2>Non-tables</h2>
<p>This line contains two pipes but is not a table. [[yii\widgets\DetailView|DetailView]] widget displays the details of a single data [[yii\widgets\DetailView::$model|model]].</p>
<p>the line above contains a space.</p>
<p>looks | like | head
-:</p>
<p>looks | like | head
-:
a</p>

View File

@ -0,0 +1,13 @@
Non-tables
----------
This line contains two pipes but is not a table. [[yii\widgets\DetailView|DetailView]] widget displays the details of a single data [[yii\widgets\DetailView::$model|model]].
the line above contains a space.
looks | like | head
-:
looks | like | head
-:
a

View 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>

View File

@ -0,0 +1,25 @@
Header 1 {#header1}
========
## Header 2 ## {#header2}
## The Site ## {.main}
## The Site ## {.main .shine #the-site}
[link](url){#id1 .class}
![img](url){#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

View File

@ -0,0 +1,219 @@
<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>
<tr><td align="left">3</td><td>4</td></tr>
<tr><td align="left">5</td></tr>
</tbody>
</table>
<table>
<thead>
<tr><th>Mixed</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>Mixed</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>Mixed</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>
<p>some text</p>
<table>
<thead>
<tr><th>single col</th></tr>
</thead>
<tbody>
<tr><td>1</td></tr>
<tr><td>2</td></tr>
<tr><td>3</td></tr>
</tbody>
</table>
<table>
<thead>
<tr><th>Table</th><th>With</th><th>Empty</th><th>Cells</th></tr>
</thead>
<tbody>
<tr><td></td><td></td><td></td><td></td></tr>
<tr><td>a</td><td></td><td>b</td><td></td></tr>
<tr><td></td><td>a</td><td></td><td>b</td></tr>
<tr><td>a</td><td></td><td></td><td>b</td></tr>
<tr><td></td><td>a</td><td>b</td><td></td></tr>
</tbody>
</table>
<table>
<thead>
<tr><th></th></tr>
</thead>
<tbody>
<tr><td></td></tr>
</tbody>
</table>
<table>
<thead>
<tr><th></th><th></th></tr>
</thead>
<tbody>
<tr><td></td><td></td></tr>
</tbody>
</table>
<table>
<thead>
<tr><th>Table</th><th>Indentation</th></tr>
</thead>
<tbody>
<tr><td>A</td><td>B</td></tr>
</tbody>
</table>
<table>
<thead>
<tr><th>Table</th><th>Indentation</th></tr>
</thead>
<tbody>
<tr><td>A</td><td>B</td></tr>
</tbody>
</table>
<table>
<thead>
<tr><th>Table</th><th>Indentation</th></tr>
</thead>
<tbody>
<tr><td>A</td><td>B</td></tr>
</tbody>
</table>
<pre><code>| Table | Indentation |
</code></pre>
<p> | ----- | ---- |
| A | B |</p>
<table>
<thead>
<tr><th align="left">Table</th><th>Indentation</th></tr>
</thead>
<tbody>
</tbody>
</table>
<pre><code>| A | B |
</code></pre>
<table>
<thead>
<tr><th>Item</th><th align="right">Value</th></tr>
</thead>
<tbody>
<tr><td>Computer</td><td align="right">$1600</td></tr>
<tr><td>Phone</td><td align="right">$12</td></tr>
<tr><td>Pipe</td><td align="right">$1</td></tr>
</tbody>
</table>
<table>
<thead>
<tr><th align="center">a</th><th align="center">b</th><th align="center">c</th></tr>
</thead>
<tbody>
<tr><td align="center">1</td><td align="center">2</td><td align="center">3</td></tr>
</tbody>
</table>
<table>
<thead>
<tr><th align="left">a</th><th align="center">b</th><th align="left">c</th><th align="center">d</th></tr>
</thead>
<tbody>
<tr><td align="left">1</td><td align="center">2</td><td align="left">3</td><td align="center">4</td></tr>
</tbody>
</table>

View File

@ -0,0 +1,130 @@
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
5
Mixed | Table
------ | -----
| 1 | 2
3 | 4
| Mixed | Table
------ | -----
| 1 | 2
3 | 4
Mixed | Table
|------ | ----- |
1 | 2
| 3 | 4 |
some text
| single col |
| -- | -- |
| 1 |
2
3
| Table | With | Empty | Cells |
| ----- | ---- | ----- | ----- |
| | | | |
| a | | b | |
| | a | | b |
| a | | | b |
| | a | b | |
|
-- | --
|
| | |
| - | - |
| | |
| Table | Indentation |
| ----- | ---- |
| A | B |
| Table | Indentation |
| ----- | ---- |
| A | B |
| Table | Indentation |
| ----- | ---- |
| A | B |
| Table | Indentation |
| ----- | ---- |
| A | B |
| Table | Indentation |
| :----- | ---- |
| A | B |
| Item | Value |
| --------- | -----:|
| Computer | $1600 |
| Phone | $12 |
| Pipe | $1 |
| a | b | c |
|:-:|:-:|:-:|
| 1 | 2 | 3 |
| a | b | c | d |
|:--|:-:|:--|:-:|
| 1 | 2 | 3 | 4 |

View 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 />

View File

@ -0,0 +1,14 @@
Not a headline but a code block:
```
---
```
Not a headline but two HR:
***
---
---
***