library(knitr)
setwd("vignettes")
opts_chunk$set(fig.path="figs/")
knitr::knit("gen_vignette.Rmd.orig", output="gen_vignette.Rmd")
setwd("..")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.