create-slidev 0.42.11 → 0.43.0-beta.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,6 +1,6 @@
1
1
  {
2
2
  "name": "create-slidev",
3
- "version": "0.42.11",
3
+ "version": "0.43.0-beta.0",
4
4
  "description": "Create starter template for Slidev",
5
5
  "author": "antfu <anthonyfu117@hotmail.com>",
6
6
  "license": "MIT",
@@ -16,7 +16,7 @@
16
16
  "create-slidev": "index.js"
17
17
  },
18
18
  "engines": {
19
- "node": ">=14.0.0"
19
+ "node": ">=18.0.0"
20
20
  },
21
21
  "dependencies": {
22
22
  "execa": "^5.1.1",
@@ -7,7 +7,7 @@
7
7
  "export": "slidev export"
8
8
  },
9
9
  "dependencies": {
10
- "@slidev/cli": "^0.42.11",
10
+ "@slidev/cli": "^0.43.0-beta.0",
11
11
  "@slidev/theme-default": "latest",
12
12
  "@slidev/theme-seriph": "latest"
13
13
  }
@@ -87,11 +87,11 @@ layout: default
87
87
 
88
88
  # Table of contents
89
89
 
90
- ```
91
- <Toc minDepth="1" maxDepth="5"></Toc>
90
+ ```html
91
+ <Toc minDepth="1" maxDepth="1"></Toc>
92
92
  ```
93
93
 
94
- <Toc></Toc>
94
+ <Toc maxDepth="1"></Toc>
95
95
 
96
96
  ---
97
97
  transition: slide-up
@@ -144,7 +144,7 @@ function updateUser(id: number, update: User) {
144
144
  }
145
145
  ```
146
146
 
147
- <arrow v-click="3" x1="400" y1="420" x2="230" y2="330" color="#564" width="3" arrowSize="1" />
147
+ <arrow v-click="[3, 4]" x1="400" y1="420" x2="230" y2="330" color="#564" width="3" arrowSize="1" />
148
148
 
149
149
  [^1]: [Learn More](https://sli.dev/guide/syntax.html#line-highlighting)
150
150