# set global chunk options opts_chunk$set(cache=TRUE) library(knitr); library(knitcitations) #bib <- read.bibtex(file.path(getwd(), basename(getOption("bib.loc")))) #cite in text using `r citet(bib[1])`
#bibliography("html")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.