用Markdown编写PPT内容。可以用vue自定义动画,样式,主题;用Katex内置支持Latex的书写;还可以导出pdf或者导出一个单页web应用。

John Farrar 435badc378 docs: fix typo (#1600) 16 小时之前
.github 9c936b37dc docs: update FUNDING.yml 1 天之前
.vscode 76e8b755c0 feat: rewrite VSCode extension (#1557) 1 周之前
assets 76e8b755c0 feat: rewrite VSCode extension (#1557) 1 周之前
cypress 65a1cda782 feat: draggable element (#1402) 1 月之前
demo 00241ac328 chore: update deps, lint 1 天之前
docs 435badc378 docs: fix typo (#1600) 16 小时之前
packages 168c518254 chore: release v0.49.3 1 天之前
patches 80be226b20 feat: support `shikiji` highlighter and `twoslash` integration (#1218) 5 月之前
scripts e03fd3813b fix: optimize deps errors in global installation mode (#1559) 2 周之前
test 00241ac328 chore: update deps, lint 1 天之前
.gitignore 37067a94f5 chore: gitignore 2 月之前
.gitpod.yml d26350643b refactor!: remove windicss support (#1267) 3 月之前
.npmrc 0ecce679ac chore: update deps 1 年之前
CODE_OF_CONDUCT.md f1622f7d1e feat: enable slides formatting 2 月之前
CONTRIBUTING.md 80be226b20 feat: support `shikiji` highlighter and `twoslash` integration (#1218) 5 月之前
LICENSE bcb92f2a7b chore: release script 1 周之前
README.md 3023cacfe8 docs: mark Prism.js support as deprecated (#1548) 1 月之前
cypress.config.ts 90a0dc4aee chore: use an alter port for e2e test 2 月之前
eslint.config.js f1622f7d1e feat: enable slides formatting 2 月之前
netlify.toml aea02d9285 docs: build demo (#1439) 2 月之前
package.json 168c518254 chore: release v0.49.3 1 天之前
pnpm-lock.yaml 00241ac328 chore: update deps, lint 1 天之前
pnpm-workspace.yaml 2e1b553761 docs: merge docs repo back to main repo 2 月之前
shim.d.ts 697ad4eae8 refactor!: separating nav.ts for better scoping (#1365) 2 月之前
taze.config.ts 26f6c695ad feat!: rework Monaco editor integeration (#1330) 2 月之前
tsconfig.json f2d9b70466 chore: update demo 2 月之前
tsup.config.ts c3a24c0566 feat!: migrate cli to full ESM 6 月之前

README.md


Slidev

Presentation slides for developers 🧑‍💻👩‍💻👨‍💻

NPM version NPM Downloads Themes
GitHub stars

Video Preview | Documentation


Made possible by my Sponsor Program 💖

Features

  • 📝 Markdown-based - use your favorite editors and workflow
  • 🧑‍💻 Developer Friendly - built-in syntax highlighting, live coding, etc.
  • 🎨 Themable - theme can be shared and used with npm packages.
  • 🌈 Stylish - on-demand utilities via UnoCSS.
  • 🤹 Interactive - embedding Vue components seamlessly.
  • 🎙 Presenter Mode - use another window, or even your phone to control your slides.
  • 🧮 LaTeX - built-in LaTeX math equations support.
  • 📰 Diagrams - creates diagrams with textual descriptions
  • 🌟 Icons - access to icons from any iconset directly.
  • 💻 Editors - integrated editor, or extension for VS Code
  • 🎥 Recording - built-in recording and camera view.
  • 📤 Portable - export into PDF, PNGs, or even a hostable SPA.
  • ⚡️ Fast - instant reloading powered by Vite.
  • 🛠 Hackable - using Vite plugins, Vue components, or any npm packages.

Getting Started

Try it Online ⚡️

sli.dev/new

Init Project Locally

Install Node.js >=18 and run the following command:

npm init slidev

Documentations: English | 中文文档 | Français | Español | Русский | Português-BR

Discord: chat.sli.dev

For a full example, you can check the demo folder, which is also the source file for my previous talk.

Tech Stack

  • Vite - An extremely fast frontend tooling
  • Vue 3 powered Markdown - Focus on the content while having the power of HTML and Vue components whenever needed
  • UnoCSS - On-demand utility-first CSS engine, style your slides at ease
  • Shiki, Monaco Editor - First-class code snippets support with live coding capability
  • RecordRTC - Built-in recording and camera view
  • VueUse family - @vueuse/core, @vueuse/motion, etc.
  • Iconify - Iconsets collection.
  • Drauu - Drawing and annotations support
  • KaTeX - LaTeX math rendering.
  • Mermaid - Textual Diagrams.

Sponsors

This project is made possible by all the sponsors supporting my work:

Logos from Sponsors

License

MIT License © 2021 Anthony Fu