# Load packages
require(knitr)
require(markdown)
# Create .md, .html, and .pdf files
knit("vignettes/my-vignette.Rmd")
markdownToHTML('My_Analysis.md', 'My_Analysis.html', options=c("use_xhml"))
system("pandoc -s My_Analysis.html -o My_Analysis.pdf")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.