I have been looking around the internet for a WebStorm plugin that will help with syntax-highlighting when working with Hugo. I have not been able to find one. Does anyone know of a Hugo WebStorm plugin that exists? Thanks for your help.
-
1do you mean github.com/spf13/hugo? What syntax do you have problems with? TOML? Markdown? Or?– lenaCommented May 23, 2017 at 14:57
-
Yes, spf13's Hugo. It would be specifically the Go Templating syntax that Hugo uses. It's an absolute mess as far as syntax highlighting and formatting goes.– Evan WielandCommented May 23, 2017 at 15:10
-
1Go is supported through Go plugin, but it doesn't yet support templates (youtrack.jetbrains.com/issue/GO-2953)– lenaCommented May 23, 2017 at 18:13
-
2So I guess I'm out of luck until that happens. I'll keep an eye on it, thanks!– Evan WielandCommented May 23, 2017 at 19:22
Add a comment
|
1 Answer
There is Go Template plugin from JetBrains. It allows to highlight and autocomplete the basic syntax at least. The plugin works with *.gohtml files, file extensions can be customised in "Editor/File Types" preferences.