I try to use a custom render hook defined at layouts\_markup\render-codeblock-go-template.html
But it is not called. Thought it might be because it’s a known language for Chroma
. But testing a little it turned out that
render-codeblock-x-y.html
won’t be called, too.- I can override known style
render-codeblock-xml.html
looks like language names with a dash inside won’t work.
Do I miss something here?
hugo v0.148.1
p.s. I can use a conditional in the generic render-codeblock.html
just wanted to make sure if it should work with the hook