library(rmarkdown)
library(knitr)
rmdfiles <- Sys.glob("~/repos/dnamalci/tests/*.rmd")
sapply(rmdfiles, function(x) render(x, output_format="all",
output_dir = "~/repos/dnamalci"))
# sapply(rmdfiles, purl)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.