| asis_yaml_output | R Documentation |
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)
.yml |
a |
fences |
Logical. Write fences ("—") before and after YAML? |
Other yml:
bib2yml(),
draw_yml_tree(),
has_field(),
read_json(),
use_yml_defaults(),
use_yml_file(),
use_yml(),
yml_author(),
yml_blogdown_opts(),
yml_bookdown_opts(),
yml_citations(),
yml_clean(),
yml_distill_opts(),
yml_latex_opts(),
yml_output(),
yml_pagedown_opts(),
yml_params(),
yml_pkgdown(),
yml_reference(),
yml_replace(),
yml_resource_files(),
yml_rsconnect_email(),
yml_rticles_opts(),
yml_runtime(),
yml_site_opts(),
yml_toc(),
yml_vignette()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.