This question already has an answer here:

I noticed a bug/feature with the syntax highlighting where two-character capitalized identifiers are not being highlighted inside code blocks. This does not appear to be a problem in the case of two-letter identifiers where only one of the letters is capitalized. I.e. System.IO fails to highlight "IO", but System.Io would be fully highlighted. Example is C#:

Two letter identifiers are black instead of green

I apologize if this has been inquired upon before, I didn't see it in my brief search.

share|improve this question
    
Does Encoding.UTF8 something special that it's not been marked red? ;) –  Chichiray Apr 19 '10 at 22:55
    
Nope I just didn't event notice it in there. I suppose it would be more accurate then to say that it fails to highlight non-camel-cased statements. –  Nathan Taylor Apr 20 '10 at 0:31
1  
All-uppercased identifiers are usually amenend as constants. My IDE also highlights constants differently. –  Chichiray Apr 21 '10 at 17:41
add comment

marked as duplicate by Rory, Mat, Hugo Dozois, Martijn Pieters, animuson Jun 15 '13 at 18:50

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

2 Answers

up vote 2 down vote accepted

Markdown does only formatting. Syntax highlighting is actually done by Prettify. You can report issues over there.

share|improve this answer
    
Should I migrate my question there then? Admins? –  Nathan Taylor Apr 20 '10 at 2:39
    
No, it's a 3rd party library. Just report it independently. –  Chichiray Apr 20 '10 at 2:54
add comment

Markdown isn't perfect at syntax highlighting -- usually this is because it fails to guess the language, and various languages use the same syntax to mean different things (which should be highlighted differently).

Suggestions for improving this have been made in the past.

share|improve this answer
add comment

Not the answer you're looking for? Browse other questions tagged .