Index of every page on this site: llms.txt
All skills
vite-hub avatar

/slidev

@8c10e89
by ViteHubvite-hub/drop9 stars
Run it yourself

Create and present web-based slidedecks for developers using Slidev with Markdown, Vue components, code highlighting, animations, and interactive features. Use when building technical presentations, conference talks, code walkthroughs, teaching materials, or developer decks.

Use this Skill: https://skilld.dev/gh/vite-hub/drop/slidev

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

referencescore-syntax.md

≈450 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Slidev Markdown Syntax

Core Markdown syntax for Slidev presentations.

Slide Separator

Use --- with blank lines before and after:

# Slide 1

Content

---

# Slide 2

More content

Headmatter (Deck Config)

First frontmatter block configures the entire deck:

---
theme: default
title: My Presentation
lineNumbers: true
---

# First Slide

Per-Slide Frontmatter

Each slide can have its own frontmatter:

---
layout: center
background: /image.jpg
class: text-white
---

# Centered Slide

Presenter Notes

HTML comments at end of slide become presenter notes:

# My Slide

Content here

<!--
These are presenter notes.
- Remember to mention X
- Demo the feature
-->

Code Blocks

Standard Markdown with Shiki highlighting:

```ts
const hello = 'world'
```

With features:

```ts {2,3}              // Line highlighting
```ts {1|2-3|all}        // Click-based highlighting
```ts {monaco}           // Monaco editor
```ts {monaco-run}       // Runnable code
```ts twoslash           // TypeScript types
```

LaTeX Math

Inline: $E = mc^2$

Block:

$$
\frac{-b \pm \sqrt{b^2 - 4ac}}{2a}
$$

Diagrams

Mermaid:

```mermaid
graph LR
  A --> B --> C
```

PlantUML:

```plantuml
@startuml
Alice -> Bob : Hello
@enduml
```

Comark Syntax

Enable with comark: true:

[styled text]{style="color:red"}
![](/image.png){width=500px}
::component{prop="value"}

Scoped CSS

Styles apply only to current slide:

# Red Title

<style>
h1 { color: red; }
</style>

Import Slides

---
src: ./pages/intro.md
---

Import specific slides:

---
src: ./other.md#2,5-7
---

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

1 warning10d3 checks · Risk SAFE
  • Gen Agent Trust Hub10d

    The skill provides a comprehensive guide for using Slidev, a developer-focused presentation tool, including its Model Context Protocol (MCP) server for AI agents. While it offers powerful features like live code execution and direct filesystem edits, these are standard functionalities for developers. However, the ability to read and modify files through the MCP server introduces an attack surface for indirect prompt injection.

  • Socket10d

    No alerts

  • Snyk10d

    Risk: MEDIUM · 1 issue

Signed by skilld at 8c10e89. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub yesterday.

Activeupdated last month

README badge

README badge for vite-hub/drop/slidev