If you want to auto format your content while saving, add the below code snippet in the work space settings of Visual Studio Code. Menu File→ Preferences→ Workspace Settings { // Controls if the editor should automatically format the line after typing "beautify.onSave": true,...
Beautify seems to format that as JavaScript. Install the Beautify extension Edit ~/.vscode/extensions/hookyqr.beautify-1.5.0/node_modules/js-beautify/js/src/html/beautifier.js (Linux/MacOS) or %USERPROFILE%\.vscode\extensions\hookyqr.beautify-1.5.0\node_modules\js-beautify\js\src\html\beautifie...