Turns out the last commit didn't work because bobastyle.css has lower priority than the syntax CSS. But Hugo must've updated the styles upstream because it's fixed after regenerating.
This requires the following to be added to config.toml: [markup] [markup.highlight] noClasses = false lineNos = true