# set global chunk options library(reports); library(slidify); library(knitcitations); library(knitr) opts_chunk$set(cache=FALSE) BIB <- system.file("extdata/docs/example.bib", package = "reports") #test .bib bib <- read.bibtex(BIB) # #Reading in your own bib file: #bib <- read.bibtex(dir()[tools::file_ext(dir()) == "bib"][1]) #cite in text using `r citet(bib[1])`
--- .class #id
For slidify framework examples run:
browseURL("https://github.com/ramnathv/slidifyExamples/tree/gh-pages/examples/landslide")
browseURL("http://ramnathv.github.io/slidifyExamples/examples/landslide/#slide1")
r citet(bib[3])
--- .YT yt:ArHQjQyIS70 &youtube
--- .refs
bibliography("html", bulleted = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.