mirror of
https://github.com/jgm/pandoc.git
synced 2026-07-11 11:57:16 +00:00
635b6e3953
This allows to specify a table foot by enclosing it with part separator
lines, i.e., row separator lines consisting only of `+` and `=`
characters. E.g.:
+------+-------+
| Item | Price |
+======+=======+
| Eggs | 5£ |
+------+-------+
| Spam | 3£ |
+======+=======+
| Sum | 8£ |
+======+=======+
The last row, containing "Sum" and "8£", is the table foot.
Closes: #8257
565 B
565 B
% pandoc -f markdown -t html5
+------+-------+
| Item | Price |
+======+=======+
| Eggs | 5£ |
+------+-------+
| Spam | 3£ |
+======+=======+
| Sum | 8£ |
+======+=======+
^D
<table style="width:21%;">
<colgroup>
<col style="width: 9%" />
<col style="width: 11%" />
</colgroup>
<thead>
<tr class="header">
<th>Item</th>
<th>Price</th>
</tr>
</thead>
<tbody>
<tr class="odd">
<td>Eggs</td>
<td>5£</td>
</tr>
<tr class="even">
<td>Spam</td>
<td>3£</td>
</tr>
</tbody><tfoot>
<tr class="odd">
<td>Sum</td>
<td>8£</td>
</tr>
</tfoot>
</table>