mirror of
https://github.com/jgm/pandoc.git
synced 2026-07-12 12:27:21 +00:00
594f109956
This adds the following table features: - row span and column span - footer row - individual horizontal cell alignment [API change] T.P.Writers.Shared: Add functions `allRowsEmpty` and `tableBodiesToRows` from the RST writer for reuse in other writers. Also fix hlint warning about `unzip` from `NonEmpty`: The exported polymorphic function will become monomorphic in the future. Restrict the `NonEmpty` import to use the Prelude `unzip` function.
787 B
787 B
% pandoc -f docbook -t asciidoc
<informaltable frame="all" rowsep="1" colsep="1">
<tgroup cols="1">
<thead>
<row>
<entry align="left" valign="top">h1</entry>
<entry align="left" valign="top">h2</entry>
</row>
</thead>
<tbody>
<row>
<entry align="left" valign="top">
<simpara>!@#$%^&*(){}|~?+-',."<>[]\`</simpara>
</entry>
<entry align="left" valign="top">
<simpara>col 2</simpara>
</entry>
</row>
</tbody>
</tgroup>
</informaltable>
^D
[cols=",",options="header",]
|===
<|h1 <|h2
<|!@#$%^&++*++()++{++}{vbar}~?{plus}-',."++<>[]\`++ <|col 2
|===