10 votes

Problems with highlight.js

There is (usually) no syntax highlighting inside braces [fixed in highlight.js 10.3] Sample: \foo{\foo\bar \\\\\baz} Github issue
10 votes

Problems with highlight.js

Backslashes are not highlighted as part of the control sequence [fixed in highlight.js 10.3] Sample: \foo\bar \\\\\baz Github issue
9 votes

Adapting the highlighting colors for the new highlight.js version

Here's my own suggestion for how to change the colors. Notes and suggestions are very welcome (as well as other answers, of course). class current color proposed color -------------------------...
8 votes

Problems with highlight.js

@ ("at") isn't recognized as a valid character in a command name [fixed in highlight.js 10.3] Many hundreds (thousands?) of LaTeX2 commands employ the @ character in their names -- usually ...
  • 449k
7 votes
Accepted

No (La)TeX syntax highlighting on mobile devices

Update This has been fixed in the apps for a while now. There's no highlighting on mobile web because that's not a feature anywhere on the network. Here's the feature request on MSE. Look at the ...
7 votes

Problems with highlight.js

Incorrect identification of scope of a macro definition [fixed in highlight.js 10.3 (no such identification takes place)] Consider the following example \newcommand\sorted[1]{\directlua{sorted(\...
  • 449k
6 votes

Problems with highlight.js

Very difficult to distinguish comments from ordinary text. Consider Hello World. % A comment. The shade of gray that's used to highlight what's a comment is quite dark, making it anything but ...
  • 449k
5 votes

Problems with highlight.js

LaTeX3-semantics for valid macro names aren't recognized. [fixed in highlight.js 10.3] With LaTeX3, the characters _ (underscore) and : (colon) may be (in fact, must be) used in various macro names. ...
  • 449k
5 votes

There is no syntax highlighting on Meta

\documentclass{article} \begin{document} Syntax highlighting? \relax \begin{tabular}[t]{ccc} a&b\\ \end{tabular} \end{document} \documentclass{article} \begin{document} Syntax ...
5 votes
Accepted

Problem writing the sequence \@ in inline <code>...</code>-blocks

The markdown backtick syntax does not only the formatting like the HTML <code> block, but it also escapes special characters, so a \ or a < or > have no special meaning. Inside a <code&...
4 votes

Adapting the highlighting colors for the new highlight.js version

This answer follows the same principle as my first proposal, only with all colors brightened up a bit, as requested in the comments.
2 votes

Adapting the highlighting colors for the new highlight.js version

What I like about the highlighter I use daily (GtkSourceView) is that it colors the known control words differently from the unknown and user-defined control sequences. This makes it easier to skip ...
  • 31.7k
1 vote

Problems with highlight.js

Incorrect display of array or tabular parameters when there is @{} [fixed in highlight.js 10.3 (no such identification takes place)] \begin{array}{c@{}cc} a & b & c\\ d &...
  • 55.1k

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