preview_page | R Documentation |
Only works when rendering the working directory, as this is the most common interactive workflow.
preview_page(path, pkg = ".")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.