mirror of
https://github.com/jgm/pandoc.git
synced 2026-07-11 11:57:16 +00:00
01257ef6eb
This handles row and colspans. Partially addresses #6344. It also ensures that cells won't wrap text in places where it wouldn't normally wrap, even if this means making the cells wider than requested by the colspec. (Closes #9001. Closes 7641.) Parameters are different, so this is a breaking [API change]. Markdown, RST, and Muse writers have been adjusted to use the new `gridTable`.
1.6 KiB
1.6 KiB
% pandoc -f html -t rst
<html>
<body>
<ul>
<li>A list of stuff with a table inside
<table>
<thead>
<tr>
<th>First</th><th>Second</th><th>Third</th>
</tr>
</thead>
<tbody>
<tr>
<td>First</td>
<td>
The big long table cell.
The big long table cell.
The big long table cell.
The big long table cell.
The big long table cell.
The big long table cell.
The big long table cell.
The big long table cell.
The big long table cell.
The big long table cell.
</td>
<td>Third</td>
</tr>
</tbody>
</table>
</li>
<li>Another list item</li>
</ul>
</body>
</html>
^D
- A list of stuff with a table inside
+-------+------------------------------------------------------+-------+
| First | Second | Third |
+=======+======================================================+=======+
| First | The big long table cell. The big long table cell. | Third |
| | The big long table cell. The big long table cell. | |
| | The big long table cell. The big long table cell. | |
| | The big long table cell. The big long table cell. | |
| | The big long table cell. The big long table cell. | |
+-------+------------------------------------------------------+-------+
- Another list item