I have already tried almost everything to activate syntax highlighting, unfortunately I only see the normal text without highlighting. Do you have any idea where the error is? Is there any way to debug pygmentize? Thank you and best regards!
What I did:
Installed the packages
apt install python-pygments python3-pygments
As user
pip install pygments
pygmentize is in the $PATH
Created the CSS file
hugo gen chromastyles --style=monokai > static/css/syntax.css
config.toml
pygmentsUseClassic = false
pygmentsCodeFences = true
pygmentsCodeFencesGuessSyntax = true
pygmentsUseClasses = true
hugo env
Hugo Static Site Generator v0.51 linux/amd64 BuildDate: 2018-11-07T10:10:13Z
GOOS="linux"
GOARCH="amd64"
GOVERSION="go1.11"
hugo config | grep pyg
pygmentscodefences = true
pygmentscodefencesguesssyntax = true
pygmentsoptions = ""
pygmentsstyle = "monokai"
pygmentsuseclasses = true
pygmentsuseclassic = false