Description Usage Arguments Details
View source: R/rmd_bib_files_utils.R
Given a list l, replace the YAML frontmatter with the list l converted to YAML.
1 | replaceYamlFrontMatter(rmdfile, l)
|
rmdfile |
character(1) rmd filename in which to replace yaml |
l |
list() that will be converted to new yaml to include |
One detail–the yaml standard for dumping to text is to use single quotes for everything, doubling them to escape. This function replaces all instances of (”) with (").
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.