output_metadata {rmarkdown} | R 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.

[Package rmarkdown version 1.10 Index]