Incorrect Syntax Highlighting
CompletedI've found numerous errors in the syntax highlighting engine.
In Markdown, specifying a language does nothing.
The following bash code:
```bash
rsync -avzrU src dst
```
Is incorrectly highlighted in all yellow, and also provides the same exact highlighting as:
```text
rsync -avzrU src dst
```
Which is also incorrect. Both show up in ugly yellow (and actually doesn't change regardless of languages specified):
Block comments are not highlighted properly in many languages.
Incorrect block comment in C++. Only the opening /** is recognized as part of the comment, the other lines are not:
Incorrect block comment in Python. Only the opening triple quote (""") is recognized as part of the comment, the other lines are not:
Please update or change the syntax highlighting engine. It looks like this was fixed in recent versions of highlight.js (which I believe Cacher is using): e.g. commented on here https://github.com/gnab/remark/issues/534
-
Official comment
Fixed in v2.14.3 of the web app and desktop clients.
Comment actions
Please sign in to leave a comment.
Comments
6 comments