library(msmbstyle) # invalidate cache when the tufte version changes knitr::opts_chunk$set(tidy = FALSE, cache.extra = packageVersion('msmbstyle')) options(htmltools.dir.version = FALSE)
Styling based heavily on the tufte package. For HTML output, use msmbstyle::msmb_html_book
in the yaml header.
# create a bib file for the R packages used in this document knitr::write_bib(c('base', 'rmarkdown', 'bookdown', 'msmbstyle'), file = 'skeleton.bib')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.