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

@korbiniankuhn/markdown-slides

v1.0.0-rc.1

Published

Create beautiful HDM branded HTML slides from markdown files

Readme

Markdown-Slides

Generate HTML-Slides with from Markdown-Files

Features

  • ✨ Beautiful slides including a pretty title slide
  • 📱 Slides are fully response for mobile devices and small screens
  • 🌓 Light and Dark Mode
  • 🖨️ Print styles to create PDFs in the browser
  • ♿ HTML slides are accessible
  • 📖 Table of contents to jump to specific slides
  • 💡 Code highlighting with highlight.js
  • ➗ Equations with MathJax
  • 📈 Diagrams with Mermaid
  • #️⃣ Slide numbers will be generated automatically
  • 📅 Date of the build will be included as a versioning
  • 📚 Supports multiple markdown files to split your presentation in subslides
  • ➡️ Use space and arrow keys to navigate
  • 🎨 Easily override the Stuttgart Media University (HDM) theme with custom colors and logos
  • 🚀 Just deploy your slides with Gitlab or GitHub pages

Requirements for local builds

If you want to build the slides locally, Node or Docker is required.

How to use it

Create one (README.md) or more markdown files in the root of your directory (e.g. a git repository) and start typing.

To start a new slide use a comment <!-- slide -->.

Example:

# Lecture Title

@module[123456]
@semester[Summer 2025]

Korbinian Kuhn [kuhnko@](mailto:[email protected])

<!-- slide -->

## Content

- What we will do
- What you will learn

Build the slides with:

sh master/build.sh

Serve slides (you can also open the index.html file locally, but you might run into CORS issues e.g. for MathJax):

npx http-server -c-1 public

CLI parameters

Convert current directory to slides into a output directory public:

npx @korbiniankuhn/markdown-slides

Whitelist certain files and directories:

npx @korbiniankuhn/markdown-slides --allowed-files .md images style.css script.js

CLI arguments:

| Argument | Description | Default | Required | | --------------- | ------------------------------------------------------------------------ | --------- | -------- | | -i, --in | Input directory | . | false | | -o, --out | Output directory | public | false | | -l, --language | Language | en | false | | --toc-numbering | Add numbering to headlines | true | false | | --allowed-files | Whitelist directories, files,or extensions | undefined | false | | --ignored-files | Blacklist directories, files or extensions (dotfiles are always ignored) | undefined | false |

Markdown extensions

Slides

| Identifier | Description | | ---------------- | ------------------ | | <!-- slide --> | Starts a new slide |

Spacer

| Identifier | Description | | ------------------ | --------------------------- | | :spacer | Medium vertical spacer | | :spacer{size=sm} | Small vertical spacer | | :spacer{size=md} | Medium vertical spacer | | :spacer{size=lg} | Large vertical spacer | | :spacer{size=xl} | Extra-Large vertical spacer |

Layout

| Identifier | Description | | ------------------ | ---------------------- | | <!-- row --> | Starts a row container | | <!-- row:end --> | Ends a row container | | <!-- col --> | Starts a col container | | <!-- col:end --> | Ends a col container |

Example

<!-- row -->
<!-- col -->

Left

<!-- col:end -->
<!-- col -->

Right

<!-- col:end -->
<!-- row:end -->

Custom Theme

Look into the examples/custom-theme directory to overide the default theme:

Just provide these files in the root of your project:

  • logo-light.svg, logo-dark.svg, favicon.svg
  • style.css:
:root {
  --color-primary: blue;
}

MathJax

LaTex equations are converted to equations with MathJax, including all accessibility features:

Centered Math (\\[ ... \\]):

\[ x = {-b \pm \sqrt{b^2-4ac} \over 2a} \]

Inline Math (\\( ... \\)):

\( x = {-b \pm \sqrt{b^2-4ac} \over 2a} \)

MermaidJS

Mermaid is supported, fits in nicely with the colors of the theme and automatically reacts to the light or dark mode:

sequenceDiagram
    Alice->>John: Hello John, how are you?
    John-->>Alice: Great!
    Alice-)John: See you later!