Re: Controlling table separators on per-row or per-cell basis

Posted by David Jencks on
URL: https://discuss.asciidoctor.org/Controlling-table-separators-on-per-row-or-per-cell-basis-tp8216p8217.html

I have no idea if either of these would actually work….

1. Since there’s support for table striping, it’s probably possible to use the same counting logic to make alternate row separators invisible using css

2. You might try nested tables, each 2 row section a subtable with no row separator, the outer table with row separators.

David Jencks

On Sep 3, 2020, at 8:11 PM, oddhack [via Asciidoctor :: Discussion] <[hidden email]> wrote:

I'd like to generate a table with two columns that overlap, since both columns can contain very long content. Something like this:

[width="100%",cols="25%,25%,25%,25%",grid=none]
|====
3+| *Col A* |
| 3+| *Col B*
4+a| '''
3+| This is a very long cell lorem ipsum lorem ipsum |
| 3+| This is also a very long cell ipsum lorem ipsum lorem
|====


However, I don't see how to specify row separators only every other row. Is there any way to do this in table markup? I tried to fake it using a row containing just an asciidoctor horizontal rule, but that doesn't quite work (connect to the table borders), and wastes vertical space.

(No, flowing the column text won't work - in actuality the content is an extremely long C structure.member name and the goal is to have it readable in the table without being broken up).

Jon




If you reply to this email, your message will be added to the discussion below:
https://discuss.asciidoctor.org/Controlling-table-separators-on-per-row-or-per-cell-basis-tp8216.html
To start a new topic under Asciidoctor :: Discussion, [hidden email]
To unsubscribe from Asciidoctor :: Discussion, click here.
NAML