library(knitr); library(kableExtra) opts_chunk$set( echo = FALSE, message = FALSE, warning = FALSE, dev = "png", dpi = 600 ) options(knitr.table.format = "latex")
Here is a table:
kable(mtcars[1:5, 1:5], booktabs = TRUE, caption = "a table") %>% kable_styling(latex_options = c("striped", "HOLD_position"))
\footnotesize
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.