Skip to content

Underlining in syntax higlighting of code-blocks in dark mode #736

Closed Answered by dgw
MiroPalmu asked this question in Potential Issue
Discussion options

You must be logged in to vote

Huh, I stand corrected. Furo sets "native" as the default dark-mode code theme, and that's where the underline comes from.

furo/src/furo/__init__.py

Lines 376 to 378 in d14286c

app.add_config_value(
"pygments_dark_style", default="native", rebuild="env", types=[str]
)

And pygments_dark_style isn't a default option in Sphinx, either:

- Add (custom) support for `pygments_dark_style`.

So I must apologize. This particular style (the dark mode highlighting) is a Furo default that could be changed!

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@MiroPalmu
Comment options

@dgw
Comment options

Answer selected by MiroPalmu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants