The “Joe asks: Does Hugo Support Syntax Highlighting for Code” has a formatting mistake:
$ hugo gen chromastyles --style=github > syntax.css
should be
$ hugo gen chromastyles --style=github > syntax.css
(>
→ >
)
It also does not explicitly say where the syntax.css
file should go - it should go under themes/basic/static/css
.