View source: R/ReadRmdFrontMatter.R
ReadRmdFrontMatter | R Documentation |
Reads YAML front matter from a Rmd file.
ReadRmdFrontMatter(filePath, section = NULL)
filePath |
Path to the source RMarkdown file. Required. |
section |
Name of section of the front matter to return. If not specified, then the whole specification is returned, otherwise only the specified section. Optional. Default = NULL. |
list object
## Not run:
ReadRmdFrontMatter(filePath)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.