View source: R/output_format.R
all_output_formats | R Documentation |
Read the YAML metadata (and any common output YAML file) for the
document and return the output formats that will be generated by
a call to render
.
all_output_formats(input, output_yaml = NULL)
input |
Input file (Rmd or plain markdown) |
output_yaml |
Paths to YAML files specifying output formats and their
configurations. The first existing one is used. If none are found, then
the function searches YAML files specified to the |
This function is useful for front-end tools that require additional
knowledge of the output to be produced by render
(e.g. to
customize the preview experience).
A character vector with the names of all output formats.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.