-
-
Notifications
You must be signed in to change notification settings - Fork 7.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Syntax highlighting of JavaScript is different under 0.83.1 as compared to 0.82.0 #8532
Comments
The config file for the project I'm observing this for is here: https://github.com/grpc/grpc.io/blob/main/config.yaml. The only difference relative to the highlighting defaults, is that the style is set to |
We updated the chroma syntax highlighter from v0.8.2 to v0.9.1. I think this is the change that is causing the problem: cc/ @alecthomas |
To get a fix for this, you need to open up an issue in the Chroma issue tracker: https://github.com/alecthomas/chroma/issues |
Done: alecthomas/chroma#507 |
And now released! Release https://github.com/alecthomas/chroma/releases/tag/v0.9.4:
|
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
After upgrading to Hugo v0.83.1 (+extended darwin/amd64) from 0.82.0, I've noticed that leading underscores in JavaScript variable names are formatted differently.
For example, consider this code:
This is the appearance when built with Hugo 0.83.1:
Notice how the color of the leading underscore characters (
__
) differs from the color of the rest of the identifier__dirname
.cc @nate-double-u
The text was updated successfully, but these errors were encountered: