I know we can explicitly add a syntax highlighting for code and I've being doing it for a while on question tagged using the JavaScript syntax-highlight as it makes my answers prettier and because the mongo shell is an interactive JavaScript shell for MongoDB and most answers use JavaScript.

Can we have it?

Answer with syntax highlighting.

Answer without syntax highlighting

  • I believe (from what I read) that SO doesn't actually implements Syntax Highlighting. It is a Google Project that anyone can contribute. If you have a request concerning this, you must go on the project and address your request there. – Martin Verjans May 27 '16 at 11:34
  • I mean add lang-js as default for mongodb – styvane May 27 '16 at 11:38

Done, this can be changed on the tag info page by mods and CMs. I've set the default syntax highlighting to lang-js.

You must log in to answer this question.

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