diff options
| author | Pig Fang <g-plane@hotmail.com> | 2024-08-15 04:58:48 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-14 22:58:48 +0200 |
| commit | 3a3315cc7f3466ce229f6f150402d5ccf72b3d1d (patch) | |
| tree | a0299679b2c1eb1cee496905caab380a95f22813 /tests/testdata/fmt/badly_formatted_fixed.html | |
| parent | 22a834ff5b4b312b8f91be8991f2b495d49fad2f (diff) | |
feat(fmt): support HTML, Svelte, Vue, Astro and Angular (#25019)
This commit adds capability to format HTML, Svelte, Vue, Astro and Angular
files.
"--unstable-html" is required to format HTML files, and "--unstable-component"
flag is needed to format other formats. These can also be specified in the config
file.
Close #25015
Diffstat (limited to 'tests/testdata/fmt/badly_formatted_fixed.html')
| -rw-r--r-- | tests/testdata/fmt/badly_formatted_fixed.html | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/testdata/fmt/badly_formatted_fixed.html b/tests/testdata/fmt/badly_formatted_fixed.html new file mode 100644 index 000000000..c0c06cd9b --- /dev/null +++ b/tests/testdata/fmt/badly_formatted_fixed.html @@ -0,0 +1,11 @@ +<div class="container">content</div> + +<script> + let counter = 0; +</script> + +<style> + .container { + padding: 8px; + } +</style> |
