mirror of
https://github.com/jgm/pandoc.git
synced 2026-09-28 18:35:49 +00:00
Together with the update in commonmark-hs and previous changes, this closes #7919.
119 lines
1.5 KiB
Markdown
119 lines
1.5 KiB
Markdown
```
|
|
% pandoc -f markdown
|
|
single column table |
|
|
------------------- |
|
|
item 1 |
|
|
item 2 |
|
|
^D
|
|
<table>
|
|
<thead>
|
|
<tr class="header">
|
|
<th>single column table</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr class="odd">
|
|
<td>item 1</td>
|
|
</tr>
|
|
<tr class="even">
|
|
<td>item 2</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
```
|
|
|
|
```
|
|
% pandoc -f markdown
|
|
| single column table
|
|
| -------------------
|
|
| item 1
|
|
| item 2
|
|
^D
|
|
<table>
|
|
<thead>
|
|
<tr class="header">
|
|
<th>single column table</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr class="odd">
|
|
<td>item 1</td>
|
|
</tr>
|
|
<tr class="even">
|
|
<td>item 2</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
```
|
|
|
|
```
|
|
% pandoc -f markdown
|
|
single column table
|
|
-------------------
|
|
item 1
|
|
item 2
|
|
^D
|
|
<h2 id="single-column-table">single column table</h2>
|
|
<p>item 1 item 2</p>
|
|
```
|
|
|
|
```
|
|
% pandoc -f gfm
|
|
single column table |
|
|
------------------- |
|
|
item 1 |
|
|
item 2 |
|
|
^D
|
|
<table>
|
|
<thead>
|
|
<tr class="header">
|
|
<th>single column table</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr class="odd">
|
|
<td>item 1</td>
|
|
</tr>
|
|
<tr class="even">
|
|
<td>item 2</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
```
|
|
|
|
```
|
|
% pandoc -f gfm
|
|
| single column table
|
|
| -------------------
|
|
| item 1
|
|
| item 2
|
|
^D
|
|
<table>
|
|
<thead>
|
|
<tr class="header">
|
|
<th>single column table</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr class="odd">
|
|
<td>item 1</td>
|
|
</tr>
|
|
<tr class="even">
|
|
<td>item 2</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
```
|
|
|
|
```
|
|
% pandoc -f gfm
|
|
single column table
|
|
-------------------
|
|
item 1
|
|
item 2
|
|
^D
|
|
<h2 id="single-column-table">single column table</h2>
|
|
<p>item 1 item 2</p>
|
|
```
|
|
|