@slidev/docs 51.8.1 → 51.8.2

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/features/icons.md CHANGED
@@ -39,6 +39,10 @@ yarn add @iconify-json/[the-collection-you-want]
39
39
  bun add @iconify-json/[the-collection-you-want]
40
40
  ```
41
41
 
42
+ ```bash [deno]
43
+ deno add jsr:@iconify-json/[the-collection-you-want]
44
+ ```
45
+
42
46
  :::
43
47
 
44
48
  We use [Iconify](https://iconify.design) as our data source of icons. You need to install the corresponding icon-set in `dependencies` by following the `@iconify-json/*` pattern. For example, `@iconify-json/mdi` for [Material Design Icons](https://materialdesignicons.com/), `@iconify-json/tabler` for [Tabler](https://tabler-icons.io/). You can refer to [Icônes](https://icones.js.org/) or [Iconify](https://icon-sets.iconify.design/) for all the collections available.
@@ -32,6 +32,10 @@ yarn add -D prettier prettier-plugin-slidev
32
32
  bun add -D prettier prettier-plugin-slidev
33
33
  ```
34
34
 
35
+ ```bash [deno]
36
+ deno add -D npm:prettier npm:prettier-plugin-slidev
37
+ ```
38
+
35
39
  :::
36
40
 
37
41
  ## 2. Activate the plugin
@@ -34,6 +34,11 @@ bun dev --remote
34
34
  # i.e. slidev --remote
35
35
  ```
36
36
 
37
+ ```bash [deno]
38
+ deno run dev --remote
39
+ # i.e. slidev --remote
40
+ ```
41
+
37
42
  :::
38
43
 
39
44
  ## Password Protection
@@ -66,4 +71,9 @@ bun dev --remote --tunnel
66
71
  # i.e. slidev --remote --tunnel
67
72
  ```
68
73
 
74
+ ```bash [deno]
75
+ deno run dev --remote --tunnel
76
+ # i.e. slidev --remote --tunnel
77
+ ```
78
+
69
79
  :::
@@ -42,6 +42,10 @@ $ yarn add -D playwright-chromium
42
42
  $ bun add -D playwright-chromium
43
43
  ```
44
44
 
45
+ ```bash [deno]
46
+ $ deno add -D npm:playwright-chromium
47
+ ```
48
+
45
49
  :::
46
50
 
47
51
  ## Formats
package/guide/index.md CHANGED
@@ -69,6 +69,10 @@ yarn create slidev
69
69
  bun create slidev
70
70
  ```
71
71
 
72
+ ```bash [deno]
73
+ deno init --npm slidev
74
+ ```
75
+
72
76
  :::
73
77
 
74
78
  Follow the prompts to start your slides project. The slides content is in `slides.md`, which initially includes demos of most the Slidev features. For more information about the Markdown syntax, please check <LinkInline link="guide/syntax" />.
@@ -95,6 +99,10 @@ yarn global add @slidev/cli
95
99
  bun i -g @slidev/cli
96
100
  ```
97
101
 
102
+ ```bash [deno]
103
+ deno i -g npm:@slidev/cli --name slidev
104
+ ```
105
+
98
106
  :::
99
107
 
100
108
  Then, you can create and start a single file slides via:
package/guide/layout.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Slide Layout
2
2
 
3
- Layouts in Slidev are used to define the structure for each slides. They are Vue components that wrap the content of the slides.
3
+ Layouts in Slidev are used to define the structure for each slide. They are Vue components that wrap the content of the slides.
4
4
 
5
5
  ## Using Layouts {#use}
6
6
 
@@ -24,6 +24,10 @@ $ yarn create slidev-theme
24
24
  $ bun create slidev-theme
25
25
  ```
26
26
 
27
+ ```bash [deno]
28
+ $ deno init --npm slidev-theme
29
+ ```
30
+
27
31
  :::
28
32
 
29
33
  Then you can modify and play with it. You can also refer to the [official themes](../resources/theme-gallery#official-themes) as examples.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@slidev/docs",
3
3
  "type": "module",
4
- "version": "51.8.1",
4
+ "version": "51.8.2",
5
5
  "license": "MIT",
6
6
  "funding": "https://github.com/sponsors/antfu",
7
7
  "homepage": "https://sli.dev",
@@ -17,28 +17,28 @@
17
17
  ],
18
18
  "devDependencies": {
19
19
  "@antfu/utils": "^9.2.0",
20
- "@iconify/json": "^2.2.344",
21
- "@shikijs/vitepress-twoslash": "^3.4.2",
22
- "@types/node": "^22.15.29",
23
- "@unocss/reset": "^66.1.3",
20
+ "@iconify/json": "^2.2.348",
21
+ "@shikijs/vitepress-twoslash": "^3.6.0",
22
+ "@types/node": "^22.15.31",
23
+ "@unocss/reset": "^66.2.0",
24
24
  "@vueuse/core": "^13.3.0",
25
25
  "fast-glob": "^3.3.3",
26
26
  "gray-matter": "^4.0.3",
27
27
  "markdown-it": "^14.1.0",
28
- "shiki": "^3.4.2",
28
+ "shiki": "^3.6.0",
29
29
  "typeit": "8.1.0",
30
30
  "typescript": "^5.8.3",
31
- "unocss": "^66.1.3",
31
+ "unocss": "^66.2.0",
32
32
  "unplugin-icons": "^22.1.0",
33
33
  "unplugin-vue-components": "^28.7.0",
34
34
  "vite-plugin-inspect": "^11.1.0",
35
- "vitepress": "^2.0.0-alpha.5",
36
- "vitepress-plugin-group-icons": "^1.5.5",
37
- "vitepress-plugin-llms": "^1.3.4",
35
+ "vitepress": "^2.0.0-alpha.6",
36
+ "vitepress-plugin-group-icons": "^1.6.0",
37
+ "vitepress-plugin-llms": "^1.5.0",
38
38
  "vue": "^3.5.16",
39
- "@slidev/client": "51.8.1",
40
- "@slidev/types": "51.8.1",
41
- "@slidev/parser": "51.8.1"
39
+ "@slidev/parser": "51.8.2",
40
+ "@slidev/client": "51.8.2",
41
+ "@slidev/types": "51.8.2"
42
42
  },
43
43
  "scripts": {
44
44
  "dev": "vitepress",