I’m trying to set a default highlighting theme for my site by placing pygmentsStyle = "solarized-light" into my config.toml file. Neither this nor pygmentsOptions = "style=solarized-light" is working.
I’d like this to theme both the codefences and the highlight shortcodes. Could the problem be theme related or am I doing it all wrong?
I assume you have set pygmentsuseclasses = false – meaning inline CSS styles.
So the syntax of pygmentsStyle = "solarized-light" is correct, but I suggest you try some other on https://xyproto.github.io/splash/docs/ and see if they have an effect. Maybe one is missing.
Thank you @bep. Although not the cause, do you suggest I set pygmentsuseclasses = false anyway? I did use what I think translates to inline CSS and was able to get the style to work on a per usage basis. It looked like this: