Change code background color in PDF document? #607
-
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 NewOld |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 11 replies
-
Great question (it was a little challenging to find in our docs, maybe something we can improve). More is here: https://quarto.org/docs/authoring/article-layout.html#code-blocks if you set For example:
|
Beta Was this translation helpful? Give feedback.
Great question (it was a little challenging to find in our docs, maybe something we can improve). More is here:
https://quarto.org/docs/authoring/article-layout.html#code-blocks
if you set
code-block-border-left: false
, it will go back to the background color treatment...For example: