What is meta? ×
Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 134 Stack Exchange communities.

I can understand there not being any highlighting by default, but it's difficult to demonstrate problems with the highlighting here (besides this one, obviously) when you can't even do it by specific request.

For example, this source:

<!-- language: lang-c -->

    #include <stdio.h>

    main(int argc, char *argv[])
    {
        printf("Hello, World!\n");
    }

currently produces this rendering:

#include <stdio.h>

main(int argc, char *argv[])
{
    printf("Hello, World!\n");
}

which is utterly lacking in color, and does not bear the "lang-c" class.

share|improve this question
1  
Syntax highlighting is enabled globally on a per-site basis, and is apparently not on here. I'm going to interpret this as a "please turn on syntax highlighting on meta" request and not answer –  Michael Mrozek Jan 31 '12 at 5:37
    
I was actually wondering when/how it got turned off, and was I just blind that I couldn't find the discussion? –  SamB Jan 31 '12 at 5:50
1  
Was it actually ever on? I don't recall –  Michael Mrozek Jan 31 '12 at 5:53
1  
I don't see why meta would ever need syntax highlighting, so my guess is that it was never enabled... except perhaps by mistake? –  Anna Lear Jan 31 '12 at 5:55
1  
It was on when meta.stackexchange.com/a/81970/145828 was last edited –  SamB Jan 31 '12 at 5:58

1 Answer 1

Meta never had code highlighting explicitly enabled, and in September we changed the default value of that setting from true to false, at which point syntax highlighting thus disappeared from Meta. Considering that it took four months for this to be noticed, it doesn't seem to have been a huge issue, but I agree that there are cases where it's helpful here, so I've turned it on.

share|improve this answer
    
How strange... it has always worked for me in this question of mine: meta.stackexchange.com/questions/99725/… –  BoltClock's a Unicorn Jan 31 '12 at 10:07
    
If a highlighting language was specified on submission, it continued to work. Had someone edited that question between September and today, the newly rendered version wouldn't have been highlighted. –  balpha Jan 31 '12 at 10:46
    
That makes sense. Thanks for clarifying. –  BoltClock's a Unicorn Jan 31 '12 at 10:47
    
@balpha It would be nice if it could be turned on on meta.tex.stackexchange.com too, see this feature request –  N.N. Feb 2 '12 at 21:00

You must log in to answer this question.

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