mirror of
https://github.com/jgm/pandoc.git
synced 2026-07-10 19:37:12 +00:00
cd15313216
Pandoc used to emit a `header` class on the `tr` element that forms the table header. This is no longer needed, because `head > tr` will do the same thing. Similarly, pandoc used to emit `even` and `odd` classes on `tr`s, allowing striped styling. This is no longer needed, because one can use e.g. `tbody tr:nth-child(2n)`. We now omit these classes, which have a good chance of conflicting with classes used for other things. Closes #9325.
500 B
500 B
% pandoc -f rst -t html
.. csv-table:: Changes
:header: "Version", "Date", "Description"
:widths: 15, 15, 70
:delim: $
0.1.0 $ 18/02/2013 $ Initial Release
^D
<table>
<caption>Changes</caption>
<colgroup>
<col style="width: 15%" />
<col style="width: 15%" />
<col style="width: 70%" />
</colgroup>
<thead>
<tr>
<th>Version</th>
<th>Date</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td>0.1.0</td>
<td>18/02/2013</td>
<td>Initial Release</td>
</tr>
</tbody>
</table>