knit_params_yaml | R Documentation |
This function reads the YAML front-matter that has already been extracted from a document and returns a list of any parameters declared there.
knit_params_yaml(yaml, evaluate = TRUE)
yaml |
Character vector containing the YAML text. |
evaluate |
If |
List of objects of class knit_param
that correspond to the
parameters declared in the params
section of the YAML. See
knit_params
for a full description of these objects.
knit_params
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.