Marp CLI Markdown Presentation Converter and Slide Deck Generator
Marp CLI converts Markdown files into professional slide deck presentations. It outputs static HTML, PDF, PowerPoint (PPTX), and image formats from a single Markdown source, enabling developers and content creators to build presentations as code.
Installation
Use the upstream install or setup path that matches your environment:
- npx @marp-team/marp-cli@latest slide-deck.md
- npx @marp-team/marp-cli@latest slide-deck.md -o output.html
- npx @marp-team/marp-cli@latest slide-deck.md --pdf
- npx @marp-team/marp-cli@latest slide-deck.md -o output.pdf
Requirements and caveats from upstream:
- installed Node.js v18 and later.
- Don't you like installing Node.js and Chrome to local? We have an official container image that is ready to use CLI.
Basic usage or getting-started notes:
one-shot Markdown conversion without install. Just run below if you have
Use package manager
Extracted from upstream docs: https://raw.githubusercontent.com/marp-team/marp-cli/HEAD/README.md