explaingit

slidevjs/slidev

Analysis updated 2026-06-20

46,234TypeScriptAudience · developerComplexity · 2/5LicenseSetup · easy

TLDR

Slidev lets developers write presentation slides in plain Markdown and instantly get a polished, browser-based slide deck with syntax-highlighted code, live demos, and PDF export, all powered by a single npm command.

Mindmap

mindmap
  root((slidev))
    What it does
      Markdown to slides
      Browser-based deck
      Code-first workflow
    Features
      Live code editing
      Mermaid diagrams
      LaTeX math
      Presenter view
      PDF export
    Tech stack
      TypeScript
      Vue 3
      Vite
      UnoCSS
    Who it helps
      Developers giving talks
      Workshop instructors
      Technical educators
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Build a conference talk with runnable, syntax-highlighted code examples directly on the slides

USE CASE 2

Keep presentation content version-controlled in git alongside the codebase it describes

USE CASE 3

Export a polished technical presentation to PDF, PNG images, or a PowerPoint file

USE CASE 4

Embed live, interactive Vue components inside individual slides for live demos

What is it built with?

TypeScriptVue 3ViteUnoCSS

How does it compare?

slidevjs/slidevchenglou/pretextremotion-dev/remotion
Stars46,23446,33545,958
LanguageTypeScriptTypeScriptTypeScript
Setup difficultyeasyeasymoderate
Complexity2/52/53/5
Audiencedeveloperdeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · easy Time to first run · 5min
MIT licensed, use freely for any purpose including commercial, modify and share 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
Create a Slidev presentation in Markdown with 5 slides: title, problem, live JavaScript code example with syntax highlighting, a Mermaid sequence diagram, and a closing slide. Show me the full .md file.
Prompt 2
I want to add a live code editor to one of my Slidev slides so the audience can see me type and run code in real time. Show me how to use the monaco editor integration in Slidev.
Prompt 3
Set up a Slidev theme from npm and customize the font and accent color for my presentation. Walk me through installing the theme and the frontmatter configuration.
Prompt 4
Export my Slidev presentation to PDF using the CLI. Show me the export command and any options I should know about for consistent font rendering.
Prompt 5
I'm giving a talk and want a separate presenter view with speaker notes on my laptop while the audience sees the slides on a projector. How do I set that up in Slidev?

Frequently asked questions

What is slidev?

Slidev lets developers write presentation slides in plain Markdown and instantly get a polished, browser-based slide deck with syntax-highlighted code, live demos, and PDF export, all powered by a single npm command.

What language is slidev written in?

Mainly TypeScript. The stack also includes TypeScript, Vue 3, Vite.

What license does slidev use?

MIT licensed, use freely for any purpose including commercial, modify and share as long as you keep the copyright notice.

How hard is slidev to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is slidev for?

Mainly developer.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Scan in gitsafehub Deploy in gitdeployhub slidevjs on gitmyhub

Verify against the repo before relying on details.