Code blocks appear wrongly when exported to PDF

It might help if others could see the source of the code causing the issue. Surround everything in three or four backticks ` and paste it here.

Also, check the debug help if you haven’t yet: