knitr::opts_chunk$set(collapse = TRUE, comment = "#>")
library(minir)
x <- mtcars # test cache variable
plot(x) # test cache plot
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.