When exporting to PDF, is there a way to remove the grey background of code blocks?

You should be able to style it using CSS (for the light mode), like in the following:

3 Likes