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
highlighting are incorrect colours #158
Comments
Hmm, that is a problem (in all browsers). I've been really busy lately, so I don't recall when/if we changed any definitions for syntax highlighting. |
I'm pretty sure I didn't do any updates when this started happening, and I think it was working yesterday. Could it be a github change? I rolled back to commit c739d50 from July 19th and it didn't seem to make a difference. That's just a random commit I rolled back to but I think it would have been noticed since then. |
Hi @thinktt! I think you're right, GitHub did change something... I'm seeing some new classes |
Motti, Thanks for the quick fix. Andrew. |
I'm not sure if this is related to the syntax highlighting, but the line numbers are messed up, and there's also the issue of individual line highlighting. I noticed that there's already a selector for Also, when clicking on a line number, the GitHub's default color is used, which conflicts with some themes, as evidenced in this picture: Unfortunately, I don't think there's any easy solution to address this, because rules would have to be created for every color scheme, and some color schemes might not have a designated color for highlighted lines. |
@Poorchop Try that update... I know it works in Chrome, but didn't get a chance to test other browsers. |
Works perfectly in Firefox @Mottie, thanks a lot. |
Having updated to the latest version on userstyles, syntax highlighting is no longer working:
I use Wombat as the colour scheme, no background, Base color scheme: #4183C4, tab size of 4.
No other github styles,scripts or addons enabled.
Also the following link only shows highlighting where http has been changed to https:
https://github.com/echel0n/SickRage/commit/dbc30c43cb179196391ccc106d035057e25f72ad#diff-d41d8cd98f00b204e9800998ecf8427e
I am using FF31.0 on Win7_x64.
The text was updated successfully, but these errors were encountered: