diff --git a/demo/starter/slides.md b/demo/starter/slides.md index 2f05a1bce4..f722da48fd 100644 --- a/demo/starter/slides.md +++ b/demo/starter/slides.md @@ -190,8 +190,9 @@ Powered by [shiki-magic-move](https://shiki-magic-move.netlify.app/), Slidev sup Add multiple code blocks and wrap them with ````md magic-move (four backticks) to enable the magic move. For example: -````md magic-move {at:0} -```ts +````md magic-move +```ts {*|2|*} +// step 1 const author = reactive({ name: 'John Doe', books: [ @@ -202,7 +203,8 @@ const author = reactive({ }) ``` -```ts +```ts {*|1-2|3-4|3-4,8} +// step 2 export default { data() { return { @@ -220,6 +222,7 @@ export default { ``` ```ts +// step 3 export default { data: () => ({ author: { @@ -237,6 +240,7 @@ export default { Non-code blocks are ignored. ```vue +