pub enum Stripes {
None,
Even,
Odd,
All,
Hover,
}Expand description
The zebra striping applied to the rows of a TableBlock.
Striping shades the specified rows with a background color to create a zebra
effect. It is set with the stripes attribute on the table (or,
document-wide, the table-stripes attribute). The default is
None.
Under the covers, a converter applies the CSS class stripes-<value> to the
table; the actual shading depends on the stylesheet. As a shorthand, the
same class can be applied directly with a role (e.g. [.stripes-even])
rather than the stripes attribute. A role does not set this value (see
TableBlock::stripes).
An unrecognized value falls back to None. (Asciidoctor
instead passes an unrecognized value straight through to a CSS class, which
the stylesheet ignores; this parser models only the five documented values.)
Variants§
None
No rows are shaded (the none value). This is the default.
Even
Even rows are shaded (the even value).
Odd
Odd rows are shaded (the odd value).
All
All rows are shaded (the all value).
Hover
The row under the mouse cursor is shaded (the hover value). This has
an effect only in HTML output.