A little premature and just shows how easily distracted I get … A thread on Twitter sent me down the long and windy road of writing a Go template formatter (with VS code extension) (for HTML templates only, for now) …
Still a little unfinished and not something you should/could install … yet.
This looks super useful, Bep!!
Yes please, been needing a formatter in vscode that works with Hugo templates!
Just a quick note that I think it’s going to be “not too long” before I post this to the public (mid next week?). I’m using it myself now, and it’s mostly working great (and I have been using it on some fairly complex/big templates). Thought I would take it to a place where I’m happy with the output before I push it to the world and start to get complains about “what? spaces and not tabs?”.
Oh, and looking at the before/after in these template formattings, I ask myself who I could do without this for so long …
Can’t wait! Thanks for developing this, it will be super useful.
This would be fantastic! Would it be difficult to include CSS templates as well?
@bep I’ve been looking for a feature like this since I started using hugo! This is great. Thank you for putting in the time to develop. Any update on when it will be released to the public?
Any update on this @bep?
This formatter would be super useful!
Still fighting with formatting markdown files with shortcodes
Unfortunately I don’t have any skills developing this kind of tool…
Any tip welcome ! (and I’m willing to actually give tips to some dev for that !)
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.