library(tufte) # invalidate cache when the tufte version changes knitr::opts_chunk$set(tidy = FALSE, cache.extra = packageVersion('tufte')) options(htmltools.dir.version = FALSE) # whether or not to show the answers .show_answers <- TRUE
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.