Closed ericpgreen closed 5 years ago
Is it possible to use row stripes from kableExtra in this template? I have not been able to get the color to appear when compiling in bookdown, but it works with a regular Rmarkdown document.
kableExtra
library(knitr) library(kableExtra) dt <- mtcars[1:5, 1:6] kable(dt) %>% kable_styling(bootstrap_options = c("striped", "hover"))
Turns out the answer is yes. The issue is with bookdown, not this template. I found this great example book by the package author.
The key is to load:
library(kableExtra) options(kableExtra.html.bsTable = T)
Is it possible to use row stripes from
kableExtra
in this template? I have not been able to get the color to appear when compiling in bookdown, but it works with a regular Rmarkdown document.