'Changing background color and font in vtable::sumtable
Solution 1:[1]
By default, sumtable generates an html output with fixed characteristics. If you want to style it yourself, you have the option to pass it to kable, and set all the parameters you want via kable_styling():
library(vtable)
sumtable(mtcars, out = 'kable') %>%
kableExtra::kable_styling(html_font = 'Comic Sans MS')
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Allan Cameron |


