| yml_verbatim | R Documentation |
yml_verbatim() is a helper function to write YAML precisely as given to the
yml_*() function rather than the defaults in ymlthis and yaml. ymlthis uses
the yaml package to check for valid syntax; yaml and ymlthis together make
decisions about how to write syntax, which can often be done in numerous
valid ways. See yaml::as.yaml() for more details.
yml_verbatim(x)
x |
a character vector |
an object of class verbatim
# "yes" and "no" serve as alternatives to `true` and `false`. This writes
# "yes" literally.
yml_verbatim("yes")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.