View source: R/preview.R
Use preview_site() instead.
preview_site()
preview_page(path, pkg = ".")
Add the following code to your website.
REMOVE THIS Copy to clipboard
For more information on customizing the embed code, read Embedding Snippets.