export-presentation
Build a static SPA or export a Slidev presentation to PDF.
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Build a static SPA or export a Slidev presentation to PDF.
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
Analyze code-to-spec coverage in an Openspec project and generate a compliance score and report.
Update existing Openspec spec files to match the standard spec template format. Ensures consistency and completeness across all specs in a project.
Add Mermaid diagrams to a Slidev presentation slide.
Add new slides with various layouts to a Slidev presentation.
Initialize a new Slidev project with slides.md and configuration.
| name | export-presentation |
| description | Build a static SPA or export a Slidev presentation to PDF. |
| license | MIT |
| compatibility | Requires Slidev project with slides.md and pnpm. Playwright required for PDF export. |
| metadata | {"author":"user","version":"1.0","generatedBy":"copilot"} |
Description: Export your Slidev presentation as a static website (SPA) or PDF for sharing, deployment, or printing.
pnpm dev).pnpm build
./dist/ directory.npx serve dist
---
download: true # Add download PDF button
exportFilename: my-talk # Custom export filename
routerMode: hash # Use hash router for static hosts
---
pnpm add -D playwright-chromium
npx playwright install chromium
pnpm export
./slides-export.pdf by default.npx slidev export --output my-presentation.pdf
npx slidev export --dark
npx slidev export --with-clicks
npx slidev export --range 1-10
pnpm list playwright-chromium
pnpm add -D playwright-chromium
npx playwright install chromium
slides-export.pdf. To use a custom filename, run:
npx slidev export --output <custom-filename>.pdf
PDF export requires Playwright and Chromium.
Some advanced animations or transitions may not render identically in PDF.
Always cd to the correct presentation folder (where package.json and slides.md are located) before running any build or export commands:
cd presentations/your-presentation-folder