references/editor-vscode.md
GitHubVS Code Extension
Manage slides visually in VS Code.
Installation
Install from VS Code Marketplace: antfu.slidev
Features
- Preview slides in side panel
- Slides tree view
- Drag and drop to reorder slides
- Folding for slide blocks
- Multiple project support
- One-click dev server start
Usage
- Click
Slidevicon in activity bar - Projects tree shows all Slidev projects in workspace
- Slides tree shows slides in active project
- Preview panel shows live preview
Commands
Type Slidev in command palette to see available commands.
Configuration
Include specific files as Slidev entries:
{
"slidev.include": ["**/presentation.md"]
}
Custom dev command:
{
"slidev.dev-command": "pnpm slidev ${args}"
}
Placeholders
${args}- All CLI arguments${port}- Port number