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

Why is it not possible to choose the programming language when I add some code in my question/answer? I think that it's a very important feature, since every programming language has it's own distinct formatting style, and it gets harder to read poorly formatted code.

share|improve this question
add comment

1 Answer

up vote 17 down vote accepted

The code highlighter takes a hint from the tagging of the question - so, if you tag a question with C#, it will attempt to use C# highlighting, if you tag it with SQL, it will try SQL highlighting.

You can also provide language hints in your post, using one of the existing options.

share|improve this answer
add comment

You must log in to answer this question.

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