Skip to content

pygments_style background ignored #2081

@rtimms

Description

@rtimms

I may be doing something wrong, but simply setting

pygments_style = "xcode"
pygments_style_dark = "github-dark"

in conf.py results in notebook cells displaying with the wrong background color in dark mode. Are there other settings I should be editing too?

Light mode looks as expected:
Screenshot 2024-11-25 at 13 09 25

Dark mode has a light background instead of dark:
Screenshot 2024-11-25 at 13 09 18

Thanks!

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions