Style code blocks
uses
22 Code highlighting
Fenced code in Markdown comes out with Chroma classes and no colors. Generate a stylesheet for a theme you like:
hugo gen chromastyles --style=monokai > _assets/chroma.css
or with Chroma's own CLI, and link it from your layout. Or write a few rules yourself; see Code highlighting .