tmp <- tempdir()
file.copy('page.rmd', tmp)
setwd(tmp)
dir.create('docs')
render_page('page.rmd', quiet=TRUE)
expect_true(file.exists('docs/page.html'))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.