marp-cliConvert Markdown to presentations via CLI. Output HTML, PDF, PowerPoint (PPTX), and images (PNG/JPEG).
Install via ClawdBot CLI:
clawdbot install killgfat/marp-cliConvert Markdown to presentations via CLI. Output HTML, PDF, PowerPoint (PPTX), and images (PNG/JPEG).
Browser requirement: Conversions marked with š require a compatible browser (Chrome, Edge, or Firefox) installed on your system.
# Convert to HTML
marp slide-deck.md
# Convert to PDF (requires browser)
marp --pdf slide-deck.md
# Convert to PowerPoint
marp --pptx slide-deck.md
# Convert to images
marp --images png slide-deck.md
š Detailed guide: QUICKSTART.md
marp slide-deck.md
marp slide-deck.md -o output.html
marp --pdf slide-deck.md
marp slide-deck.md -o output.pdf
# With PDF outlines
marp --pdf --pdf-outlines slide-deck.md
# Includes presenter notes as annotations on lower-left
marp --pdf --pdf-notes slide-deck.md
marp --pptx slide-deck.md
marp slide-deck.md -o output.pptx
# Editable PPTX (experimental, requires LibreOffice Impress)
marp --pptx --pptx-editable slide-deck.md
# Multiple images
marp --images png slide-deck.md
marp --images jpeg slide-deck.md
# Title slide image only
marp --image png slide-deck.md
marp slide-deck.md -o output.png
# High resolution (scale factor)
marp slide-deck.md -o title.png --image-scale 2
marp --notes slide-deck.md
marp slide-deck.md -o output.txt
# Watch file and auto-convert on changes
marp -w slide-deck.md
# Watch with browser preview
marp -w -p slide-deck.md
# Serve directory with on-demand conversion
marp -s ./slides
# Specify port via environment
PORT=5000 marp -s ./slides
# Access converted formats via query strings
# http://localhost:8080/deck.md?pdf
# http://localhost:8080/deck.md?pptx
# Open preview window (automatically enables watch mode)
marp -p slide-deck.md
# Preview with PDF output
marp -p --pdf slide-deck.md
# Convert multiple files
marp slide1.md slide2.md slide3.md
# Convert directory
marp ./slides/
# Use glob patterns
marp **/*.md
# Convert with parallelism (default: 5 concurrent)
marp -P 10 ./*.md
# Disable parallelism
marp --no-parallel ./*.md
| Option | Description |
|--------|-------------|
| -o, --output | Output file path |
| -w, --watch | Watch mode - auto-convert on changes |
| -s, --server | Server mode - serve directory |
| -p, --preview | Open preview window |
| --pdf | Convert to PDF (requires Chrome/Edge/Firefox) |
| --pptx | Convert to PowerPoint PPTX (requires browser) |
| --pptx-editable | Generate editable PPTX (experimental) |
| --images [png\|jpeg] | Convert to multiple images |
| --image | Convert title slide to single image |
| --image-scale | Scale factor for images |
| --notes | Export presenter notes to TXT |
| --pdf-notes | Add PDF note annotations |
| --pdf-outlines | Add PDF outlines/bookmarks |
| --allow-local-files | Allow accessing local files (security note) |
| --browser | Choose browser for conversion |
| --browser-path | Specify browser executable path |
| -P, --parallel | Parallel conversion count |
| --no-parallel | Disable parallel conversion |
| --template | HTML template (default: bespoke) |
# Watch and preview while editing
marp -w -p deck.md
# Serve slides directory
marp -s ./presentations
# Convert all slides to PDF
marp --pdf *.md
# Create OG image from title
marp deck.md -o og.png --image-scale 3
# Export presenter notes
marp --notes deck.md
| Document | Description |
|----------|-------------|
| QUICKSTART.md | Quick start guide |
| EXAMPLES.md | Detailed examples |
| README.md | Project overview |
| Official docs | https://github.com/marp-team/marp-cli |
Generated Mar 1, 2026
Trainers use Marp CLI to convert Markdown training materials into PDF or PowerPoint presentations for workshops. The watch mode allows real-time updates during content creation, while server mode enables on-demand access to slides for remote teams.
Professors create lecture slides in Markdown for consistency and version control, converting them to HTML for web-based classes or PDF for handouts. The presenter notes feature helps structure teaching points, and image export generates title slides for course websites.
Speakers draft presentations in Markdown with code snippets, using Marp CLI to output PPTX for live talks and PDF for distribution. The editable PPTX option allows last-minute adjustments, and parallel conversion handles multiple session decks efficiently.
Marketing teams produce slide decks from Markdown templates, converting to images for social media thumbnails or PDF for client proposals. The image scaling feature creates high-resolution graphics for promotional materials, and watch mode streamlines collaborative editing.
Teams maintain meeting agendas in Markdown, using Marp CLI to generate HTML for real-time browser previews during discussions. Server mode allows sharing slides across departments, and PDF export archives minutes with note annotations for reference.
Offer Marp CLI as a free open-source tool for basic conversions, with paid tiers for advanced features like editable PPTX generation, cloud-based browser rendering, or team collaboration dashboards. Revenue comes from subscriptions targeting enterprises needing scalable presentation workflows.
Provide consulting services to help organizations integrate Marp CLI into their document pipelines, such as automating slide generation from CI/CD systems or customizing templates. Revenue is generated through project-based fees or ongoing support contracts for large clients.
Create a marketplace selling premium Markdown templates, themes, and plugins that extend Marp CLI's functionality. Revenue is earned via one-time purchases or commissions from third-party developers, targeting users who want professionally designed slides without coding.
š¬ Integration Tip
Integrate Marp CLI into CI/CD pipelines to automate presentation generation from Markdown files in version control, ensuring consistent outputs across teams. Use environment variables for browser paths to handle different operating systems in deployment environments.
Remote-control tmux sessions for interactive CLIs by sending keystrokes and scraping pane output.
Command-line tool to manage Google Workspace services including Gmail, Calendar, Drive, Sheets, Docs, Slides, Contacts, Tasks, People, Groups, and Keep.
Runs shell commands inside a dedicated tmux session named claw, captures, and returns the output, with safety checks for destructive commands.
A modern text-based browser. Renders web pages in the terminal using headless Firefox.
Write robust, portable shell scripts. Use when parsing arguments, handling errors properly, writing POSIX-compatible scripts, managing temp files, running commands in parallel, managing background processes, or adding --help to scripts.
NotebookLM CLI wrapper via `node {baseDir}/scripts/notebooklm.mjs`. Use for auth, notebooks, chat, sources, notes, sharing, research, and artifact generation/download.