Proper auto-format of golang code in HTML files

Hi everyone!

I’ve been busy working on starting up my site with Hugo, and so far having a lot of fun.

One small thing I’d like to be able to do, is to properly format the golang code within the HTML layout files. I realize this is not ideal, as it’s somewhat combining two different languages, but being able to auto indent properly would help make my code much more legible.

Just wondering if anyone had any tips for this. I’m currently using VSCode as my main editor.