This question does not show any syntax highlighting although the code seems ok to me. What is the cause of it?
Tested with FF 3.6.15 and IE 8.0.
Meta Stack Exchange is a question and answer site for meta-discussion of the Stack Exchange family of Q&A websites. It only takes a minute to sign up.
Sign up to join this communityThis question does not show any syntax highlighting although the code seems ok to me. What is the cause of it?
Tested with FF 3.6.15 and IE 8.0.
Either add the java tag to the question or add the following language hint to a new line just before your code block (hint should have 0 indentation):
<!-- language: java -->
language: java
and language: lang-java
will work.