使用kable()呈现一个简单的表会产生似乎是生成的html文件中表标题的默认淡色字体颜色.有没有办法控制表(或图)标题字体的颜色,大小等?
---
title: "test"
output:
html_document:
theme: cosmo
---
```{r}
library(knitr)
tab.1 = table(mtcars$cyl, mtcars$vs)
kable(tab.1, caption="Table 1: Caption Font Color")
```
Run Code Online (Sandbox Code Playgroud)