Код: Выделить всё
---
title: "Untitled"
output: html_document
---
div.flextable-shadow-host * {
color: pink;
}
div.tabwid * {
color: pink;
}
# ignores CSS above
```{r, echo=FALSE}
library(flextable)
flextable(head(mtcars))
```
# accepts CSS above
```{r, echo=FALSE}
ft
Подробнее здесь: [url]https://stackoverflow.com/questions/70916362/css-selector-for-font-color-in-flextable-with-shadow-host-on[/url]
Мобильная версия