precompile_rmd | R Documentation |
Precompile HTML files
precompile_rmd( file, data = list(), runtime = "static", quiet = TRUE, precompiled_path, hasher = digest, section_divs = FALSE, md_extensions = "+tex_math_dollars", df_print = "kable", ... )
file |
path to the RMarkdown file |
data |
a list of data to be made available to the Rmd file during rendering. Quoted items will be evaluated on the server before knitting the Rmd file. Quoted expressions are evaluated in the server context. |
runtime, quiet |
arguments passed on to |
precompiled_path |
path where precompiled HTML file should be saved. |
hasher |
function to compute the unique hash for the input data. |
section_divs, md_extensions, df_print... |
passed on to |
show_only_with_section |
render the output only if the section is visible. |
the path to the prerendered HTML file
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.