asciidoctor / atom-asciidoc-preview

⚛ AsciiDoc preview for the Atom editor.
https://atom.io/packages/asciidoc-preview
MIT License
141 stars 42 forks source link

Table stripes=none ignored #286

Open HMKnapp opened 5 years ago

HMKnapp commented 5 years ago

Description

Table with stripes=none still has stripes in preview window. https://asciidoctor.org/docs/user-manual/#striping

Screenshots

image

Syntax example

.Table
[stripes=none]
|===
| Something | Column
| Something | Column
|===
mojavelinux commented 5 years ago

Here's the relevant CSS from the default stylesheet to import:

table.stripes-all tr,table.stripes-odd tr:nth-of-type(odd){background:#f8f8f7}
table.stripes-none tr,table.stripes-odd tr:nth-of-type(even){background:none}