MCPcopy
hub / github.com/slidevjs/slidev

github.com/slidevjs/slidev @v52.16.0 sqlite

repository ↗ · DeepWiki ↗ · release v52.16.0 ↗
690 symbols 1,877 edges 268 files 4 documented · 1%
README

Slidev

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

NPM version NPM Downloads Docs & Demos Themes

GitHub stars

Video Preview | Documentation

Made possible by my Sponsor Program 💖

Features

  • 📝 Markdown-based - focus on content and use your favorite editor
  • 🧑‍💻 Developer Friendly - built-in code 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
  • 🎨 Drawing - draw and annotate on your slides
  • 🧮 LaTeX - built-in LaTeX math equations support
  • 📰 Diagrams - creates diagrams using textual descriptions with Mermaid
  • 🌟 Icons - access to icons from any icon set directly
  • 💻 Editor - integrated editor, or the VSCode extension
  • 🎥 Recording - built-in recording and camera view
  • 📤 Portable - export into PDF, PNGs, or PPTX
  • ⚡️ 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 >= 20.12.0 and run the following command:

npm init slidev

Documentation: 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 - Icon sets 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

Extension points exported contracts — how you extend this code

ComponentCustomProperties (Interface)
(no doc)
shim.d.ts
ComponentCustomProperties (Interface)
(no doc)
packages/client/shim-vue.d.ts
CodeRunnerContext (Interface)
(no doc)
packages/types/src/code-runner.ts
LoadRootsInfo (Interface)
(no doc)
packages/parser/src/fs.ts
Provide (Interface)
(no doc)
packages/vscode/language-server/volar-service-yaml.ts
FsNode (Interface)
(no doc)
packages/slidev/node/resolver.test.ts
SlidevParserOptions (Interface)
(no doc)
test/__snapshots__/tsnapi/@slidev/parser/core.snapshot.d.ts
Chainable (Interface)
(no doc)
cypress/e2e/examples/basic.spec.ts

Core symbols most depended-on inside this repo

extractImagesUsage
called by 22
test/__snapshots__/tsnapi/@slidev/parser/core.snapshot.js
parseTimeString
called by 15
packages/parser/src/timesplit/timestring.ts
addClass
called by 14
packages/client/modules/v-mark.ts
createResolver
called by 14
packages/slidev/node/resolver.ts
findInvocationNodeModulesPath
called by 13
packages/slidev/node/resolver.ts
toAtFS
called by 13
packages/slidev/node/resolver.ts
parseRangeString
called by 11
packages/parser/src/utils.ts
worker
called by 10
packages/vscode/language-server/volar-service-yaml.ts

Shape

Function 596
Interface 86
Class 4
Method 4

Languages

TypeScript100%

Modules by API surface

packages/slidev/node/commands/export.ts30 symbols
packages/client/composables/useNav.ts19 symbols
packages/vscode/language-server/volar-service-yaml.ts18 symbols
packages/slidev/node/resolver.ts16 symbols
packages/client/composables/useClicks.ts16 symbols
packages/slidev/node/vite/importGuard.ts15 symbols
packages/parser/src/core.ts15 symbols
test/__snapshots__/tsnapi/@slidev/parser/core.snapshot.js13 symbols
packages/client/logic/recording.ts13 symbols
packages/slidev/node/utils.ts12 symbols
packages/slidev/node/cli.ts12 symbols
packages/slidev/node/vite/loaders.ts11 symbols

Dependencies from manifests, versioned

@antfu/eslint-configcatalog:dev · 1×
@antfu/nicatalog:prod · 1×
@antfu/utilscatalog:frontend · 1×
@comark/markdown-itcatalog:prod · 1×
@fix-webm-duration/fixcatalog:frontend · 1×
@hedgedoc/markdown-it-pluginscatalog:prod · 1×
@iconify-json/carboncatalog:icons · 1×
@iconify-json/mdicatalog:icons · 1×
@iconify-json/phcatalog:icons · 1×
@iconify-json/ricatalog:icons · 1×
@iconify-json/svg-spinnerscatalog:icons · 1×
@iconify/jsoncatalog:icons · 1×

For agents

$ claude mcp add slidev \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact