r as.character(format(Sys.Date(), format="%B %d, %Y"))
# set global chunk options opts_chunk$set(cache=TRUE) library(reports); library(knitr); library(knitcitations) bib <- read.bibtex(dir()[tools::file_ext(dir()) == "bib"][1]) # #Reading in your own bib file: #bib <- read.bibtex(getOption("bib.loc")) #cite in text using `r citet(bib[1])`
r citet(bib[1])
bibliography("html")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.