-
DescriptionI am finishing a PhD thesis and writing the manuscript with Quarto to create a pdf. The work involves some coding, and this code is included as a few code blocks in the Appendix. The code displays with colour, and to save on printing costs, I want it to display as black and white. I can't seem to manage this but hopefully someone here can guide me. I can't find any options that apply to the code chunks directly. My msot promising lead was to alter the YAML to state the following:
I thought this would force the monofont used to render the code to display without colour, but it has not worked. Anyone have any idea how I might do this? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Disable code highlighting or choose a black&white theme: https://quarto.org/docs/output-formats/pdf-basics.html#syntax-highlighting quarto pandoc --list-highlight-styles |
Beta Was this translation helpful? Give feedback.
Disable code highlighting or choose a black&white theme: https://quarto.org/docs/output-formats/pdf-basics.html#syntax-highlighting