We have a lot of code here. I think everyone agree that we need syntax highlighting.
2 Answers
Yes, there should be syntax highlighting for any code-related posts...
I'll use the rest of this answer as a CW sandbox... (Haven't fount the meta.SO counterpart yet)
Feel free to improve examples with more syntax, add other languages or correct mistakes, etc.
Testing code removed, syntax highlighting does not work on meta.
-
you successfully argue against your own answer here, these length code snippets are easily readable. anything longer probably means the question actually belongs somewhere else. code highlighting would promote more noise here that should be on so or codereview.– user7519Jul 15, 2012 at 9:33
-
@JarrodRoberson: This meta question is status-completed, see this example post. Jul 15, 2012 at 11:22
-
that isn't my point, my point is I don't think your arguments were successful, and I disagree as well, the stackexchange guys take away just as quickly as they give so you never know. :-)– user7519Jul 15, 2012 at 11:24
-
@JarrodRoberson: This question has gained enough upvotes, so the opposite will probably not happen. Furthermore, these were not arguments. I think you need to read my answer again, but that would be a waste of time if you're planning on getting the opposite to happen... Jul 15, 2012 at 11:31
No, simply because we aren't here for fixing code. There aren't that many examples of code being used, with most questions being text.
-
2I agree, but I think we will have much more code. Are there any problem if implement this feature here? SO has a syntax highlighter, not an advanced one, but it has, I think SE team could bring to us easily otherwise I agree to leave this feature out.– ManieroSep 24, 2010 at 0:41
-
1Syntax highlighting for code blocks is already implemented and heavily in use on SO. "Implementation" should be as simple as changing a single config variable.– Roger PateSep 25, 2010 at 2:57
-
-
This is a programmer area, and sometimes, code is the best way to express something related to, hum, code. I voted this up. Jan 3, 2012 at 23:34