modify_rmd_contents | R Documentation |
Insert YAML values, headers, and footers in an existing Rmd file.
modify_rmd_contents(
input,
default_yaml = NULL,
pre_content = NULL,
post_content = NULL
)
input |
A path to a .Rmd file. |
default_yaml |
A path to a .yml file containing default key-value pairs. Values will be overwritten by matching values in input header. |
pre_content |
A path to a file containing text to be inserted after the YAML header and before existing input content. |
post_content |
A path to a file containing text to be inserted after existing input content. |
a vector of strings
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.