Table row highlights - switch off for certain tables
dragonattheend opened this issue · comments
Thanks a lot for your work!
I'm using your package, my YAML is
output:
xaringan::moon_reader:
css: xaringan-themer.css
nature:
# slideNumberFormat: "%current%"
highlightStyle: github
highlightLines: true
ratio: 16:9
countIncrementalSlides: true
And themer setting is
library(xaringanthemer)
style_duo_accent(
primary_color = "#1381B0",
secondary_color = "#FF961C",
inverse_header_color = "#FFFFFF"
)
I have some markdown and stargazer tables in my presentation.
I see that every other row gets highlighted in any table.
While I'm okay with it in some tables, I'd like to remove it for the stargazer
regression tables.
stargazer(lm.1, lm.2, type = "html", single.row = TRUE)
where I want to highlight a 1 certain row and leave others unformatted.
I'm not sure how helpful it will be for you, but the table shading can now be turned off by adding the table-unshaded
class to the <table>
element.