Bad PDF exporting of "Code blocks"

Steps to reproduce

Just export to PDF on Windows (last Obsidian v1.7.7)

Obsidian: v1.7.7
OS: Windows 11 (build 22631)

I want to export the markdown documents as PDF with block codes but these fragments are unreadable. Thanks.

Kindly repost this and make sure you follow the bug report template. Thanks.

Also attach a copy of the document if it happens in the sandbox vault. Thanks!

1 Like

The default sandbox has a “Code block” page. I have test it there on Windows, and this is the result.

Does it happen in other PDF viewer? Is it possible that you have the font used for code damages on your system?