How can I set a global option for an extension used in multiple quarto documents? #6968
-
DescriptionSuppose I have a collection of analysis reports, each using the same extension with identical YAML options. For instance, the ----
highlight:
background-color: "blue"
transparency: 25
filters:
- highlight
---- Is there a way to set a global extension option within |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
|
Beta Was this translation helpful? Give feedback.
For the first question, placing the
highlight
key and subkeys should work within a_quarto.yml
file or within a_metadata.yml
file. Those values will be merged into the document metadata and available to filters.For the second question, there is currently isn't a way to perform validation without runtime checks that I'm aware.