create-slidev 0.49.15 → 0.49.17

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/build.mjs CHANGED
@@ -12,7 +12,7 @@ const shouldCreatePagesDict = () => !fs.existsSync(__pagesDir)
12
12
  // value: origin (relative ./template)
13
13
  const needCopyFiles = {
14
14
  'slides.md': '../../../demo/starter/slides.md',
15
- 'pages/multiple-entries.md': '../../../demo/starter/pages/multiple-entries.md',
15
+ 'pages/imported-slides.md': '../../../demo/starter/pages/imported-slides.md',
16
16
  'snippets/external.ts': '../../../demo/starter/snippets/external.ts',
17
17
  }
18
18
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "create-slidev",
3
3
  "type": "module",
4
- "version": "0.49.15",
4
+ "version": "0.49.17",
5
5
  "description": "Create starter template for Slidev",
6
6
  "author": "antfu <anthonyfu117@hotmail.com>",
7
7
  "license": "MIT",
@@ -4,8 +4,8 @@ To start the slide show:
4
4
 
5
5
  - `npm install`
6
6
  - `npm run dev`
7
- - visit http://localhost:3030
7
+ - visit <http://localhost:3030>
8
8
 
9
9
  Edit the [slides.md](./slides.md) to see the changes.
10
10
 
11
- Learn more about Slidev on [documentations](https://sli.dev/).
11
+ Learn more about Slidev at the [documentation](https://sli.dev/).
@@ -8,9 +8,9 @@
8
8
  "export": "slidev export"
9
9
  },
10
10
  "dependencies": {
11
- "@slidev/cli": "^0.49.15",
11
+ "@slidev/cli": "^0.49.17",
12
12
  "@slidev/theme-default": "latest",
13
13
  "@slidev/theme-seriph": "latest",
14
- "vue": "^3.4.31"
14
+ "vue": "^3.4.32"
15
15
  }
16
16
  }
@@ -1,4 +1,4 @@
1
- # Multiple Entries
1
+ # Imported Slides
2
2
 
3
3
  You can split your slides.md into multiple files and organize them as you want using the `src` attribute.
4
4
 
@@ -24,4 +24,4 @@ Page 2 from main entry.
24
24
  Page 2 from another file.
25
25
  ```
26
26
 
27
- [Learn more](https://sli.dev/guide/syntax.html#multiple-entries)
27
+ [Learn more](https://sli.dev/guide/syntax.html#importing-slides)
@@ -13,14 +13,12 @@ info: |
13
13
  Learn more at [Sli.dev](https://sli.dev)
14
14
  # apply unocss classes to the current slide
15
15
  class: text-center
16
- # https://sli.dev/custom/highlighters.html
17
- highlighter: shiki
18
- # https://sli.dev/guide/drawing
16
+ # https://sli.dev/features/drawing
19
17
  drawings:
20
18
  persist: false
21
- # slide transition: https://sli.dev/guide/animations#slide-transitions
19
+ # slide transition: https://sli.dev/guide/animations.html#slide-transitions
22
20
  transition: slide-left
23
- # enable MDC Syntax: https://sli.dev/guide/syntax#mdc-syntax
21
+ # enable MDC Syntax: https://sli.dev/features/mdc
24
22
  mdc: true
25
23
  ---
26
24
 
@@ -70,7 +68,7 @@ Read more about [Why Slidev?](https://sli.dev/guide/why)
70
68
 
71
69
  <!--
72
70
  You can have `style` tag in markdown to override the style for the current page.
73
- Learn more: https://sli.dev/guide/syntax#embedded-styles
71
+ Learn more: https://sli.dev/features/slide-scope-style
74
72
  -->
75
73
 
76
74
  <style>
@@ -107,7 +105,7 @@ Hover on the bottom-left corner to see the navigation's controls panel, [learn m
107
105
  | <kbd>up</kbd> | previous slide |
108
106
  | <kbd>down</kbd> | next slide |
109
107
 
110
- <!-- https://sli.dev/guide/animations.html#click-animations -->
108
+ <!-- https://sli.dev/guide/animations.html#click-animation -->
111
109
  <img
112
110
  v-click
113
111
  class="absolute -bottom-9 -left-7 w-80 opacity-50"
@@ -163,7 +161,7 @@ doubled.value = 2
163
161
  <<< @/snippets/external.ts#snippet
164
162
 
165
163
  <!-- Footer -->
166
- [^1]: [Learn More](https://sli.dev/guide/syntax.html#line-highlighting)
164
+ [^1]: [Learn More](https://sli.dev/guide/line-highlighting)
167
165
 
168
166
  <!-- Inline style -->
169
167
  <style>
@@ -368,7 +366,7 @@ also allows you to add
368
366
 
369
367
  <div mt-20 v-click>
370
368
 
371
- [Learn More](https://sli.dev/guide/animations#click-animations)
369
+ [Learn More](https://sli.dev/guide/animations#click-animation)
372
370
 
373
371
  </div>
374
372
 
@@ -472,7 +470,7 @@ $$ {1|3|all}
472
470
  \end{aligned}
473
471
  $$
474
472
 
475
- [Learn more](https://sli.dev/guide/syntax#latex)
473
+ [Learn more](https://sli.dev/features/latex)
476
474
 
477
475
  ---
478
476
 
@@ -550,7 +548,7 @@ database "MySql" {
550
548
 
551
549
  </div>
552
550
 
553
- [Learn More](https://sli.dev/guide/syntax.html#diagrams)
551
+ Learn More: [Mermaid Diagrams](https://sli.dev/guide/features/mermaid) and [PlantUML Diagrams](https://sli.dev/guide/features/plantuml)
554
552
 
555
553
  ---
556
554
  foo: bar
@@ -598,7 +596,7 @@ Double-click on the draggable elements to edit their positions.
598
596
  <v-drag-arrow pos="67,452,253,46" two-way op70 />
599
597
 
600
598
  ---
601
- src: ./pages/multiple-entries.md
599
+ src: ./pages/imported-slides.md
602
600
  hide: false
603
601
  ---
604
602