1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-11 18:17:48 -05:00
denoland-deno/tests/testdata/fmt/badly_formatted_fixed.md

74 lines
661 B
Markdown
Raw Normal View History

# 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"]
}
```
2024-08-02 08:12:51 -04:00
```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;
```