I've noticed that code snippets do not get syntax coloring like stackoverflow. Instead the whole chunk appears black and white. Is it something I've done wrong or is this a massive missing feature?

link
I have noticed this as well. What's curious is that it does appear colored correctly when I (for example) attempt to edit somebody's post. – Josh Petrie Feb 6 '11 at 18:58
1  
Specifically, if I edit the post and make an actual change, then wait a few moments, it becomes colored. – Josh Petrie Feb 6 '11 at 19:00
feedback

1 Answer

This is probably a server-side issue. On StackOverflow, code snippets in questions or answers have a special prettyprint class, eg. <pre class="lang-c prettyprint"> ... </pre> whereas on Gamedev the code snippets are served as <pre><code> ... </code></pre>.

link
feedback

You must log in to answer this question.

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