explaingit

slidevjs/slidev

📈 Trending46,544TypeScriptAudience · developerComplexity · 2/5ActiveLicenseSetup · easy

TLDR

A developer-friendly presentation tool that turns Markdown into interactive browser-based slide decks with live code editing, diagrams, and math support.

Mindmap

mindmap
  root((Slidev))
    What it does
      Markdown to slides
      Live code editing
      Interactive components
      Export to PDF/PNG
    Key features
      Syntax highlighting
      Mermaid diagrams
      LaTeX equations
      Presenter view
    Tech stack
      TypeScript
      Vue 3
      Vite
      UnoCSS
    Use cases
      Technical talks
      Conference presentations
      Workshops
      Code demos
    Audience
      Developers
      Technical speakers
      Workshop leaders

Things people build with this

USE CASE 1

Build a technical conference talk with live code examples that run directly in the slides.

USE CASE 2

Create a workshop presentation with interactive Vue components and Mermaid flowcharts embedded in Markdown.

USE CASE 3

Write a product demo deck in git-version-controlled Markdown and export it as PDF or PowerPoint.

USE CASE 4

Present with a separate phone-based presenter view while annotating and recording your screen in real time.

Tech stack

TypeScriptVue 3ViteUnoCSSMarkdown

Getting it running

Difficulty · easy Time to first run · 5min
Use freely for any purpose, including commercial use, as long as you keep the copyright notice.

In plain English

Slidev is a presentation tool designed for developers who prefer writing code over clicking through slide editors. Instead of using PowerPoint or Google Slides, you write your presentation in Markdown, a plain-text format where headings, bold text, lists, and images are described with simple syntax, and Slidev turns it into a polished, interactive slide deck that runs in the browser. The tool is aimed specifically at technical presentations: it has first-class support for syntax-highlighted code blocks, live code editing directly on the slide, embedded interactive Vue components, LaTeX math equations, and Mermaid diagrams (which let you describe flowcharts and sequence diagrams as text). Each slide is separated by --- in your Markdown file. When presenting, you get a separate presenter view (which you can open on your phone), the ability to draw and annotate on slides, and built-in screen recording. When you are done, you can export the deck as a PDF, PNG images, or a PowerPoint file. The development experience is fast because Slidev is powered by Vite, a modern build tool that reloads the browser instantly as you save changes. The styling layer uses UnoCSS, which means you can apply utility classes the same way you would in a Tailwind CSS project. Themes are installable npm packages, and the entire tool is extensible via Vue components and Vite plugins. You would use Slidev when preparing a technical talk, conference presentation, or workshop where you want to include runnable code examples, keep your slides version-controlled in git, and avoid the limitations of traditional presentation software. The stack is TypeScript, Vue 3, and Vite. It is MIT licensed and runnable with a single npm command.

Copy-paste prompts

Prompt 1
How do I create a new Slidev presentation and write my first slide in Markdown?
Prompt 2
Show me how to add a live code block to a Slidev slide that the audience can see execute.
Prompt 3
How do I install and apply a custom theme to my Slidev presentation?
Prompt 4
What's the syntax for embedding a Mermaid diagram or LaTeX equation in a Slidev slide?
Prompt 5
How do I export my Slidev presentation as a PDF or PowerPoint file?
Open on GitHub → Explain another repo

Generated 2026-05-18 · Model: sonnet-4-6 · Verify against the repo before relying on details.