change_yaml_matter | R Documentation |
This function updates the YAML content of a given Rmd file. YAML content is passed as a list via the dots argument of the function.
change_yaml_matter(input_file, ..., output_file)
input_file |
Input .Rmd file with YAML to be updated |
output_file |
Output .Rmd filename with updated YAML (optional; if left blank, updated .Rmd file will be printed in the console.) |
A .Rmd file with updated YAML content, either saved to the output_file
path location or printed in the console.
Code from: https://stackoverflow.com/a/66908611/1454785
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.