@marp-team/marp-cli

Convert Markdown presentations to HTML, PDF, and image slides.

npmmacoslinuxwindows
Try with needOr install directly
Source

About

A CLI interface for Marp and Marpit based converters

Commands

marp

Examples

convert markdown file to HTML presentation$ marp presentation.md --output presentation.html
convert markdown slides to PDF document$ marp presentation.md --pdf
export markdown presentation as PNG images$ marp presentation.md --image png
preview presentation in browser with auto-reload$ marp presentation.md --server
convert all markdown files in folder to HTML$ marp slides/ --output dist/