R/add_custom_style.R
add_custom_style.Rd
Generate inline style components to modify the standard flexdashboard
css. Original functionality updated based on example from
st_css()
from https://github.com/dcomtois/summarytools
add_custom_style(main = TRUE, ...)
Logical. Include summarytools.css file. TRUE
by
default. This will affects only summarytools objects, for one
exception: two properties of the img
tag are redefined to have
background-color: transparent
and border: 0
.
Character. Path to additional css file(s) to include.
The style content and css file(s) returned silently as a
character vector, and printed (using cat()
).
The style formatting is intended to be used with bootsrap's
readable
theme.
The function may be called in an R markdown document code
chunk having options echo=FALSE
and results="asis"
.