1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-28 16:20:57 -05:00
denoland-deno/tests/testdata/fmt/badly_formatted_fixed.md
João Baptista c55e936be0
feat(fmt): support SQL (#26750)
This commit adds support for .sql files in "deno fmt" subcommand.

Closes: https://github.com/denoland/deno/issues/25024
---------

Signed-off-by: m4rc3l05 <15786310+M4RC3L05@users.noreply.github.com>
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2024-11-19 21:01:16 +00:00

73 lines
661 B
Markdown

# Hello Markdown
```js
console.log("Hello World");
```
```javascript
console.log("Hello World2");
```
```ts
function hello(name: string) {
console.log(name);
}
hello("alice");
```
```typescript
function foo(): number {
return 2;
}
```
```jsonc
{
// Comment in JSON
"key": "value",
"key2": "value2"
}
```
```json
{
"numbers": ["1", "2"]
}
```
```yaml
- item1
- item2
```
```css
#app > .btn {
color: #000;
}
```
```html
<div class="container">content</div>
```
```svelte
<script lang="ts">
let a: number;
</script>
```
```sql
SELECT
*,
biz,
buz
FROM
baz;
```
```sql
-- deno-fmt-ignore-file
seLect * , biz, buz
from baz;
```