Index of every page on this site: llms.txt
All skills
vite-hub avatar

/slidev

@8c10e89
by ViteHubvite-hub/drop9 stars
Run it yourself

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.

Use this Skill: https://skilld.dev/gh/vite-hub/drop/slidev

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

referencescore-exporting.md

≈626 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Exporting Slides

Export presentations to PDF, PPTX, PNG, or Markdown.

Browser Exporter

Access at http://localhost:3030/export:

  • Select format and options
  • Preview and download

CLI Export

Requires playwright:

pnpm add -D playwright-chromium

PDF Export

slidev export
slidev export --output my-slides.pdf

PowerPoint Export

slidev export --format pptx           # each slide as an image
slidev export --format pptx-editable  # native shapes, selectable text

pptx-editable measures the rendered slides and rebuilds them as PowerPoint shapes. SVG (including Mermaid), canvas, iframes, KaTeX formulas, gradients and CSS filters stay pictures, and any slide that cannot be rebuilt falls back to the image export on its own. Fonts are named, not embedded. --per-slide is not supported with it.

PNG Export

slidev export --format png
slidev export --format png --range 1-5

Markdown Export

slidev export --format md

Export Options

With Click Steps

Export each click as separate page:

slidev export --with-clicks

Dark Mode

slidev export --dark

Slide Range

slidev export --range 1,4-7,10

Table of Contents

PDF with clickable outline:

slidev export --with-toc

Timeout

For slow-rendering slides:

slidev export --timeout 60000

Wait

Wait before capture:

slidev export --wait 2000

Wait Until

Wait condition:

slidev export --wait-until networkidle   # Default
slidev export --wait-until domcontentloaded
slidev export --wait-until load
slidev export --wait-until none

Transparent Background

slidev export --omit-background

Custom Browser

slidev export --executable-path /path/to/chrome

Headmatter Options

---
exportFilename: my-presentation
download: true              # Add download button in build
export:
  format: pdf
  timeout: 30000
  withClicks: false
---

Troubleshooting

Missing Content

Increase wait time:

slidev export --wait 3000 --timeout 60000

Wrong Global Layer State

Use --per-slide or use slide-top.vue instead of global-top.vue.

Broken Emojis

Use system fonts or install emoji font on server.

CI/CD Export

Install playwright browsers:

npx playwright install chromium

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

1 warning10d3 checks · Risk SAFE
  • Gen Agent Trust Hub10d

    The skill provides a comprehensive guide for using Slidev, a developer-focused presentation tool, including its Model Context Protocol (MCP) server for AI agents. While it offers powerful features like live code execution and direct filesystem edits, these are standard functionalities for developers. However, the ability to read and modify files through the MCP server introduces an attack surface for indirect prompt injection.

  • Socket10d

    No alerts

  • Snyk10d

    Risk: MEDIUM · 1 issue

Signed by skilld at 8c10e89. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub yesterday.

Activeupdated last month

README badge

README badge for vite-hub/drop/slidev