Export a Slidev presentation to PDF, PNG, or PPTX
Exports Slidev presentations to PDF, PNG, or PPTX format using playwright-chromium.
/plugin marketplace add clearfunction/claude-skills/plugin install cf-devtools@cf-devtools[format] pdf (default), png, or pptxslidev/Export the current Slidev presentation to: $ARGUMENTS (default: PDF)
Verify slides.md exists in the current directory or find the presentation file
Check dependencies:
# playwright-chromium is required for export
npm list playwright-chromium || npm install -D playwright-chromium
Run the appropriate export command:
PDF (default):
npx slidev export
PNG (one image per slide):
npx slidev export --format png
PPTX (PowerPoint):
npx slidev export --format pptx
Additional options (use if requested):
--dark - Export in dark mode--with-clicks - Separate page for each click animation--output filename - Custom output filenameReport the output location to the user (typically ./slides-export.pdf or similar)