中文版 · Live Demo · Documentation
A professional presentation theme for Slidev, designed specifically for academic presentations with LaTeX Beamer-inspired styling.
⚠️ Major Upgrade in ProgressUpcoming versions may include breaking changes. Please check the Upgrade Notes before updating.
Try the pre-release:
npm i -D slidev-theme-scholarly@next
| Feature | Description |
|---|---|
| 🎓 Professional Design | LaTeX Beamer-inspired with academic styling |
| 📐 34 Layouts | Structure, Content, Emphasis, and Academic categories |
| 🧩 Rich Components | Theorem, Block, Citations, Metrics, Evidence, Paper Cards, Lists |
| 🎨 9 Color Themes | Classic Blue, Oxford, Cambridge, Yale, Princeton, Nordic, Monochrome, Sepia, High Contrast |
| 🌓 Explicit Surface Modes | Separate contentMode, chromeMode, and sectionMode controls |
| 📚 Citations & Footnotes | BibTeX bibliography plus academic Markdown footnotes with inline preview |
| 📝 Syntax Sugar | Simplified Markdown directives for components |
| 🔧 VS Code Extension | Snippets, previews, and BibTeX integration |
Install Node.js 20 or newer.
Use the package name for a one-time npx run:
npx -y slidev-theme-scholarly init my-talk --template academic
cd my-talk
pnpm install
pnpm run devnpx must download the CLI code before it can run it. When the package is not
already available locally, npm installs it into its cache, not into your project
or global packages. The -y flag accepts that temporary cache installation
without an interactive prompt.
List the available templates without creating a project:
npx -y slidev-theme-scholarly template listGenerated starters work out of the box with Scholarly's built-in citation support. Normal theme usage does not require a project-level vite.config.
Generated projects already declare Scholarly as a development dependency. For an existing Slidev project, install it first:
pnpm add -D slidev-theme-scholarlyThen run the short sch binary through the project package manager:
pnpm exec sch --versionWith npm, use npm i -D slidev-theme-scholarly and npx sch. The sts and
scholarly binaries are aliases of sch.
Common commands:
# show help
pnpm exec sch help
pnpm exec sch help theme
# list Scholarly presets and assets
pnpm exec sch theme list
pnpm exec sch layout list
pnpm exec sch component list
pnpm exec sch snippet list
# apply Scholarly visual preset to slides frontmatter
pnpm exec sch theme apply oxford-burgundy --font traditional --file slides.md
pnpm exec sch theme preset apply oxford --file slides.md
# append academic snippet blocks into slides
pnpm exec sch snippet append theorem --file slides.md
pnpm exec sch snippet append references --file slides.md
# append full scholarly workflow skeleton
pnpm exec sch workflow list
pnpm exec sch workflow apply paper --file slides.md
# generate a paper summary from BibTeX
pnpm exec sch paper summary --bib references.bib --key sample2026
# check environment and project readiness (includes Scholarly checks)
pnpm exec sch doctor
pnpm exec sch doctor --jsonA global install is not required, but it makes the short binaries available outside a project:
npm i -g slidev-theme-scholarly
sch template list
# aliases: sts, scholarly---
theme: scholarly
authors:
- name: Your Name
institution: Your University
themeConfig:
colorTheme: classic-blue
chromeMode: dark
sectionMode: dark
footerMiddle: Conference 2026
---
# Your Presentation Title
Subtitle or description
---
# Introduction
- Point 1
- Point 2
- Point 3BibTeX citations and the references layout work automatically once the theme is enabled. Use layout: references for a generated bibliography slide, or add [[bibliography]] only when you need custom placement inside that slide.
npx slidevLayouts are organized into four categories:
| Layout | Description |
|---|---|
cover |
Title slide with authors |
default |
Standard content slide |
intro |
Section introduction |
section |
Chapter divider |
center |
Centered content |
auto-center |
Auto-centered content |
auto-size |
Default flow with fit-to-page sizing |
end |
Closing slide |
| Layout | Description |
|---|---|
two-cols |
Two-column layout |
image-left |
Image on left, text on right |
image-right |
Image on right, text on left |
bullets |
Enhanced bullet list |
figure |
Academic figure with caption |
split-image |
Split image layout |
| Layout | Description |
|---|---|
quote |
Styled quotation |
fact |
Single fact/statistic |
statement |
Important statement |
focus |
Focused statement with icon |
| Layout | Description |
|---|---|
compare |
Side-by-side comparison |
methodology |
Research methodology |
results |
Research results |
timeline |
Timeline visualization |
agenda |
Presentation agenda |
acknowledgments |
Acknowledgments |
references |
Bibliography |
| Component | Description | Example |
|---|---|---|
| Theorem | Theorems, lemmas, definitions | <Theorem type="theorem">...</Theorem> |
| Block | Beamer-style info blocks | <Block type="info">...</Block> |
| Citations | BibTeX citations | @citekey or !@citekey |
| Steps | Process visualization | <Steps :steps="[...]" /> |
| Keywords | Keyword tags | <Keywords :keywords="[...]" /> |
| Columns | Multi-column layout | <Columns :columns="2">...</Columns> |
| Highlight | Text highlighting | <Highlight>text</Highlight> |
View Component Documentation →
At the top of each slide, add:
More Themes...
- Yale Blue
- Princeton Orange
- Nordic Blue
- Monochrome
- Warm Sepia
- High Contrast
Use for: Most of your slides (this is automatic!)
Boost your productivity with our VS Code extension:
- 🎯 Secondary Side Bar panel for layouts/components
- ✨ Snippets: type
ss-to insert layouts/components - ⚡ Smart completion for
layout:,themeConfig,<components>, and:::directives - 📚 BibTeX integration with auto-complete
- 👁️ Visual Previews: Directly preview layouts, components, and themes in the sidebar
We welcome contributions!
# Install dependencies
pnpm install
# Start development server
pnpm run dev
# Build
pnpm run buildMIT License - see LICENSE for details.
Slidev Theme Scholarly is inspired by the visual language of LaTeX Beamer.
Special thanks to the linux.do community for sharing practical insights and thoughtful feedback on AI tooling.











