Skip to content

0.14.0

Compare
Choose a tag to compare
@dantownsend dantownsend released this 09 Oct 07:30
· 38 commits to master since this release

When switching to dark mode, we automatically apply our own custom dark mode styles to code blocks.

This gives a great experience out of the box. However, if someone uses their own Pygments theme, they might want to use that theme in both light mode, and dark mode. They can now do so, using the dark_mode_code_blocks option.

# conf.py

html_theme_options = {
    "dark_mode_code_blocks": False
}