mirror of
https://github.com/jgm/pandoc.git
synced 2026-09-01 05:05:53 +00:00
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`.
30 lines
872 B
Markdown
30 lines
872 B
Markdown
Nested grid tables.
|
|
```
|
|
% pandoc -f html -t markdown --columns=72
|
|
<table>
|
|
<tr>
|
|
<td>
|
|
<table>
|
|
<tr>
|
|
<td>
|
|
<table>
|
|
<tr>
|
|
<td>some text</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
^D
|
|
+---------------------------------------------------------------------------+
|
|
| +-----------------------------------------------------------------------+ |
|
|
| | ----------- | |
|
|
| | some text | |
|
|
| | ----------- | |
|
|
| +-----------------------------------------------------------------------+ |
|
|
+---------------------------------------------------------------------------+
|
|
```
|