Files
Tuong Nguyen Manh 594f109956 asciidoc writer: Add more table features (#11267)
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.
2025-11-03 20:30:33 +01:00

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>!@#$%^&amp;*(){}|~?+-',."&lt;&gt;[]\`</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
|===