User should be able to specify `code-block-bg` and we should respect that in LaTeX / PDF output. Currently we either accept the already defined shadecolor or define it as:

`"\\@ifundefined{shadecolor}{\\definecolor{shadecolor}{rgb}{.97, .97, .97}}"` 


### Discussed in https://github.com/quarto-dev/quarto-cli/discussions/607

<div type='discussions-op-text'>

<sup>Originally posted by **maxdrohde** April 10, 2022</sup>
After downloading the new version of Quarto, it seems that the default background color for code in PDF documents has changed from blue to white. See below for an example.

Does anyone know how to manually set the default background color for code? I tried looking on this page but couldn't find any options: https://quarto.org/docs/reference/formats/pdf.html

### New

<img width="800" alt="Screen Shot 2022-04-10 at 19 32 55" src="https://user-images.githubusercontent.com/25734232/162647135-3218f4ef-1004-4d33-bc07-0718f9f6a3ca.png">

### Old

<img width="800" alt="Screen Shot 2022-04-10 at 19 32 34" src="https://user-images.githubusercontent.com/25734232/162647139-4cff7329-8014-49f5-ae2e-9cfedb34e067.png">

</div>
dragonstyle
2022-04-11T01:00:08Z
dragonstyle
verify-fixed
1.0
closed
Code Block background in PDFs / LaTeX
https://github.com/quarto-dev/quarto-cli/issues/608