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
schtandard's user avatar
  • 14.7k
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
schtandard's user avatar
  • 14.7k
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 -------------------------...
schtandard's user avatar
  • 14.7k
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 ...
Mico's user avatar
  • 502k
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(\...
Mico's user avatar
  • 502k
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 ...
Mico's user avatar
  • 502k
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. ...
Mico's user avatar
  • 502k
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 ...
David Carlisle's user avatar
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&...
Phelype Oleinik's user avatar
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.
schtandard's user avatar
  • 14.7k
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 ...
Marijn's user avatar
  • 37.1k
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 &...
CarLaTeX's user avatar
  • 62.1k

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