Open dimaslanjaka opened 3 months ago
Is your feature request related to a problem? Please describe. I develop spring boot with thymeleaf engine using VSCode+Redhat Java. in thymeleaf has new element blocks like <th:block> (https://stackoverflow.com/a/68204022/6404439)
<th:block>
my prettierrc.json
{ "$schema": "https://json.schemastore.org/prettierrc", "printWidth": 120, "tabWidth": 2, "useTabs": false, "bracketSameLine": true, "bracketSpacing": true, "semi": true, "singleQuote": true, "trailingComma": "none", "endOfLine": "lf", "quoteProps": "as-needed", "htmlWhitespaceSensitivity": "css", "singleAttributePerLine": true, "overrides": [ { "excludeFiles": [ "*.min.js", "*.min.css", "*.min.html", "*.min.scss" ], "files": [ "*.js", "*.css", "*.sass", "*.html", "*.md", "*.ts" ], "options": { "semi": true } }, { "files": [ "*.ejs", "*.html" ], "options": { "parser": "html" } } ] }
Describe the solution you'd like I want format the html using Prettier VSCode Plugin.
Prettier VSCode Plugin
Additional context
error while formatting custom html tags <th:block/>
<th:block/>
successful without custom blocks
Is your feature request related to a problem? Please describe. I develop spring boot with thymeleaf engine using VSCode+Redhat Java. in thymeleaf has new element blocks like
<th:block>
(https://stackoverflow.com/a/68204022/6404439)my prettierrc.json
Describe the solution you'd like I want format the html using
Prettier VSCode Plugin
.Additional context
error while formatting custom html tags
<th:block/>
successful without custom blocks