View source: R/add_custom_style.R
add_custom_style | R Documentation |
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, ...)
main |
Logical. Include summarytools.css file. |
... |
Character. Path to additional css file(s) to include. |
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"
.
The style content and css file(s) returned silently as a
character vector, and printed (using cat()
).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.