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

Add support for alternating line highlights? #63

Open
darrenkenny opened this issue Nov 20, 2017 · 1 comment
Open

Add support for alternating line highlights? #63

darrenkenny opened this issue Nov 20, 2017 · 1 comment
Labels
Milestone

Comments

@darrenkenny
Copy link

In GUIs and WebUIs it is common for table-like output for have each alternative row highlighted by a different color for odd and even rows, making tabled output more readable, e.g.:

https://www.w3.org/Style/Examples/007/evenodd.en.html

Unfortunately, given that the output is split, and transformed per-line, there is no way to write an RE, or otherwise to handle this in rainbow.

Would it be possible to add support for something like this? Either by making the odd/even something that could be handled in a configuration file, or by supporting it as a suffix/prefix to some options?

Thanks,

Darren.

@nicoulaj
Copy link
Owner

Related: #2

@nicoulaj nicoulaj added this to the 3.0 milestone Sep 29, 2018
@nicoulaj nicoulaj mentioned this issue Apr 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants