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

learn more… | top users | synonyms

4
votes
1answer
68 views

VBScript Code Highlighting

Would it be possible to use the same Syntax Highlighter that Wikipedia uses for VBScript If it is possible we could probably use it for all flavors of VB (vb6,vbscript, vba, etc.) Right now we have ...
5
votes
2answers
116 views

Default code-prettify highlighting for C# is incorrect

Recently I had quite a few edits to include the correct syntax-highlighting for C# questions: <!-- language: lang-csharp --> That's needless editing for a ...
2
votes
1answer
32 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.
3
votes
1answer
27 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
101 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 ...
2
votes
1answer
48 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
64 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
129 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. ...
16
votes
2answers
128 views

Turning on syntax highlighting

On this particular site, I think it is absolutely critical to have it work, and automatically if possible.