### Bug description

In a book when specifying the 
```
format:
  html:
    theme: cosmo
    code-fold: true
    code-copy: true
    code-block-bg: true
    code-overflow: wrap
  pdf:
    documentclass: scrreprt
    code-block-bg: true
```
I cannot get `code-overflow` as an option for a pdf document.
![Screenshot from 2023-05-17 12-55-27](https://github.com/quarto-dev/quarto-cli/assets/133715408/cc1280b6-42ce-4982-b2cd-3fd75b47e2c8)

Example comes from the template of a book within rstudio.
I am running Fedora 38 and the Rstudio IDE is the 2023.05.0 Build 334

### 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.
- [ ] Please provide the output of `quarto check` so we know which version of quarto and its dependencies you're running.
2023-05-17T18:55:57Z
fmurphyperez
closed
why there is no code-overflow for a pdf?
https://github.com/quarto-dev/quarto-cli/issues/5584