-
-
Notifications
You must be signed in to change notification settings - Fork 375
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
Sass issues #82
Comments
I’m having the same issue. |
|
I imported the scss lexer from Pygments. Give it a shot. |
Thanks @alecthomas! I'm using Chroma through Hugo (static site generator) so I think I need to wait until the update gets implemented there? cc @bep @spf13 |
Ah yes. You can probably update the vendored version to test it if you're keen. |
I'll give it a shot. Thanks for the quick response and update! |
Hi @alecthomas.
I'm in the process of switching Bootstrap docs to Hugo with chroma as the highlighter.
It works well generally except for these 2 issues:
<
and>
aren't the same color as the keyword. Compared to what we have now with Rouge, not sure which is right, or if this is a bug. Maybe I just need to update our highlighting script to include thep
class. So that.nt, .p
use the same style; please confirm if this affects more stylesresults in:
Now this example is pure CSS but it's also valid scss syntax so it should be highlighted.
Another example is this:
I'm not sure if I'm missing something since this is still a work in progress, but I'd expect these to work.
Let me know if you need more info.
Thanks!
PS. I added the backslashes so that GitHub markdown doesn't break; they are not present in my markdown.
The text was updated successfully, but these errors were encountered: