Description Usage Arguments Value
View source: R/substitute_variables.R
Substitute variables in a R markdown template with the variables
provided. Basically renders the R markdown document using
knitr::knit
and writes it back to a temporary file as markdown.
1 | substitute_variables(template, variables)
|
template |
Character. The name of the template file. No default. |
variables |
List. The variables. No default. |
A character vector formatted as markdown.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.