Command Palette

Search for a command to run...

UnylyUnyly
Back to skills

slidev

FreeNo executable scriptsNot checked

Create and present web-based slidedecks for developers using Slidev with Markdown, Vue components, code highlighting, animations, and interactive features…

slidevjsby slidevjs★ 49,702 GitHub stars16 installs in other catalogs

About this skill

Slidev - Presentation Slides for Developers

Web-based slides maker built on Vite, Vue, and Markdown.

When to Use

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

Prerequisites

Slidev is a Node.js project. Before creating or running a deck, check that the machine has:

  • Node.js >= 22.12.0: node -v. If it is missing or older, install the LTS release from https://nodejs.org or use a version manager such as nvm or fnm.
  • pnpm (recommended package manager): pnpm -v. If it is missing, run npm i -g pnpm or corepack enable. npm, yarn, and bun also work; replace pnpm in the commands below.

Do not assume a development setup exists. If either check fails, walk the user through the installation before running any Slidev command.

Quick Start

pnpm create slidev    # Create project
pnpm run dev          # Start dev server (opens http://localhost:3030)
pnpm run build        # Build static SPA
pnpm run export       # Export to PDF (requires playwright-chromium)

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.

Basic Syntax

---
theme: default
title: My Presentation
---

# First Slide

Content here

---

# Second Slide

More content

<!--
Presenter notes go here
-->
  • --- separates slides
  • First frontmatter = headmatter (deck config)
  • HTML comments = presenter notes

Core References

Topic Description Reference
Markdown Syntax Slide separators, frontmatter, notes, code blocks core-syntax
Animations v-click, v-clicks, motion, transitions core-animations
Headmatter Deck-wide configuration options core-headmatter
Frontmatter Per-slide configuration options core-frontmatter
CLI Commands Dev, build, export, theme commands core-cli
Components Built-in Vue components core-components
Layouts Built-in slide layouts core-layouts
Exporting PDF, PPTX, PNG export options core-exporting
Hosting Build and deploy to various platforms core-hosting
Global Context $nav, $slidev, composables API core-global-context

Feature Reference

Code & Editor

Feature Usage Reference
Line highlighting ```ts {2,3} code-line-highlighting
Click-based highlighting ```ts {1|2-3|all} code-line-highlighting
Line numbers lineNumbers: true or {lines:true} code-line-numbers
Scrollable code {maxHeight:'100px'} code-max-height
Code tabs ::code-group (requires comark: true) code-groups
Monaco editor ```ts {monaco} editor-monaco
Run code ```ts {monaco-run} editor-monaco-run
Edit files <<< ./file.ts {monaco-write} editor-monaco-write
Code animations ````md magic-move code-magic-move
TypeScript types ```ts twoslash code-twoslash
Import code <<< @/snippets/file.js code-import-snippet

Diagrams & Math

Feature Usage Reference
Mermaid diagrams ```mermaid diagram-mermaid
PlantUML diagrams ```plantuml diagram-plantuml
LaTeX math $inline$ or $$block$$ diagram-latex

Layout & Styling

Feature Usage Reference
Canvas size canvasWidth, aspectRatio layout-canvas-size
Zoom slide zoom: 0.8 layout-zoom
Scale elements <Transform :scale="0.5"> layout-transform
Layout slots ::right::, ::default:: layout-slots
Scoped CSS <style> in slide style-scoped
Global layers `global-to
Full SKILL.md on GitHub

Install slidev in Claude Code & Claude Desktop

Sign up to install this skill

Create a free account to reveal the install command and save the skill to your library.

  • Reveal the one-line install command
  • Save skills to your synced library
  • Get notified when skills update
Sign up freeI already have an account

Allowed tools

Tools this skill is permitted to call.

No restriction — this skill can use any tool.

Bundled files

README.mdreferences/animation-click-marker.mdreferences/animation-drawing.mdreferences/animation-rough-marker.mdreferences/api-slide-hooks.mdreferences/build-og-image.mdreferences/build-pdf.mdreferences/build-remote-assets.mdreferences/build-seo-meta.mdreferences/code-groups.mdreferences/code-import-snippet.mdreferences/code-line-highlighting.mdreferences/code-line-numbers.mdreferences/code-magic-move.mdreferences/code-max-height.mdreferences/code-twoslash.mdreferences/core-animations.mdreferences/core-cli.mdreferences/core-components.mdreferences/core-exporting.mdreferences/core-frontmatter.mdreferences/core-global-context.mdreferences/core-headmatter.mdreferences/core-hosting.mdreferences/core-layouts.mdreferences/core-syntax.mdreferences/diagram-latex.mdreferences/diagram-mermaid.mdreferences/diagram-plantuml.mdreferences/editor-monaco-run.mdreferences/editor-monaco-write.mdreferences/editor-monaco.mdreferences/editor-prettier.mdreferences/editor-side.mdreferences/editor-vscode.mdreferences/layout-canvas-size.mdreferences/layout-draggable.mdreferences/layout-global-layers.mdreferences/layout-slots.mdreferences/layout-transform.md

FAQ

What does the slidev skill do?

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.

How do I install the slidev skill?

Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.

Does the slidev skill run scripts?

No, this skill is instructions only (SKILL.md) with no executable scripts.

Related skills

Compare slidev with