1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-24 15:19:26 -05:00
denoland-deno/tests/testdata/fmt/badly_formatted_fixed.md
Pig Fang 82884348cb
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
```
2024-08-09 18:52:23 +02:00

433 B

Hello Markdown

console.log("Hello World");
console.log("Hello World2");
function hello(name: string) {
  console.log(name);
}

hello("alice");
function foo(): number {
  return 2;
}
{
  // Comment in JSON
  "key": "value",
  "key2": "value2"
}
{
  "numbers": ["1", "2"]
}
- item1
- item2
#app > .btn {
  color: #000;
}