Marp CLI
The official CLI for the Marp Markdown presentation ecosystem — write slides in Markdown and convert to HTML, PDF, PPTX, or images.
Open source alternative to:
What is Marp CLI?
Marp CLI is the command-line interface for the Marp (Markdown Presentation Ecosystem) project. You write your slide deck in plain Markdown with Marpit's directives, and Marp CLI converts it to HTML, PDF, PPTX, PNG, or JPEG — perfect for sharing on the web, printing, or importing into PowerPoint.
Key features
- Plain Markdown authoring with a simple
---separator between slides - Local front-matter and global directives to control theming, pagination, sizing, and more
- Built-in and custom CSS themes — including the official
defaultandgaiathemes - Math typesetting via KaTeX, plus Mermaid diagrams, emoji shortcodes, and syntax highlighting via Prism
- Multiple output formats — HTML (with web UI), PDF, PPTX, PNG, JPEG
- Watch mode for live preview while authoring
- Plugin system to extend directives, themes, and output formats
- Bundled VS Code extension for in-editor preview and export
Why Marp?
Marp is one of the original and most widely used Markdown slide tools, with a stable CLI, a thoughtful ecosystem of themes, and bindings for React and Vue if you want to embed slides in a web app. If you want to write your talk in Markdown and ship it anywhere — Markdown source in Git, HTML on the web, PDF for handouts, PPTX for stakeholders — Marp CLI is the most batteries-included option.
Categories:
Build with:
Looking for contributors
This project is actively seeking help, join the community!
Repository details
Updated 6/24/2026, 8:00:41 AM
View RepositoryCompare Marp CLI with
Similar open source alternatives
Slidev
Markdown-based presentation slides for developers, with code highlighting, Vue components, theming, and PDF/PPTX export.
Microsoft PowerPoint
Kova
Open source desktop Markdown presentation editor with live preview, themes, and PPTX export — a self-contained alternative to PowerPoint.
Microsoft PowerPoint