md_header | R Documentation |
markdown
header from yaml
stringThis function wraps a yaml
-formatted string in Markdown header delimiters.
md_header(x)
x |
( |
library(yaml)
yaml_quoted <- getFromNamespace("yaml_quoted", "teal.reporter")
yaml <- list(
author = yaml_quoted("NEST"),
title = yaml_quoted("Report"),
date = yaml_quoted("07/04/2019"),
output = list(pdf_document = list(keep_tex = TRUE))
)
md_header <- getFromNamespace("md_header", "teal.reporter")
md_header(as.yaml(yaml))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.