hugo-theme-hello-friend-ng icon indicating copy to clipboard operation
hugo-theme-hello-friend-ng copied to clipboard

Code block colors are overriding PrismJS settings

Open kingthrillgore opened this issue 1 year ago • 1 comments

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.

kingthrillgore avatar Mar 30 '23 03:03 kingthrillgore

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.

venatiodecorus avatar Apr 19 '23 10:04 venatiodecorus