Hello, I'm trying to understand why syntax-highlighting isn't working on one of my answers.

At first, I didn't have any lang-tag. This resulted in no syntax highlighting. Then, I added the lang-tag of lang-default, which I assumed would restore SO's sane default highlighting style. It worked in the preview, but actually on the page you can see there is no syntax highlighting to be found. Is this a bug, or am I doing something wrong?


Language hinting must be done directly before each and every code block to which it is to apply.

  • Well, even then, can we get some kind of default language hinting for the assembly tag? – Earlz May 1 '11 at 21:51

Looks like "assembly" language doesn't seem to be supported by google code prettify:


  • Yes, but the default highlighter works decently – Earlz May 2 '11 at 22:34
  • @Earlz, you mean like this? - i.imgur.com/9qwwA.png – YOU May 3 '11 at 5:15
  • yes, it requires a bit of hacking to work around comments, but I think it looks better than plain formatting – Earlz May 3 '11 at 22:07

You must log in to answer this question.

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