mirror of
https://github.com/erusev/parsedown.git
synced 2023-08-10 21:13:06 +03:00
resolve #154
This commit is contained in:
parent
d841003c65
commit
6081954185
@ -86,6 +86,7 @@ class Parsedown
|
|||||||
'7' => array('List'),
|
'7' => array('List'),
|
||||||
'8' => array('List'),
|
'8' => array('List'),
|
||||||
'9' => array('List'),
|
'9' => array('List'),
|
||||||
|
':' => array('Table'),
|
||||||
'<' => array('Markup'),
|
'<' => array('Markup'),
|
||||||
'=' => array('Setext'),
|
'=' => array('Setext'),
|
||||||
'>' => array('Quote'),
|
'>' => array('Quote'),
|
||||||
|
18
tests/data/aesthetic_table.html
Normal file
18
tests/data/aesthetic_table.html
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
<table>
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th>header 1</th>
|
||||||
|
<th>header 2</th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td>cell 1.1</td>
|
||||||
|
<td>cell 1.2</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>cell 2.1</td>
|
||||||
|
<td>cell 2.2</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
4
tests/data/aesthetic_table.md
Normal file
4
tests/data/aesthetic_table.md
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
| header 1 | header 2 |
|
||||||
|
| -------- | -------- |
|
||||||
|
| cell 1.1 | cell 1.2 |
|
||||||
|
| cell 2.1 | cell 2.2 |
|
@ -16,3 +16,22 @@
|
|||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
<hr />
|
||||||
|
<table>
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th align="left">header 1</th>
|
||||||
|
<th>header 2</th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td align="left">cell 1.1</td>
|
||||||
|
<td>cell 1.2</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td align="left">cell 2.1</td>
|
||||||
|
<td>cell 2.2</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
@ -1,4 +1,11 @@
|
|||||||
| header 1 | header 2 |
|
header 1 | header 2
|
||||||
| -------- | -------- |
|
-------- | --------
|
||||||
| cell 1.1 | cell 1.2 |
|
cell 1.1 | cell 1.2
|
||||||
| cell 2.1 | cell 2.2 |
|
cell 2.1 | cell 2.2
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
header 1 | header 2
|
||||||
|
:------- | --------
|
||||||
|
cell 1.1 | cell 1.2
|
||||||
|
cell 2.1 | cell 2.2
|
Loading…
x
Reference in New Issue
Block a user