demydd / pandoc

Automatically exported from code.google.com/p/pandoc
0 stars 0 forks source link

alternating table row colours for HTML #91

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
It would be nice if the HTML writer generated source such that you could
style table rows to have alternating colours.  I believe the standard trick
is to give odd rows class="d1" and even rows class="d2" (or whatever). 
Then it's up to the CSS to do something with it.

Original issue reported on code.google.com by noval...@gmail.com on 9 Oct 2008 at 11:17

GoogleCodeExporter commented 8 years ago
Good suggestion.  I plan to implement this (with tr classes "even" and "odd").

Original comment by fiddloso...@gmail.com on 16 Oct 2008 at 5:21

GoogleCodeExporter commented 8 years ago

Original comment by fiddloso...@gmail.com on 16 Oct 2008 at 5:21

GoogleCodeExporter commented 8 years ago
Resolved in r1467.  The header row is styled with class="header", and then
rows alternate class="odd" and class="even".

Original comment by fiddloso...@gmail.com on 18 Oct 2008 at 11:15