xianmin/hugo-theme-jane

Dark code block on white website

paskal opened this issue · 3 comments

Hi there!

I'm adding the following text to my post:

```yaml
# test
```

Here is what I see on the latest macOS with a dark theme both in Safari and Chrome:

image

White stripes point towards the fact that "background" is overwritten to white (#f8f5ec to be precise) somewhere but in the wrong place.

any fix for this? I'm seeing the same problem

Solution is in #133

You need to add those lines to your config.toml.

PygmentsUseClasses = true helped me, thanks for the hint!