library(rmarkdown)
library(yaml)
yaml_front_matter("test.Rmd")
yaml_front_matter("test.yaml")
# need to figure out a way to skip lines when reading yaml.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.