knitr::opts_chunk$set(
echo = FALSE,
error = FALSE,
fig.align = "center",
fig.path = paste0("figures/", DOCNAME, "/"),
fig.width = 10,
fig.height = 8,
message = FALSE,
warning = FALSE
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.