That must be controlled by a formatter. Which one are you using for html files?
this post was submitted on 30 Aug 2023
9 points (100.0% liked)
VS Code
788 readers
2 users here now
founded 1 year ago
MODERATORS
Hi, I'm using the one that is built-in.
I took a look in my vscode config. I didn't see any settings like that in the default html formatter. My best guess it's not possible.
If you're open to it, you could explore alternative formatters for html. Prettier is probably the most well known in general. But there are a bunch.
Thanks, might be worth a try.