marp-cli
由 killgfat 提供
Web & Frontend Development简介
Convert Markdown to presentations via CLI.
描述
该技能的功能
Marp CLI converts Markdown files into presentation formats including HTML, PDF, PowerPoint (PPTX), and images from the command line. PDF, PPTX, and image exports require a browser installed on the system.
Writing slides in Markdown lets you version-control presentations and automate builds without a GUI tool.
何时使用
- Converting a Markdown draft into a shareable PDF deck
- Generating a title slide PNG for use as an open graph image
- Batch converting a folder of slide decks to PPTX before a meeting
- Serving a slides directory locally for browser-based preview during editing
- Exporting presenter notes to a text file for separate review
示例工作流
User asks: convert my slide deck to PDF with bookmarks
- 1
Verify the .md file exists in the working directory
- 2
Run marp --pdf --pdf-outlines slide-deck.md
- 3
Check the output PDF is created in the same directory
- 4
Confirm no browser errors occurred during conversion
slide-deck.pdf with navigable PDF outlines generated in the current directory
前置要求
- Chrome, Edge, or Firefox installed (for PDF, PPTX, and image exports)
- LibreOffice Impress (optional, for editable PPTX via --pptx-editable)
安装
clawhub install killgfat/marp-cli运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。