
Slidev Export
- 139 installs
- 33 repo stars
- Updated January 30, 2026
- yoanbernabeu/slidev-skills
Export Slidev presentations to PDF, PPTX, PNG, or Markdown formats for sharing, printing, archiving, or PowerPoint compatibility without requiring Slidev to run.
About
slidev-export is a skill that guides developers through exporting Slidev presentations into shareable static formats including PDF, PPTX, PNG images, and Markdown. It covers the built-in browser exporter introduced in Slidev v0.50.0 and various configuration options for each format. Reach for this skill when your presentation is ready and you need to share it without requiring recipients to run Slidev, print it, or archive it.
- Export Slidev to PDF, PPTX, PNG, and Markdown formats
- Uses built-in browser exporter available since Slidev v0.50.0
- Create PDF handouts for audience distribution
- Convert presentations to PowerPoint compatibility
- Archive presentations for long-term static storage
Slidev Export by the numbers
- 139 all-time installs (skills.sh)
- +6 installs in the week ending Jul 28, 2026 (Skillselion tracking)
- Ranked #587 of 1,879 Documentation skills by installs in the Skillselion catalog
- Data as of Jul 28, 2026 (Skillselion catalog sync)
npx skills add https://github.com/yoanbernabeu/slidev-skills --skill slidev-exportAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 139 |
|---|---|
| repo stars | ★ 33 |
| Last updated | January 30, 2026 |
| Repository | yoanbernabeu/slidev-skills ↗ |
What it does
Export Slidev presentations to PDF, PPTX, PNG, or Markdown formats for sharing, printing, archiving, or PowerPoint compatibility without requiring Slidev to run.
Who is it for?
Presenters who need to share or distribute Slidev presentations in static formats
When should I use this skill?
You need to export a completed Slidev presentation to PDF, PPTX, or images
What you get
- PDF presentation
- PPTX file
- PNG slide images
Files
Exporting Slidev Presentations
This skill covers all export options in Slidev, including PDF, PPTX, PNG, and Markdown exports with various configuration options.
When to Use This Skill
- Sharing presentations without running Slidev
- Creating PDF handouts
- Archiving presentations
- Printing slides
- Converting to PowerPoint
Export Methods
Browser Exporter (Recommended)
Since v0.50.0, use the built-in browser exporter:
1. Run your presentation: npm run dev 2. Open the Export panel from navigation bar 3. Or navigate to: http://localhost:3030/export 4. Choose format and options 5. Click Export
CLI Export
Requires playwright-chromium:
npm install -D playwright-chromiumThen:
npx slidev exportExport Formats
PDF Export
Browser Method: 1. Open /export 2. Select "PDF" 3. Configure options 4. Download
CLI Method:
npx slidev exportOutput: ./slides-export.pdf
PPTX Export
Browser Method: 1. Open /export 2. Select "PPTX" 3. Download
CLI Method:
npx slidev export --format pptxOutput: ./slides-export.pptx
Note: Slides exported as images, presenter notes included.
PNG Export
CLI Method:
npx slidev export --format pngOutput: Individual PNG files in ./slides-export/ directory.
Markdown Export
npx slidev export --format mdCompiles Markdown with embedded PNG images.
CLI Options
Basic Options
| Option | Description |
|---|---|
--format | Export format: pdf, pptx, png, md |
--output | Output file/directory name |
--dark | Export in dark mode |
--with-clicks | Export each click as separate page |
--range | Export specific slides |
Examples
Custom output name:
npx slidev export --output my-presentationDark mode export:
npx slidev export --darkExport with clicks:
npx slidev export --with-clicksCreates separate pages for each animation step.
Specific slides:
npx slidev export --range 1,4-5,8Exports slides 1, 4, 5, and 8.
Advanced Options
Timeout Settings
For complex slides with animations:
npx slidev export --timeout 60000Increases timeout to 60 seconds.
Wait for Content
npx slidev export --wait 10000Waits 10 seconds before starting export.
Page Loading Strategy
npx slidev export --wait-until networkidleOptions: none, load, domcontentloaded, networkidle
Table of Contents
npx slidev export --with-tocGenerates PDF outline with slide titles.
Transparent Background (PNG)
npx slidev export --format png --omit-backgroundRemoves default white background.
Configuration in Frontmatter
Export Filename
---
exportFilename: my-awesome-presentation
---Download Button
---
download: true
---Shows download button in presentation.
Export with Source
---
download: 'https://example.com/slides.pdf'
---Links to pre-generated PDF.
Handling Click Animations
Without --with-clicks
Only final state of each slide exported.
With --with-clicks
Each click step becomes a separate page:
- Slide 1, Click 0 → Page 1
- Slide 1, Click 1 → Page 2
- Slide 1, Click 2 → Page 3
- Slide 2, Click 0 → Page 4
- etc.
Recommended for Handouts
Use --with-clicks for handouts so readers see progression.
Export Quality
PDF Resolution
npx slidev export --scale 2Higher scale = higher quality (and larger file).
PNG Resolution
npx slidev export --format png --scale 2Package.json Scripts
Add convenient scripts:
{
"scripts": {
"dev": "slidev --open",
"build": "slidev build",
"export": "slidev export",
"export:pdf": "slidev export --format pdf",
"export:pptx": "slidev export --format pptx",
"export:png": "slidev export --format png",
"export:dark": "slidev export --dark"
}
}Handling Export Issues
Fonts Not Rendering
1. Use web fonts (Google Fonts) 2. Or embed fonts in styles
Code Not Highlighting
1. Ensure Shiki loads before export 2. Use --wait option
Images Missing
1. Use absolute URLs or 2. Place in public/ directory
Animations Broken
Export doesn't include animations. Use --with-clicks to capture states.
Timeout Errors
npx slidev export --timeout 120000 --wait 5000Memory Issues
For large presentations:
NODE_OPTIONS="--max-old-space-size=4096" npx slidev exportExport vs Build
| Export | Build | |
|---|---|---|
| Output | PDF/PPTX/PNG | Static website |
| Interactive | No | Yes |
| Animations | Static captures | Working |
| Size | Smaller | Larger |
| Sharing | Email/Drive | Web hosting |
Best Practices
1. Test Export Early
Don't wait until presentation day:
npm run export2. Review PDF Thoroughly
Check:
- All slides included
- Code readable
- Images appear
- Colors correct
3. Use Consistent Aspect Ratio
Standard is 16:9. Don't change mid-presentation.
4. Simplify for Export
Some features don't export well:
- Videos → Use screenshots
- iframes → Use screenshots
- Complex animations → Simplify
5. Include Speaker Notes in PPTX
PPTX export includes notes automatically.
6. Version Your Exports
npx slidev export --output presentation-v1.2Export Workflow
For Conference Submission
# High-quality PDF
npx slidev export --with-toc --scale 2For Handouts
# Include all click states
npx slidev export --with-clicksFor Social Media
# Individual images
npx slidev export --format pngFor Archiving
# Multiple formats
npm run export:pdf
npm run export:pptx
npm run export:pngOutput Format
When exporting:
# EXPORT COMMAND:
npx slidev export [options]
# OPTIONS USED:
--format [pdf|pptx|png|md]
--output [filename]
--with-clicks (if needed)
--dark (if needed)
--range [slide numbers]
--timeout [ms]
--wait [ms]CHECKLIST BEFORE EXPORT:
- [ ] All slides render correctly
- [ ] Code blocks are readable
- [ ] Images load properly
- [ ] Fonts are correct
- [ ] Test export command works
OUTPUT FILES:
- PDF: ./[name].pdf
- PPTX: ./[name].pptx
- PNG: ./[name]/