Replies: 1 comment 1 reply
-
This looks like it's not using the correct configuration as the theme should be customising all these colours. I had a quick look at your repo and it seems like you're missing the Specifically, you need to ensure you have the parameter below set to false otherwise it will default to using the Hugo standard syntax highlighting. [highlight]
noClasses = false |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am currently moving my blog over to a Hugo installation with Congo. I have various code snippets in different languages. But as soon as I use any syntax highlighting (adding the language to ```) the contrast in light mode makes it almost unreadable:
Will render like this in light mode:
And like this in dark mode:
Dark mode rendering is fine but notice how the light mode makes the
where
keyboard almost unreadable.Do I need to properly configure Syntax Highlighting for it to work in both modes?
Note: leaving out the language works fine, but I prefer having code with custom syntax highlighting.
Beta Was this translation helpful? Give feedback.
All reactions