I would like to request that any question tagged with have C# syntax highlighting applied even if the tag is not present.

95% of the questions have their code examples in C#, and RavenDB uses C# flavored linq for its indexes - so it's almost always applicable.

I am aware of how to apply syntax highlighting manually with the <!-- language: lang-cs --> tagging, but it always seems silly to edit a question just for that alone.

1 Answer 1


I've turned on automatic syntax highlighting for - this will attempt to auto-detect the language in use, which should suffice for C# code without precluding the use of other languages.

  • Thanks you! The only other syntax that comes into play sometimes is json (raw json, not javascript). Will that be detected as well? Jan 6, 2013 at 17:28
  • Should be - let me know if it isn't.
    – Shog9
    Jan 6, 2013 at 17:40

You must log in to answer this question.

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