Skip to main content
  1. Blog/

Fixing a Blank White Box Where Code Blocks Should Be in Typecho

Author
Chengyu
I’m Chengyu — a final-year Computer Science student at the University of Sydney. I write about the things I build and break, plus hiking, travel, gaming, and gadgets.

Noticed by accident that any time my blog hit a code block, it rendered as an unfriendly, big blank white box.

Tried tracking it down with Chrome DevTools, tweaked the nginx config, tweaked the stylesheet — none of it fixed it.

Went through troubleshooting steps suggested by ChatGPT… and eventually landed on checking Typecho’s plugins.

Turned out disabling the ColorHighlight syntax-highlighting plugin fixed the display immediately.

Plugin settings
Fixed code block display

Related