Skip to content

Transform Markdown into stunning Reveal.js presentations with live reload, PDF export, and static site generation. Power your technical talks with code. πŸš€

License

Notifications You must be signed in to change notification settings

bradmca/slide-deck-cli

πŸ›©οΈ Slide-Deck-CLI

Slide-Deck-CLI Logo

The Markdown to Presentation Engine

Transform your Markdown into stunning, interactive Reveal.js presentations in seconds.

CI Status License Node Version Prettier


πŸ“½οΈ Demo

Workflow Demo

Note: Imagine a sleek GIF here showing a side-by-side terminal and browser. The terminal runs slide-deck talk.md, and the browser instantly renders a beautiful slide. As the code is edited, the browser refreshes flawlessly.


πŸ”₯ Why Slide-Deck-CLI?

Most presentation tools are either too complex (PowerPoint/Keynote) or too rigid (basic Markdown engines). Slide-Deck-CLI gives you the best of both worlds:

  • ✍️ Write in Markdown: Focus on content, not formatting.
  • ✨ Reveal.js Magic: Access high-end transitions, vertical slides, and mobile-friendly touch support.
  • πŸ”„ Hot Reload: Real-time feedback loop. Save β†’ See β†’ Succeed.
  • πŸ“¦ Zero Config: It just works. But it's also highly extensible.

πŸ› οΈ Features

  • ⚑ Near-Instant Live Reload: Powered by WebSockets for sub-millisecond updates.
  • 🎨 Code Syntax Highlighting: Automatic language detection for your snippets.
  • πŸ“„ Export to PDF: Professional-quality handouts using Puppeteer's headless engine.
  • πŸš€ Static Site Generator: One-command export for GitHub Pages or Netlify.
  • πŸ›‘οΈ Built-in Quality: CI/CD ready with pre-commit hooks to keep your repo pristine.

πŸš€ Getting Started

Installation

# Clone the universe
git clone https://github.com/bradmca/slide-deck-cli.git
cd slide-deck-cli

# Install dependencies
npm install

# Link to your system
npm link

Usage

# Start the magic
slide-deck presentation.md

# Custom port
slide-deck presentation.md --port 9000

# Export for the boss (PDF)
slide-deck presentation.md --pdf

# Build for the web (Static site)
slide-deck presentation.md --build

πŸ“ How It Works

graph LR
  A[Markdown File] --> B[CLI Parser]
  B --> C{Action}
  C -->|Preview| D[Express Server + WS]
  C -->|Export| E[Puppeteer]
  C -->|Build| F[Static Asset Bundler]
  D --> G[Reveal.js UI]
  E --> H[PDF Document]
  F --> I[dist/ Folder]
Loading

🀝 Contributing & Community

We believe in high-quality code and respectful collaboration.


πŸ›‘οΈ Pre-Commit Quality Checks

We hate broken builds. This repo comes with Husky and lint-staged:

  • On Commit: Automatically runs ESLint and Prettier on changed files.
  • On Push: Automatically runs the Jest test suite.
  • On GitHub: Full CI suite ensures every PR is high-quality.

πŸ“„ License

This project is licensed under the MIT License. Build something awesome!


⭐ If this project helps you, please give it a star!

About

Transform Markdown into stunning Reveal.js presentations with live reload, PDF export, and static site generation. Power your technical talks with code. πŸš€

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published