| 1 | --- |
| 2 | foo: a |
| 3 | bar: 1 |
| 4 | --- |
| 5 | |
| 6 | # Example Slides |
| 7 | |
| 8 | **Hello** World |
| 9 | |
| 10 | [](./a) |
| 11 | |
| 12 | ```ts {a} |
| 13 | console.log('Hello World') |
| 14 | ``` |
| 15 | |
| 16 | --- |
| 17 | |
| 18 | # Import Snippets |
| 19 | |
| 20 | --- |
| 21 | src: ./pages.md |
| 22 | --- |
| 23 | |
| 24 | --- |
| 25 | |
| 26 | # Vue Component |
| 27 | |
| 28 | <div title="hi" /> |
| 29 | <Comp :x="a" /> |
| 30 | |
| 31 | <script setup lang="ts"> |
| 32 | import { ref } from 'vue' |
| 33 | let a = ref(1) |
| 34 | </script> |
| 35 | |
| 36 | --- |
| 37 | layout: center |
| 38 | text: 1 |
| 39 | --- |
| 40 | |
| 41 | # Code block |
| 42 | |
| 43 | ```ts {1,2|3} |
| 44 | const a = 1 |
| 45 | ``` |
| 46 | |
| 47 | ```ts twoslash |
| 48 | const a = 1 |
| 49 | ``` |
| 50 | |
| 51 | ```vue {monaco-run}{showOutputAt: '+1'} |
| 52 | <template> |
| 53 | <div /> |
| 54 | </template> |
| 55 | ``` |
| 56 | |
| 57 | ```ts {monaco-run}{showOutputAt: '+1'} twoslash |
| 58 | const a = 1 |
| 59 | const b = 2 |
| 60 | ``` |
| 61 | |
| 62 | $$ |
| 63 | \lambda = 1 |
| 64 | $$ |
| 65 | |
| 66 | --- |
| 67 | layout: center |
| 68 | text: 2 |
| 69 | --- |
| 70 | |
| 71 | # Magic Move |
| 72 | |
| 73 | ````md magic-move |
| 74 | ```ts |
| 75 | const a = 1 |
| 76 | ``` |
| 77 | |
| 78 | ```ts |
| 79 | const a = 1 |
| 80 | const b = 2 |
| 81 | const c = 3 |
| 82 | ``` |
| 83 | ```` |
| 84 |