オプション

Markdown、Vue コンポーネント、コードのハイライト、アニメーション、インタラクティブな機能を用いて Slidev で Web ベースのスライドデックを作成し、提示してください。技術的なプレゼンテーション、カンファレンスの講演、コードのウォークスルー、教材、または開発者向けデックに最適です。

...すべて拡張します
6
更新された時間 2026年9月7日

Slidev - 開発者向けプレゼンテーションスライド

Vite、Vue、Markdown を基盤とした Web ベースのスライド作成ツール。

使用場面

  • リアルタイムのコード例を含む技術的なプレゼンテーションやスライド資料
  • アニメーション付きの構文強調コードスニペット
  • インタラクティブなデモ(Monaco エディタ、実行可能なコード)
  • 数式(LaTeX)や図表(Mermaid、PlantUML)
  • プレゼンターノート付きのプレゼンテーション録画
  • PDF、PPTX へのエクスポート、または SPA としてホスト
  • 開発者向けトークやワークショップでのコード解説

クイックスタート

pnpm create slidev    # プロジェクトの作成
pnpm run dev          # 開発サーバーの起動(http://localhost:3030 を開く)
pnpm run build        # 静的 SPA のビルド
pnpm run export       # PDF へのエクスポート(playwright-chromium が必要)

確認: pnpm run dev 実行後、http://localhost:3030 でスライドが読み込まれることを確認してください。pnpm run export 実行後、プロジェクトルートに出力された PDF が存在することを確認してください。

基本構文

---
theme: default
title: 私のプレゼンテーション
---

# 最初のスライド

ここにはコンテンツ

---

# 2 番目のスライド

さらにコンテンツ


  • --- はスライドを区切ります
  • 最初のフロントマター = ヘッドマター(デッキ設定)
  • HTML コメント = プレゼンターノート

コアリファレンス

トピック説明リファレンス
Markdown 構文スライド区切り、フロントマター、ノート、コードブロックcore-syntax
アニメーションv-click、v-clicks、motion、トランジションcore-animations
ヘッドマターデッキ全体の設定オプションcore-headmatter
フロントマタースライドごとの設定オプションcore-frontmatter
CLI コマンド開発、ビルド、エクスポート、テーマコマンドcore-cli
コンポーネント組み込み Vue コンポーネントcore-components
レイアウト組み込みスライドレイアウトcore-layouts
エクスポートPDF、PPTX、PNG エクスポートオプションcore-exporting
ホスティング各種プラットフォームへのビルドとデプロイcore-hosting
グローバルコンテキスト$nav、$slidev、composables APIcore-global-context

機能リファレンス

コードとエディタ

機能使用方法リファレンス
行の強調表示````ts {2,3}`code-line-highlighting
クリックベースの強調表示````ts {1|2-3|all}`code-line-highlighting
行番号`lineNumbers: true` または `{lines:true}`code-line-numbers
スクロール可能なコード`{maxHeight:'100px'}`code-max-height
コードタブ`::code-group`(`comark: true` が必要)code-groups
Monaco エディタ````ts {monaco}`editor-monaco
コードの実行````ts {monaco-run}`editor-monaco-run
ファイルの編集``editor-monaco-write
コードアニメーション`````md magic-move`code-magic-move
TypeScript 型````ts twoslash`code-twoslash
コードのインポート``code-import-snippet

図表と数式

機能使用方法リファレンス
Mermaid 図表````mermaid`diagram-mermaid
PlantUML 図表````plantuml`diagram-plantuml
LaTeX 数式`$inline$` または `$$block$$`diagram-latex

レイアウトとスタイリング

機能使用方法リファレンス
キャンバスサイズ`canvasWidth`、`aspectRatio`layout-canvas-size
スライドのズーム`zoom: 0.8`layout-zoom
要素のスケール``layout-transform
レイアウトスロット`::right::`、`::default::`layout-slots
スコープ CSSスライド内 ``style-scoped
グローバルレイヤー`global-top.vue`、`global-bottom.vue`layout-global-layers
ドラッグ可能な要素`v-drag`、``layout-draggable
アイコン``style-icons

アニメーションとインタラクション

機能使用方法リファレンス
クリックアニメーション`v-click`、``core-animations
Rough マーカー`v-mark.underline`、`v-mark.circle`animation-rough-marker
描画モード`C` キーを押すか、設定 `drawings:`animation-drawing
方向スタイル`forward:delay-300`style-direction
ノートの強調表示ノート内 `[click]`animation-click-marker

構文拡張

機能使用方法リファレンス
Comark 構文`comark: true` + `{style="color:red"}`syntax-comark
ブロックフロントマター`---` の代わりに ````yaml`syntax-block-frontmatter
スライドのインポート`src: ./other.md`syntax-importing-slides
フロントマターのマージメインエントリが優先syntax-frontmatter-merging

プレゼンターと録画

機能使用方法リファレンス
録画カメラ用に `G` キーを押すpresenter-recording
タイマー`duration: 30min`、`timer: countdown`presenter-timer
リモートコントロール`slidev --remote`presenter-remote
ルビテキスト`notesAutoRuby:`presenter-notes-ruby

エクスポートとビルド

機能使用方法リファレンス
エクスポートオプション`slidev export`core-exporting
ビルドとデプロイ`slidev build`core-hosting
PDF 付きビルド`download: true`build-pdf
画像のキャッシュリモート URL に対して自動build-remote-assets
OG 画像`seoMeta.ogImage` または `og-image.png`build-og-image
SEO タグ`seoMeta:`build-seo-meta

エクスポートの前提条件: PDF/PPTX/PNG エクスポートには pnpm add -D playwright-chromium が必要です。ブラウザエラーでエクスポートが失敗する場合は、まずこの依存関係をインストールしてください。

エディタとツール

機能使用方法リファレンス
サイドエディタ編集アイコンをクリックeditor-side
VS Code 拡張機能`antfu.slidev` をインストールeditor-vscode
Prettier`prettier-plugin-slidev`editor-prettier
テーマのイジェクト`slidev theme eject`tool-eject-theme

ライフサイクルと API

機能使用方法リファレンス
スライドフック`onSlideEnter()`、`onSlideLeave()`api-slide-hooks
ナビゲーション API`$nav`、`useNav()`core-global-context

一般的なレイアウト

レイアウト目的
`cover`タイトル/カバースライド
`center`中央寄せコンテンツ
`default`標準スライド
`two-cols`2 カラム(`::right::` を使用)
`two-cols-header`ヘッダー + 2 カラム
`image` / `image-left` / `image-right`画像レイアウト
`iframe` / `iframe-left` / `iframe-right`URL の埋め込み
`quote`引用
`section`セクション区切り
`fact` / `statement`データ/声明の表示
`intro` / `end`イントロ/終了スライド

リソース

GitHubで見る
---
name: slidev
description: Create and present web-based slide decks using Slidev with Markdown, Vue components, code highlighting, animations, and interactive features. Ideal for technical presentations, conference talks, code walkthroughs, teaching materials, or developer decks.
---

# 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

## Quick Start

```bash
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

```md
---
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](references/core-syntax.md) |
| Animations | v-click, v-clicks, motion, transitions | [core-animations](references/core-animations.md) |
| Headmatter | Deck-wide configuration options | [core-headmatter](references/core-headmatter.md) |
| Frontmatter | Per-slide configuration options | [core-frontmatter](references/core-frontmatter.md) |
| CLI Commands | Dev, build, export, theme commands | [core-cli](references/core-cli.md) |
| Components | Built-in Vue components | [core-components](references/core-components.md) |
| Layouts | Built-in slide layouts | [core-layouts](references/core-layouts.md) |
| Exporting | PDF, PPTX, PNG export options | [core-exporting](references/core-exporting.md) |
| Hosting | Build and deploy to various platforms | [core-hosting](references/core-hosting.md) |
| Global Context | $nav, $slidev, composables API | [core-global-context](references/core-global-context.md) |

## Feature Reference

### Code & Editor

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

### Diagrams & Math

| Feature | Usage | Reference |
|---------|-------|-----------|
| Mermaid diagrams | `` ```mermaid `` | [diagram-mermaid](references/diagram-mermaid.md) |
| PlantUML diagrams | `` ```plantuml `` | [diagram-plantuml](references/diagram-plantuml.md) |
| LaTeX math | `$inline$` or `$$block$$` | [diagram-latex](references/diagram-latex.md) |

### Layout & Styling

| Feature | Usage | Reference |
|---------|-------|-----------|
| Canvas size | `canvasWidth`, `aspectRatio` | [layout-canvas-size](references/layout-canvas-size.md) |
| Zoom slide | `zoom: 0.8` | [layout-zoom](references/layout-zoom.md) |
| Scale elements | `<Transform :scale="0.5">` | [layout-transform](references/layout-transform.md) |
| Layout slots | `::right::`, `::default::` | [layout-slots](references/layout-slots.md) |
| Scoped CSS | `<style>` in slide | [style-scoped](references/style-scoped.md) |
| Global layers | `global-top.vue`, `global-bottom.vue` | [layout-global-layers](references/layout-global-layers.md) |
| Draggable elements | `v-drag`, `<v-drag>` | [layout-draggable](references/layout-draggable.md) |
| Icons | `<mdi-icon-name />` | [style-icons](references/style-icons.md) |

### Animation & Interaction

