asis_yaml_output() exports a yml object as a YAML knitr code chunk instead of as an R object. Doing so adds code highlighting for YAML syntax.

asis_yaml_output(.yml, fences = TRUE)



a yml object created by yml(), as_yml(), or returned by a yml_*() function


Logical. Write fences ("---") before and after YAML?