Example usage of syntax highlighting override #81
-
This section in the README mentions that the syntax highlighting style can be overridden. Are these overrides along the lines of this ? Can someone please share an example of what a modified |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
I updated the README to point to https://gohugo.io/content-management/syntax-highlighting/#generate-syntax-highlighter-css. Run that command with your preferred style name, then put the output in the appropriate light/dark CSS file. This is how the default styles were generated (the vscode themes, if I remember correctly). |
Beta Was this translation helpful? Give feedback.
-
It looks like there's just one style - "xcode" in the Chroma style gallery. Edit: Is this the list of all available styles? Edit 2: I think it is. |
Beta Was this translation helpful? Give feedback.
It used to show all the themes. You can still find them in the Wayback Machine: https://web.archive.org/web/20240225135545/https://xyproto.github.io/splash/docs/all.html