library(pkgdown)
pkgdown::clean_site()
pkgdown::build_article()
build_site(lazy = TRUE,
devel = TRUE)
preview_site()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.