Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use pandocTableZebraLight and pandocTableZebraDark #184

Open
snoblenet opened this issue Apr 24, 2017 · 0 comments
Open

How to use pandocTableZebraLight and pandocTableZebraDark #184

snoblenet opened this issue Apr 24, 2017 · 0 comments

Comments

@snoblenet
Copy link

Hi there,

vim-colors-solarized colours two higlight groups that sound like just what I need: pandocTableZebraLight and pandocTableZebraDark.

To test them, I created a pandoc file (confirmed with echo &filetype) and pasted in the sample grid table from the pandoc manual:

: Sample grid table.

+---------------+---------------+--------------------+
| Fruit         | Price         | Advantages         |
+===============+===============+====================+
| Bananas       | $1.34         | - built-in wrapper |
|               |               | - bright color     |
+---------------+---------------+--------------------+
| Oranges       | $2.10         | - cures scurvy     |
|               |               | - tasty            |
+---------------+---------------+--------------------+

The table looks like this, with no zebra striping:

image

I've confirmed that the highlight commands are being read into the file:

:highlight pandocTableZebraLight
pandocTableZebraLight xxx ctermfg=4 ctermbg=15
:highlight pandocTableZebraDark
pandocTableZebraDark xxx ctermfg=4 ctermbg=7

But I can't find how or where each row is meant to be defined as pandocTableZebraLight and pandocTableZebraDark in the first place. Certainly not in vim-pandoc or vim-pandoc-syntax, which I both have. And not in a code search of all of GitHub.

Can you advise which package you had in mind which was automatically setting alternating rows to pandocTableZebraLight and pandocTableZebraDark?

Many thanks.

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

No branches or pull requests

1 participant