For questions about the syntax highlighting performed inside code blocks on Stack Exchange sites.

learn more… | top users | synonyms

2
votes
1answer
23 views

PowerShell syntax highlighting bug with backticks

Refer to PowerShell Active Directory Browser Backticks are incorrectly interpreted as some sort of string, instead of a line continuation character.
2
votes
1answer
20 views

Automatic syntax highlighting doesn't work for Lua

According to this meta question, tag-based syntax highlighting should be working but In this Lua question that was not the case. I suggested an edit to fix the highlighting in the question itself but ...
7
votes
1answer
80 views

Could syntax highlighting be improved?

I noticed the syntax highlighting on CR was different than that on SO: Stack Overflow Syntax highlighting isn't perfect - the blue and the red could be a little brighter, but overall it's fairly ...
1
vote
1answer
44 views

CSS hex color bug

When you see a question in Code Review with some CSS and hex color codes in it, it appears like a comment. I think the syntax highlighter thinks that CSS uses python style comments i.e. ...
2
votes
1answer
57 views

How do you highlight code in a <pre> block?

Is there a way to highlight code syntax in a <pre> block? In this post, I had originally inserted my code using a ...
5
votes
1answer
79 views

Lisp symbols not highlighted correctly

Exhibit A: The symbol d_n+1 is highlighted as the variable d_n, operator+, and 1. This is incorrect; the symbol should be all ...
4
votes
1answer
124 views

Tag based syntax highlighting not working on all tags

If you look at this question, you'll see that it's wrongly highlighted and the poster had to add 's in comments, so the whole code didn't show up as a big string. ...