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 CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "create-slidev",
3
3
  "type": "module",
4
- "version": "51.7.0",
4
+ "version": "51.8.0",
5
5
  "description": "Create starter template for Slidev",
6
6
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
7
7
  "license": "MIT",
@@ -8,7 +8,7 @@
8
8
  "export": "slidev export"
9
9
  },
10
10
  "dependencies": {
11
- "@slidev/cli": "^51.7.0",
11
+ "@slidev/cli": "^51.8.0",
12
12
  "@slidev/theme-default": "latest",
13
13
  "@slidev/theme-seriph": "latest",
14
14
  "vue": "^3.5.14"
@@ -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|5|7|7-8|10|all} twoslash
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="334" color="#953" width="2" arrowSize="1" />
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