View source: R/embed_rmd_html.R
embed_rmd_html | R Documentation |
This function generates HTML code to encode the Rmarkdown source code within the output HTML file.
embed_rmd_html(file)
file |
Character. Name of the Rmarkdown source file (within quotes), e.g. 'myreport.Rmd' |
Ramnath Vaidyanathan, slightly modified by F. Rodriguez-Sanchez.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.