Skip to content
This repository has been archived by the owner on Dec 28, 2022. It is now read-only.

Table stripes=none ignored #286

Open
HMKnapp opened this issue Feb 8, 2019 · 1 comment
Open

Table stripes=none ignored #286

HMKnapp opened this issue Feb 8, 2019 · 1 comment

Comments

@HMKnapp
Copy link

HMKnapp commented Feb 8, 2019

Description

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

  • Atom version: 1.34.0 x64
  • OS: Windows 10
  • asciidoc-preview version: 2.12.2
  • language-asciidoc version: 1.11.0

Screenshots

image

Syntax example

.Table
[stripes=none]
|===
| Something | Column
| Something | Column
|===
@mojavelinux
Copy link
Member

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}

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants