output_metadata: The output metadata object

output_metadataR Documentation

The output metadata object

Description

This object provides a mechanism for users to attach metadata as an attribute (named rmd_output_metadata) of the returned value of render(). The initial value of the metadata comes from in the rmd_output_metadata field of the YAML frontmatter of an R Markdown document. The metadata can be queried via the output_metadata$get() method, and modified via the output_metadata$set() method.


rmarkdown documentation built on Nov. 4, 2024, 5:06 p.m.