1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-27 01:29:14 -05:00
denoland-deno/tests/testdata/fmt/badly_formatted_fixed.md

59 lines
544 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>
```