View source: R/build_website.R
bs4_utilitr | R Documentation |
An output format customizing bs4 format
bs4_utilitr( extra_dependencies = list(), includes = rmarkdown::includes(in_header = pkg_resource("rmarkdown/resources/html/header_polyfill.html"), before_body = pkg_resource("rmarkdown/resources/html/print_button.html"), ), theme = bookdown::bs4_book_theme, pandoc_args = c("--lua-filter", pkg_resource("rmarkdown/resources/scripts/nbsp.lua")), primary = "#3c5c5c", secondary = "#cf581b", new_session = TRUE, ... )
extra_dependencies |
Additional HTML dependencies. When left empty, a few default formatting properties are applied |
includes |
Specify additional content to be included within an output document. |
theme |
Bookdown theme. Default uses |
pandoc_args |
Additional pandoc arguments passed to |
primary, secondary |
Colors for the theme |
new_session |
Logical indicating whether each Rmd should be compiled in a brand-new directory |
... |
Additional arguments passed to |
An R Markdown output format object to be passed to
rmarkdown::render()
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.