npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

slidev-theme-scholarly

v1.5.0

Published

A scholarly presentation theme for Slidev with LaTeX Beamer-style styling

Readme

Slidev Theme Scholarly

Slidev Theme Scholarly is a Slidev theme for paper talks, thesis defenses, lectures, and research updates. Write slides in Markdown, use layouts and components for research content, and manage citations with BibTeX. The included CLI and optional VS Code extension help you create and edit decks.

npm VS Code license

Documentation | Live demo | 中文

A research presentation using Slidev Theme Scholarly

Included

  • Templates and layouts for paper talks, defenses, lectures, and research updates
  • Components for theorems, metrics, evidence, figures, and paper summaries
  • BibTeX citations and reference slides
  • Color, typography, and light or dark theme controls
  • CLI and VS Code tools for creating, editing, checking, and exporting decks

Upgrading an existing deck? Read the upgrade notes first.

Quick start

1. Create the project

Use Node.js 24 LTS and pnpm 10 (npm install -g pnpm@10 if needed), then run:

npx -y slidev-theme-scholarly init my-talk --template academic
cd my-talk
pnpm install

The academic template is a good default. To compare the other options, run:

npx -y slidev-theme-scholarly template list

2. Preview and write

pnpm run dev

The browser opens automatically and refreshes whenever you save slides.md.

Separate slides with ---:

---
theme: scholarly
authors:
  - name: Your Name
    institution: Your University
---

# Presentation title

The main idea

---
layout: section
---

# Methods

3. Add structure and content

To see which layouts, components, and snippets are available, run:

pnpm exec sch layout list
pnpm exec sch component list
pnpm exec sch snippet list

For example, append a theorem block to the end of the file:

pnpm exec sch snippet append theorem --file slides.md

See the layout guide and component guide for examples.

4. Check and export

pnpm exec sch doctor
pnpm add -D playwright-chromium
pnpm exec playwright install chromium
pnpm run export

The Playwright setup is needed once for CLI export. The terminal prints the PDF path when export finishes. pnpm run build creates a static site in dist/; deploy that directory to your web host. See export and deployment for details.

Add Scholarly to an existing Slidev project

pnpm add -D slidev-theme-scholarly

Set theme: scholarly in the first YAML block of slides.md. Keep your existing preview and build commands. Citations need a BibTeX file; see the citation setup. Scholarly loads citation support without a project-level vite.config.ts.

Work in VS Code

Install Slidev Scholarly for VS Code, open a Markdown file, then open the Secondary Side Bar and select Slidev Scholarly.

Choose a sidebar template to create a complete project, or use Deck Builder to draft an outline and generate Markdown. Layouts and components can also be inserted into an existing file. Common Command Palette actions include:

  • Slidev Scholarly: Create Presentation
  • Slidev Scholarly: Open Deck Builder
  • Slidev Scholarly: Insert Citation

The VS Code extension guide covers the rest.

Continue with the documentation

| Goal | Read | |---|---| | Prepare a paper talk, defense, review, results talk, or lecture | Academic workflows | | Choose a slide structure | Layouts | | Add theorems, metrics, or evidence | Components | | Add BibTeX references | Citations | | Change colors, typography, or light and dark modes | Configuration | | Copy a complete deck | Examples | | Inspect the source | Model research talk and layout gallery |

Run pnpm exec sch help to list every CLI command. Install the CLI globally only if you need sch outside a project: npm i -g slidev-theme-scholarly.

Contributing

pnpm install --frozen-lockfile
pnpm --dir vscode-extension install --frozen-lockfile
pnpm run dev
# Stop the preview before running the checks.
pnpm run check

See the contributing guide. Licensed under MIT.