| Feature | Usage | Reference |
|---------|-------|-----------|
| Click animations | `v-click`, `<v-clicks>` | [core-animations](references/core-animations.md) |
| Rough markers | `v-mark.underline`, `v-mark.circle` | [animation-rough-marker](references/animation-rough-marker.md) |
| Drawing mode | Press `C` or config `drawings:` | [animation-drawing](references/animation-drawing.md) |
| Direction styles | `forward:delay-300` | [style-direction](references/style-direction.md) |
| Note highlighting | `[click]` in notes | [animation-click-marker](references/animation-click-marker.md) |

### Syntax Extensions

| Feature | Usage | Reference |
|---------|-------|-----------|
| Comark syntax | `comark: true` + `{style="color:red"}` | [syntax-comark](references/syntax-comark.md) |
| Block frontmatter | `` ```yaml `` instead of `---` | [syntax-block-frontmatter](references/syntax-block-frontmatter.md) |
| Import slides | `src: ./other.md` | [syntax-importing-slides](references/syntax-importing-slides.md) |
| Merge frontmatter | Main entry wins | [syntax-frontmatter-merging](references/syntax-frontmatter-merging.md) |

### Presenter & Recording

| Feature | Usage | Reference |
|---------|-------|-----------|
| Recording | Press `G` for camera | [presenter-recording](references/presenter-recording.md) |
| Timer | `duration: 30min`, `timer: countdown` | [presenter-timer](references/presenter-timer.md) |
| Remote control | `slidev --remote` | [presenter-remote](references/presenter-remote.md) |
| Ruby text | `notesAutoRuby:` | [presenter-notes-ruby](references/presenter-notes-ruby.md) |

### Export & Build

| Feature | Usage | Reference |
|---------|-------|-----------|
| Export options | `slidev export` | [core-exporting](references/core-exporting.md) |
| Build & deploy | `slidev build` | [core-hosting](references/core-hosting.md) |
| Build with PDF | `download: true` | [build-pdf](references/build-pdf.md) |
| Cache images | Automatic for remote URLs | [build-remote-assets](references/build-remote-assets.md) |
| OG image | `seoMeta.ogImage` or `og-image.png` | [build-og-image](references/build-og-image.md) |
| SEO tags | `seoMeta:` | [build-seo-meta](references/build-seo-meta.md) |

**Export prerequisite**: `pnpm add -D playwright-chromium` is required for PDF/PPTX/PNG export. If export fails with a browser error, install this dependency first.

### Editor & Tools

| Feature | Usage | Reference |
|---------|-------|-----------|
| Side editor | Click edit icon | [editor-side](references/editor-side.md) |
| VS Code extension | Install `antfu.slidev` | [editor-vscode](references/editor-vscode.md) |
| Prettier | `prettier-plugin-slidev` | [editor-prettier](references/editor-prettier.md) |
| Eject theme | `slidev theme eject` | [tool-eject-theme](references/tool-eject-theme.md) |

### Lifecycle & API

| Feature | Usage | Reference |
|---------|-------|-----------|
| Slide hooks | `onSlideEnter()`, `onSlideLeave()` | [api-slide-hooks](references/api-slide-hooks.md) |
| Navigation API | `$nav`, `useNav()` | [core-global-context](references/core-global-context.md) |

## Common Layouts

| Layout | Purpose |
|--------|---------|
| `cover` | Title/cover slide |
| `center` | Centered content |
| `default` | Standard slide |
| `two-cols` | Two columns (use `::right::`) |
| `two-cols-header` | Header + two columns |
| `image` / `image-left` / `image-right` | Image layouts |
| `iframe` / `iframe-left` / `iframe-right` | Embed URLs |
| `quote` | Quotation |
| `section` | Section divider |
| `fact` / `statement` | Data/statement display |
| `intro` / `end` | Intro/end slides |

## Resources

- Documentation: https://sli.dev
- Theme Gallery: https://sli.dev/resources/theme-gallery
- Showcases: https://sli.dev/resources/showcases

すべてのファイル

0件のファイル

slidevをインストール

スキルファイルをダウンロードして、.claude/skills/ ディレクトリに展開してください。

ZIPをダウンロード

リポジトリをクローンし、スキルファイルをプロジェクトにコピーしてください。

git clone https://github.com/antfu/skills/tree/main/skills/slidev # Copy SKILL.md to your .claude/skills/ directory

コピー コピー
クイックセットアップ: スキルフォルダを .claude/skills/ にコピーしてください。Claude はそのスキルを自動的に検出し、使用します。
リポジトリ antfu/skills

関連スキル

golang-dependency-injection
更新された時間 2026年6月29日
nuxthub
更新された時間 2026年8月23日
tc-tracker
更新された時間 2026年8月27日
code-quality
更新された時間 2026年8月22日
OR