2021-01-19 12:39:35 -05:00
|
|
|
# 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;
|
|
|
|
}
|
|
|
|
```
|
2021-02-18 11:31:32 -05:00
|
|
|
|
|
|
|
```jsonc
|
|
|
|
{
|
|
|
|
// Comment in JSON
|
|
|
|
"key": "value",
|
|
|
|
"key2": "value2"
|
|
|
|
}
|
|
|
|
```
|
|
|
|
|
|
|
|
```json
|
|
|
|
{
|
|
|
|
"numbers": ["1", "2"]
|
|
|
|
}
|
|
|
|
```
|
2024-08-02 08:12:51 -04:00
|
|
|
|
|
|
|
```yaml
|
|
|
|
- item1
|
|
|
|
- item2
|
|
|
|
```
|
2024-08-09 12:52:23 -04:00
|
|
|
|
|
|
|
```css
|
|
|
|
#app > .btn {
|
|
|
|
color: #000;
|
|
|
|
}
|
|
|
|
```
|
2024-08-14 16:58:48 -04:00
|
|
|
|
|
|
|
```html
|
|
|
|
<div class="container">content</div>
|
|
|
|
```
|
|
|
|
|
|
|
|
```svelte
|
|
|
|
<script lang="ts">
|
|
|
|
let a: number;
|
|
|
|
</script>
|
|
|
|
```
|