Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 158 Stack Exchange communities.

What is meta?
Here's how it works:
  1. Any Stack Exchange user can ask a question
  2. The community provides support, votes on ideas, and reports bugs
  3. Your voice helps shape the way Stack Exchange operates

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?

share|improve this question

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

share|improve this answer
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:

share|improve this answer
Yes, but the default highlighter works decently – Earlz May 2 '11 at 22:34
@Earlz, you mean like this? - – 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 .