Specifically, this works for tables produced with kableExtra
which creates a very appealing effect. I was wondering if anyone has an idea how this may be doable with huxtable
.
Here's an example Rmd to get a glimpse at what I mean. I'd like the huxtable to allow the hover effect that is visible in the kable.
---
output: bookdown::html_document2
---
```{r lib}
library(magrittr)
```
```{r kable}
iris %>%
head() %>%
kableExtra::kbl(caption = "a caption") %>%
kableExtra::kable_styling(bootstrap_options = "hover")
```
```{r huxtable}
iris %>%
head() %>%
huxtable::hux() %>%
huxtable::set_caption("a caption")
```
Related to: Is it possible to fix the head for a long huxtable?