# compile readme
rmarkdown::render("README.Rmd", rmarkdown::github_document(html_preview = FALSE))
# build website locally
devtools::install() # files are retrieved from system.file location
pkgdown::build_site()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.