Open sn0ot opened 3 years ago
No worries! I'm going to check the syntax highlighting; changing its theme is definitely something that should be added to this theme's readme.
The way you described to change the theme is correct. The Hugo documentation shows this. And there are many themes to choose from.
To completely customise your style, you probably need to do something like this. But I don't think it's necessary to include this in the theme. I can add a piece to the README about syntax highlighting and I should probably remove _syntax.scss
from the theme to avoid confusion in the future, if it isn't being used anyway.
Changing values in
_syntax.scss
has no effect on the code's syntax highlights.When building the site, the default style is always "monokai" as mentioned in Hugo's Configure Markdown Goldmark Highlight section.
The only way I've managed to change theme is by including the following in
config.toml
Is there a parameter that needs to be set in
config.toml
to use what is defined in_syntax.scss
? It is not mentioned in theREADME
. sorry for the noob issues :|