### Bug description

Thanks for all your work on this!

`output-location` should work when placed in the YAML header. Currently this option only works when placed inside individual chunk options. Example:

````md
---
format: revealjs
knitr: 
  opts_chunk: 
    echo: true
    output-location: fragment
---

```{r}
5 + 5
```
````

Tested on Fedora 37 and Windows 10, and development version and on 1.1.251.

### Checklist

- [X] Please include a minimal, fully reproducible example in a single .qmd file? Please provide the whole file rather than the snippet you believe is causing the issue.
- [X] Please [format your issue](https://quarto.org/bug-reports.html#formatting-make-githubs-markdown-work-for-us) so it is easier for us to read the bug report.
- [X] Please document the RStudio IDE version you're running (if applicable), by providing the value displayed in the "About RStudio" main menu dialog?
- [X] Please document the operating system you're running. If on Linux, please provide the specific distribution.
dragonstyle
2022-11-09T22:02:40Z
wklimowicz
bug documentation revealjs
v1.3
closed
`output-location` doesn't work in YAML header
https://github.com/quarto-dev/quarto-cli/issues/3261