← 返回
未分类 中文

Slidev Maker

Use this skill when creating, editing, or exporting Slidev presentations — the Markdown + Vue web-based slide framework for developers. Covers installation a...
在创建、编辑或导出 Slidev 演示文稿时使用此技能。Slidev 是面向开发者的 Markdown + Vue 网页幻灯片框架,涵盖安装...
junwugit junwugit 来源
未分类 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 65
下载
💾 1
安装
1
版本
#latest

概述

Slidev Maker

Domain knowledge for building Slidev presentations. Slidev turns Markdown into interactive, themeable slides using Vue 3, Vite, and UnoCSS.

Use this skill whenever you are scaffolding a deck, writing slide Markdown, adding interactivity, customizing themes/layouts, or exporting. Read the relevant rules/ file below for detailed explanations and copy-pasteable examples before generating Slidev code.

Quick Start

pnpm create slidev      # scaffold a new deck (also: npm init slidev)
slidev                  # dev server with hot reload (http://localhost:3030)
slidev build            # build a static SPA into dist/
slidev export           # export to PDF (also --format pptx|png|md)

Requires Node.js >= 18. Put static assets in public/ and reference them with absolute paths (/image.png). Full setup, project structure, and workflows are in rules/getting-started.md.

Rules

Read rules/anti-patterns.md first — it lists the critical, recurring mistakes that break decks.

Authoring:

  • rules/core-syntax.md — slide separators, headmatter vs per-slide frontmatter, speaker notes, MDC syntax
  • rules/layouts.md — built-in layouts, two-column slots, image/iframe layouts, custom layouts
  • rules/code-blocks.md — Shiki highlighting, line highlighting, Monaco editor, Magic Move, TwoSlash
  • rules/animations.md — v-click, v-after, v-clicks, v-motion, v-mark, slide transitions
  • rules/components.md — built-in components: Arrow, Link, Toc, SlidevVideo, RenderWhen, LightOrDark, and more
  • rules/diagrams.md — Mermaid and PlantUML integration and configuration
  • rules/assets.md — images, video, fonts, icons — correct paths and the public folder
  • rules/styling.md — UnoCSS utilities, custom & slide-scoped styles, dark mode, uno/vite config
  • rules/features.md — LaTeX math, importing slides (src:), global layers, custom shortcuts

Setup & output:

  • rules/getting-started.md — installation, CLI commands, project structure, workflows, tech stack
  • rules/themes.md — using, configuring, overriding, and ejecting themes
  • rules/export.md — PDF/PNG/PPTX export, SPA builds, and deployment (GitHub Pages, Netlify, Vercel)
  • rules/presenter.md — presenter mode, speaker notes, timer, drawing, recording, remote control

Guidance:

  • rules/anti-patterns.md — critical mistakes to avoid: deprecated features, wrong paths, non-existent layouts
  • rules/troubleshooting.md — build/export/port/theme fixes plus authoring best practices

Official Links

  • Docs: https://sli.dev/guide · Themes: https://sli.dev/resources/theme-gallery · GitHub: https://github.com/slidevjs/slidev

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-06-09 19:32

安全检测

腾讯云安全 (Keen)

队列中

腾讯云安全 (Sanbu)

队列中

🔗 相关推荐

office-efficiency

Gog

steipete
Google Workspace 命令行工具,支持 Gmail、日历、云端硬盘、通讯录、表格和文档。
★ 934 📥 187,542
office-efficiency

Excel / XLSX

ivangdavila
创建、检查和编辑 Microsoft Excel 工作簿及 XLSX 文件,支持可靠的公式、日期、类型、格式、重算及模板保留功能。
★ 393 📥 148,681
education

job-analysis-intro

junwugit
在对话中帮助学习《工作分析》导论章节,参照 Brannick、Levin、Morgeson 等人的《工作分析》教材第1章。当用户讨论、提问或尝试运用工作分析基础概念(job vs. position、KSAO、duty/task/activ
★ 0 📥 597