create-slidev 51.7.0 → 51.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/template/package.json +1 -1
- package/template/slides.md +2 -3
package/package.json
CHANGED
package/template/package.json
CHANGED
package/template/slides.md
CHANGED
|
@@ -142,11 +142,10 @@ image: https://cover.sli.dev
|
|
|
142
142
|
|
|
143
143
|
Use code snippets and get the highlighting directly, and even types hover!
|
|
144
144
|
|
|
145
|
-
```ts {all|
|
|
145
|
+
```ts [filename-example.ts] {all|4|6|6-7|9|all} twoslash
|
|
146
146
|
// TwoSlash enables TypeScript hover information
|
|
147
147
|
// and errors in markdown code blocks
|
|
148
148
|
// More at https://shiki.style/packages/twoslash
|
|
149
|
-
|
|
150
149
|
import { computed, ref } from 'vue'
|
|
151
150
|
|
|
152
151
|
const count = ref(0)
|
|
@@ -155,7 +154,7 @@ const doubled = computed(() => count.value * 2)
|
|
|
155
154
|
doubled.value = 2
|
|
156
155
|
```
|
|
157
156
|
|
|
158
|
-
<arrow v-click="[4, 5]" x1="350" y1="310" x2="195" y2="
|
|
157
|
+
<arrow v-click="[4, 5]" x1="350" y1="310" x2="195" y2="342" color="#953" width="2" arrowSize="1" />
|
|
159
158
|
|
|
160
159
|
<!-- This allow you to embed external code blocks -->
|
|
161
160
|
<<< @/snippets/external.ts#snippet
|