Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs

Dashboard
Notifications
Mark all as read
Meta

Code block in comments is highlighted only when viewed in the thread's link

+4
−0

Code blocks inside comments are hightlighted only if I'm on the comment's thread page. If I view it on the post itself (after expanding the respective thread), it's not highlighted.


Example: in this post I clicked on the comment thread to expand it, and the code block is not highlighted:

code block not highlighted


But if I access the thread link, the code block is highlighted:

code block highlighted


The code block is correctly set with the language hint (it starts with ```python), so I guess it should be highlighted in all cases.

Tested in:

  • Ubuntu 20: Chrome 95.0.4638.54 and Firefox 94.0
  • iOS 15.0.2: Chrome 95.0.4638.50 and Safari
Why does this post require moderator attention?
You might want to add some details to your flag.
Why should this post be closed?

0 comment threads

0 answers

Sign up to answer this question »