| 1 | --- |
| 2 | name: vscode-extension |
| 3 | description: Manage slides visually in VS Code |
| 4 | --- |
| 5 | |
| 6 | # VS Code Extension |
| 7 | |
| 8 | Manage slides visually in VS Code. |
| 9 | |
| 10 | ## Installation |
| 11 | |
| 12 | Install from VS Code Marketplace: `antfu.slidev` |
| 13 | |
| 14 | ## Features |
| 15 | |
| 16 | - Preview slides in side panel |
| 17 | - Slides tree view |
| 18 | - Drag and drop to reorder slides |
| 19 | - Folding for slide blocks |
| 20 | - Multiple project support |
| 21 | - One-click dev server start |
| 22 | |
| 23 | ## Usage |
| 24 | |
| 25 | 1. Click `Slidev` icon in activity bar |
| 26 | 2. Projects tree shows all Slidev projects in workspace |
| 27 | 3. Slides tree shows slides in active project |
| 28 | 4. Preview panel shows live preview |
| 29 | |
| 30 | ## Commands |
| 31 | |
| 32 | Type `Slidev` in command palette to see available commands. |
| 33 | |
| 34 | ## Configuration |
| 35 | |
| 36 | Include specific files as Slidev entries: |
| 37 | |
| 38 | ```json |
| 39 | { |
| 40 | "slidev.include": ["**/presentation.md"] |
| 41 | } |
| 42 | ``` |
| 43 | |
| 44 | Custom dev command: |
| 45 | |
| 46 | ```json |
| 47 | { |
| 48 | "slidev.dev-command": "pnpm slidev ${args}" |
| 49 | } |
| 50 | ``` |
| 51 | |
| 52 | ## Placeholders |
| 53 | |
| 54 | - `${args}` - All CLI arguments |
| 55 | - `${port}` - Port number |
| 56 |