Skip to main content
7 votes
Accepted

How to properly display Matlab code?

Thanks for bringing it up. The matlab tag had no syntax highlighting language associated to it. I've modified the tag settings to use lang-matlab, which should ...
Mathieu Guindon's user avatar
6 votes

Syntax highlighting for vba just changed

code-prettify works by adding <span class="..."> elements into the prettified code with classes for different syntax elements. The supported elements for <...
Mathieu Guindon's user avatar
6 votes

Formatted C++ code is outdated for current standard

The language syntax highlighting used in Code Review (normally) comes from the language tag set on the post. This is one of the reasons we have only one language tag per post. The language syntax ...
rolfl's user avatar
  • 97.4k
5 votes

Can't get the syntax highlighting for Go

The tag didn't have an associated syntax highlighter, so the highlighting you'd get with the go tag alone would have been the default one. ...
Mathieu Guindon's user avatar
3 votes

Syntax highliting for Angular2+ questions

You used the wrong name for the language hints. I change the question in revision 5 to fix these. The GitHub repo for Googles code-prettify, isn't incredibly descriptive on how to specify the ...
Peilonrayz's user avatar
  • 43.4k
3 votes

python-3.x tag does not pass lang-py to code-prettify

On Code Review, when you ask a Python question that only works in one of the versions, Python 3, then you should tag it with both the language tag python and the version tag python-3.x. One ...
Peilonrayz's user avatar
  • 43.4k
3 votes

How to properly display Matlab code?

You can specify the used language by inserting the following in your post. Thanks to Mat's Mug you can now use: <!-- language: lang-matlab --> This ...
Mast's user avatar
  • 13.4k
1 vote
Accepted

Incorrect automatic Perl regex syntax

It is commonly accepted wisdom that "Only perl can parse Perl". Every syntax highlighter I have seen has bugs when highlighting Perl code, especially regexes. I ...
200_success's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible