Skip to content

Commit d76850d

Browse files
authored
feat: improve slidev skill (#2479)
1 parent c8a7b7d commit d76850d

1 file changed

Lines changed: 10 additions & 4 deletions

File tree

skills/slidev/SKILL.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
name: slidev
3-
description: Create and present web-based slides for developers using Markdown, Vue components, code highlighting, animations, and interactive features. Use when building technical presentations, conference talks, or teaching materials.
3+
description: Create and present web-based slidedecks for developers using Slidev with Markdown, Vue components, code highlighting, animations, and interactive features. Use when building technical presentations, conference talks, code walkthroughs, teaching materials, or developer decks.
44
---
55

66
# Slidev - Presentation Slides for Developers
@@ -9,21 +9,25 @@ Web-based slides maker built on Vite, Vue, and Markdown.
99

1010
## When to Use
1111

12-
- Technical presentations with live code examples
12+
- Technical presentations or slidedecks with live code examples
1313
- Syntax-highlighted code snippets with animations
1414
- Interactive demos (Monaco editor, runnable code)
1515
- Mathematical equations (LaTeX) or diagrams (Mermaid, PlantUML)
1616
- Record presentations with presenter notes
1717
- Export to PDF, PPTX, or host as SPA
18+
- Code walkthroughs for developer talks or workshops
1819

1920
## Quick Start
2021

2122
```bash
2223
pnpm create slidev # Create project
23-
pnpm run dev # Start dev server
24-
pnpm run export # Export to PDF
24+
pnpm run dev # Start dev server (opens http://localhost:3030)
25+
pnpm run build # Build static SPA
26+
pnpm run export # Export to PDF (requires playwright-chromium)
2527
```
2628

29+
**Verify**: After `pnpm run dev`, confirm slides load at `http://localhost:3030`. After `pnpm run export`, check the output PDF exists in the project root.
30+
2731
## Basic Syntax
2832

2933
```md
@@ -144,6 +148,8 @@ Presenter notes go here
144148
| OG image | `seoMeta.ogImage` or `og-image.png` | [build-og-image](references/build-og-image.md) |
145149
| SEO tags | `seoMeta:` | [build-seo-meta](references/build-seo-meta.md) |
146150

151+
**Export prerequisite**: `pnpm add -D playwright-chromium` is required for PDF/PPTX/PNG export. If export fails with a browser error, install this dependency first.
152+
147153
### Editor & Tools
148154

149155
| Feature | Usage | Reference |

0 commit comments

Comments
 (0)