Today I Learnt...Something About Stack Overflow

...that the way Stack Overflow detects the syntax for a code-block is by looking at the tags on the question. If your syntax-highlighting isn't working, add the tag for the language.