Code highlighting problems with backticks vs highlight

I’m trying to convert from Jekyll (Octopress) to Hugo but I am stuck on the syntax highlighitng

Jekyll formatting:

Hugo (with monokai, which is fine) with just backticks like go ```` just is a black box (no styling). If I change it to java ``` or another language (besides go) it attempts to highlight it with mixed results.

If I change to use {{< highlight }} syntax, I end up with:

What am I missing? Any tips/things I should check?

I’m not certain but i think you need to use the following:

\```language
\code
\```

where you have 3 backticks, the name of the lanuage, then the code on a new line, then 3 backticks on a new line.