From 3a3315cc7f3466ce229f6f150402d5ccf72b3d1d Mon Sep 17 00:00:00 2001 From: Pig Fang Date: Thu, 15 Aug 2024 04:58:48 +0800 Subject: 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 --- tests/testdata/fmt/badly_formatted_fixed.html | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 tests/testdata/fmt/badly_formatted_fixed.html (limited to 'tests/testdata/fmt/badly_formatted_fixed.html') 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 @@ +
content
+ + + + -- cgit v1.2.3