slidev
БесплатноБез исполняемых скриптовНе проверенComprehensive guide for Slidev - a web-based presentation framework for developers. Covers Markdown syntax, layouts, components, animations, theming, and…
от nicepkg★ 298 звёзд на GitHubОб этом скилле
Slidev
Overview
Slidev is a presentation platform for developers that enables creating slides using Markdown while leveraging Vue and web technologies for interactive, pixel-perfect designs. This skill provides complete guidance for creating, customizing, and exporting Slidev presentations.
Use this skill when:
- Creating new developer presentations
- Working with Markdown-based slides
- Adding interactive components and animations
- Customizing slide layouts and themes
- Integrating code blocks with syntax highlighting
- Exporting presentations to PDF, PPTX, or PNG
- Setting up Slidev projects
Official LLM Documentation
For complete API reference, advanced features, or edge cases not covered here, fetch the official LLM-optimized documentation:
https://sli.dev/llms-full.txt
Quick Start
Installation and Setup
Create a new Slidev presentation:
# Using pnpm (recommended)
pnpm create slidev
# Using npm
npm init slidev
# Using yarn
yarn create slidev
# Using bun
bun create slidev
Or try online at https://sli.dev/new (StackBlitz)
Essential Commands
Start development server:
slidev
# or specify entry file
slidev slides.md
Build for production:
slidev build
Export to PDF:
slidev export
Export to other formats:
slidev export --format pptx
slidev export --format png
slidev export --format md
Format slides:
slidev format
Markdown Syntax
Slide Separators
Separate slides with --- padded by blank lines:
# Slide 1
Content here
---
# Slide 2
More content
Frontmatter and Headmatter
Configure entire deck with headmatter (first YAML block):
---
theme: default
background: https://cover.sli.dev
title: My Presentation
info: |
## Slidev Starter
Presentation slides for developers
class: text-center
highlighter: shiki
---
Configure individual slides with frontmatter:
---
layout: center
background: ./images/bg.jpg
class: text-white
---
# Centered Slide
Content here
Code Blocks
Code with syntax highlighting:
```ts
console.log('Hello, World!')
```
With line numbers:
```ts {lines:true}
function greet(name: string) {
console.log(`Hello, ${name}!`)
}
```
With line highlighting:
```ts {2,4-6}
function calculate() {
const x = 10 // highlighted
const y = 20
const sum = x + y // highlighted
const product = x * y // highlighted
const difference = x - y // highlighted
return sum
}
```
Presenter Notes
Add notes at the end of slides using comment blocks:
# Slide Title
Content visible to audience
<!--
Notes for presenter only
Can include **markdown** and HTML
-->
Layouts
Using Layouts
Specify layout in frontmatter:
---
layout: cover
---
# Presentation Title
Built-in Layouts
Basic Layouts:
default- Standard layout for any contentcenter- Centers content on screencover- Opening slide for presentationsend- Closing slidenone- Unstyled layout
Content Layouts:
intro- Introduction with title and author detailssection- Marks new presentation sectionsquote- Displays quotations with emphasisfact- Highlights data or facts prominentlystatement- Features affirmations as main contentfull- Utilizes entire screen space
Image Layouts:
image- Full-screen image displayimage-left- Image on left, content on rightimage-right- Image on right, content on left
Iframe Layouts:
iframe- Full-screen web page embeddingiframe-left- Web page on left sideiframe-right- Web page on right side
Multi-Column Layouts:
two-cols- Two-column content separationtwo-cols-header- Header spanning both columns with left/right split
Two-Column Layout Example
---
layout: two-cols
---
# Left Column
Content for left side
::right::
# Right Column
Content for right side
Two-Column with Header
---
layout: two-cols-header
---
# Header Across Both Columns
::left::
Left column content
::right::
Right column content
Components
Built-in Components
Navigation:
<Link>- Navigate between slides<Arrow>- Directional lines with customization<VDragArrow>- Draggable arrows
Text:
<AutoFitText>- Auto-sizing text to fit container<TitleRenderer>- Display parsed slide titles<Toc>- Table of contents generation
Media:
<Youtube>- Embed YouTube videos<Tweet>- Embed Twitter posts<SlidevVideo>- HTML5 video with autoplay
Utilities:
<SlideCurrentNo>- Current slide number<SlidesTotal>- Total slide count<Transform>- Scaling and transformation<LightOrDark>- Theme-based content rendering<RenderWhen>- Conditional rendering by context<VSwitch>- Cycle between content on click<VDrag>- Draggable functionality
Component Usage Examples
Установить slidev в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл slidev?
Comprehensive guide for Slidev - a web-based presentation framework for developers. Covers Markdown syntax, layouts, components, animations, theming, and exporting. Use this skill when creating or working with developer presentations using Slidev.
Как установить скилл slidev?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл slidev запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic