I needed a better syntax highlighter than Chroma on Hugo because its Powershell support is laughably bad. There were several that add a bunch of steps every once in a while, but I didn’t super love doing the steps. Then I found that my theme (Blackburn) has native support for highlight.js (which has a much better Powershell parser). This made it as easy as adding a param to my config.toml file:
[params]
highlightjs = "base16/summerfruit-dark"
And I was done. I used the handy highlight.js styles demo to go through a bunch of styles. Here are a few that I thought were good for Powershell:
# Black
highlightjs = "base16/summerfruit-dark"
highlightjs = "base16/windows-10"
highlightjs = "base16/ir-black"
highlightjs = "base16/isotope"
highlightjs = "base16/atelier-forest"
highlightjs = "base16/atelier-seaside"
highlightjs = "devibeans"
# Nonblack
highlightjs = "base16/monokai"
highlightjs = "base16/solar-flare"
highlightjs = "base16/material"
highlightjs = "base16/outrun-dark"
highlightjs = "base16/outrun-dark"
highlightjs = "base16/seti-ui"
highlightjs = "base16/tender"
# Other
highlightjs = "base16/woodland"