Go template language support #28849
fornellas-maze
started this conversation in
Extensions and Themes
Replies: 1 comment
-
|
Also lots of people use the Hugo static site generator, which uses Go templates. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
https://pkg.go.dev/text/template
Go templating is fairly common for lots of (infra) tooling. Eg for tf:
AFAIK ATM there's no language support for it, and having to edit such files without syntax highlight is... non optimal.
I reckon templating is tricky for syntax highlight. In this example, it is "sort of a yaml, with sort of bits of go inside", so at least some basic support for what's inside
{{ }}would be of big aid already.Beta Was this translation helpful? Give feedback.
All reactions