summaryrefslogtreecommitdiff
path: root/tests/testdata/fmt/badly_formatted_fixed.md
diff options
context:
space:
mode:
authorPig Fang <g-plane@hotmail.com>2024-08-10 00:52:23 +0800
committerGitHub <noreply@github.com>2024-08-09 18:52:23 +0200
commit82884348cb1b424a4c4452ef734bc4e760926b2f (patch)
treea64142bb68dc2509dd9ec421a9a88fcec1e6f65e /tests/testdata/fmt/badly_formatted_fixed.md
parent218ee1b1ffebbb53aa82c8ce55e7ee7061342249 (diff)
feat(fmt): support CSS, SCSS, Sass and Less (#24870)
This PR integrates [Malva](https://github.com/g-plane/malva) into `deno fmt`, which introduces the ability to format CSS, SCSS, Sass and Less files. On Linux x64 6.10, this PR increases about 800KiB: ``` ❯ wc -c target/release/deno 125168728 target/release/deno ❯ wc -c target/release/deno 124349456 target/release/deno ```
Diffstat (limited to 'tests/testdata/fmt/badly_formatted_fixed.md')
-rw-r--r--tests/testdata/fmt/badly_formatted_fixed.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/testdata/fmt/badly_formatted_fixed.md b/tests/testdata/fmt/badly_formatted_fixed.md
index 7a7d1913b..db2afc809 100644
--- a/tests/testdata/fmt/badly_formatted_fixed.md
+++ b/tests/testdata/fmt/badly_formatted_fixed.md
@@ -40,3 +40,9 @@ function foo(): number {
- item1
- item2
```
+
+```css
+#app > .btn {
+ color: #000;
+}
+```