I’m using this shortcode to render a block of http output:
{{< highlight http >}}
I believe the http is valid syntactically (and ChatGPT agrees) but every line of the output is getting “flagged” for invalid syntax – see the screenshot below. Can anyone tell me either what’s wrong with the input or how to override syntax checking in this shortcode?
Thanks for responding. Please tell me where to find both pieces of information. I’m responsible for writing the content, and do not have very much knowledge of the internals. Thanks!
The site was built by an outside company; we no longer have a business relationship with them. However, I answered all of your questions except for “hugo version”. I would think that information would be relatively easy to dig out of a config file. But if you need to access the project repo, that’s a whole other thing.
Understood. Perhaps I don’t know which command line you mean.
I use a laptop with Windows to edit my portal. So I tried typing “hugo version” on the Windows command line… " ‘hugo’ is not recognized as an internal or external command, operable program or batch file."
So I’m stuck… and why I suggested that the Hugo version might be readable from one of the config files.
@jmooring Update with good news: Our system guru updated our Hugo from 0.101.0 to 0.115.2, and the code blocks with “HTTP/2 200 OK” render fine now. Thanks for your assistance!