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/specs/fmt/unstable_html/badly_formatted.html | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 tests/specs/fmt/unstable_html/badly_formatted.html (limited to 'tests/specs/fmt/unstable_html/badly_formatted.html') diff --git a/tests/specs/fmt/unstable_html/badly_formatted.html b/tests/specs/fmt/unstable_html/badly_formatted.html new file mode 100644 index 000000000..de7706ac7 --- /dev/null +++ b/tests/specs/fmt/unstable_html/badly_formatted.html @@ -0,0 +1,9 @@ +
content
+ + + + -- cgit v1.2.3