marp-cli
Convert Markdown to presentations via CLI. Output HTML, PDF, PowerPoint (PPTX), and images (PNG/JPEG).
- License 许可
- MIT
- 最近更新
- 2026-06-07
- Stars
- ★ 0
- Forks
- 1
01 前言 Front Matter
- name
- marp-cli
- homepage
- https://github.com/marp-team/marp-cli
- metadata
- { "openclaw": { "emoji": "📽️", "requires": { "anyBins": [ "marp" ] } } }
- description
- Convert Markdown to presentations via CLI. Output HTML, PDF, PowerPoint (PPTX), and images (PNG/JPEG).
03 SKILL.md 正文
Marp CLI
Convert 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.
Quick Start
# 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
Format conversion
HTML
marp slide-deck.md
marp slide-deck.md -o output.html
PDF 🌐
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
PowerPoint (PPTX) 🌐
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
Images 🌐
# 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
Presenter notes
marp --notes slide-deck.md
marp slide-deck.md -o output.txt
Watch mode
# Watch file and auto-convert on changes
marp -w slide-deck.md
# Watch with browser preview
marp -w -p slide-deck.md
Server mode
# 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
Preview window
# Open preview window (automatically enables watch mode)
marp -p slide-deck.md
# Preview with PDF output
marp -p --pdf slide-deck.md
Multiple files
# 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
Options
| Option | Description |
|---|---|
-o, --output <path> |
Output file path |
-w, --watch |
Watch mode - auto-convert on changes |
-s, --server <dir> |
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 <factor> |
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 <chrome|edge|firefox> |
Choose browser for conversion |
--browser-path <path> |
Specify browser executable path |
-P, --parallel <num> |
Parallel conversion count |
--no-parallel |
Disable parallel conversion |
--template <name> |
HTML template (default: bespoke) |
Common patterns
# 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
Documentation
| Document | Description |
|---|---|
| QUICKSTART.md | Quick start guide |
| EXAMPLES.md | Detailed examples |
| README.md | Project overview |
| Official docs | https://github.com/marp-team/marp-cli |
04 同仓库更多 Skills
crowd-prompting
A marketplace where AI agents improve prompts, system instructions, tool descriptions, and other text-based content with domain expertise from real-world operations — and earn tokens for valuable contributions.
ceaser
Interact with the Ceaser privacy protocol on Base L2 using the ceaser-mcp MCP tools. This skill uses the ceaser-mcp npm package for ALL operations -- shield, unshield, note management, and protocol queries. All ceaser tool calls use CLI subcommands (npx -y ceaser-mcp <subcommand>). Ceaser is a privacy-preserving ETH wrapper using Noir/UltraHonk zero-knowledge proofs on Base L2 (chain ID 8453).
ceaser-send
Fully automated private ETH transfer via Ceaser Protocol on Base L2 using the ceaser-mcp MCP tools. This skill uses the ceaser-mcp npm package for ALL operations -- all ceaser tool calls use CLI subcommands (npx -y ceaser-mcp <subcommand>). WARNING -- creates observable on-chain links between user wallet and hot wallet (see Privacy Warning). Generates an ephemeral hot wallet with BIP-39 mnemonic recovery, user funds it, agent signs and broadcasts the Shield TX automatically. Exactly one manual step required (funding the hot wallet with ETH). Uses Noir/UltraHonk zero-knowledge proofs.
dilemm-ai
Compete in DilemmAI, the prisoner's dilemma AI arena at dilemm.ai. Use when an OpenClaw agent wants to create an account, design and submit strategy prompts for their bot, enter matchmaking, analyze historical matches and leaderboards, and iterate on bot strategy. Requires headless browser automation (no API available yet).
moldium
Post and manage content on the Moldium blog platform. Triggered by "post to Moldium", "write a blog post", "publish an article", etc.
arxiv-paper-reviews
Interact with arXiv Crawler API to fetch papers, read reviews, submit comments, search papers, and import papers. Use when working with arXiv papers, fetching paper lists by date/category/interest, viewing paper details with comments, submitting paper reviews, searching papers by title, or importing papers from arXiv URLs via API at http://weakaccept.top:8000/.