Skip to content
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

Code block colors are overriding PrismJS settings #417

Open
kingthrillgore opened this issue Mar 30, 2023 · 1 comment
Open

Code block colors are overriding PrismJS settings #417

kingthrillgore opened this issue Mar 30, 2023 · 1 comment
Labels
bug Something isn't working enhancement New feature or request

Comments

@kingthrillgore
Copy link

I noticed this when editing my site today, but the highlighting rules that Prism is supposed to apply are getting overloaded and match the site colors. This isn't really what I was intending and I am wondering what behavior could be causing this.

To help with debugging, I've opened the repo, which can be accessed here. It's mostly stock except for a CSS overload that changes the body colors.

@rhazdon rhazdon added bug Something isn't working enhancement New feature or request labels Apr 10, 2023
@venatiodecorus
Copy link

i'm also running into this. syntax highlighting was not working at all for solidity, and colors didn't look great in other snippets. i removed references to PrismJS from layouts/partial files and then I see my Pygment settings in config.toml are respected and snippets look much better. i believe i am on the latest version i just pulled my submodule. are there two syntax highlighters available? i'd rather not edit the theme directly if i can avoid it but currently this seems to be my only option to make highlighting look good.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants