OPF vs Marp and Slidev
Use Marp or Slidev when you are writing a Markdown talk. Use OPF when software or an agent should produce a structured deck you can validate and export to editable PowerPoint. Slidev also offers editable PPTX export; its image and editable modes have different trade-offs.
When to use which
Use OPF when
- An agent or program should write a schema-valid JSON deck before export.
- You want to review JSON, Markdown or YAML source in git and produce PPTX and PDF locally.
Use Marp and Slidev when
- Choose Marp for Markdown slides with its CLI or VS Code integration and HTML, PDF or PowerPoint export.
- Choose Slidev for Markdown plus Vue, web interactions and browser presenting; use its editable PPTX mode when that handoff fits.
Features and trade-offs
Other-tool claims link to the official sources listed below. Check export results on your own decks; this is a workflow comparison, not a fidelity benchmark.
| Feature | OPF | Marp and Slidev |
|---|---|---|
| Authoring source | JSON, or Markdown/YAML converted to the same validated deck | Marp: Markdown. Slidev: Markdown with Vue and web technologies [1][2] |
| Workflow | Validate a structured document and convert it locally | Marp: CLI and VS Code. Slidev: local web development and browser presenting [1][2] |
| CLI export | Marp: Chrome/Chromium-powered export. Slidev: Playwright-based export [1][3] | |
| PowerPoint | Native text, tables and charts; review conversion findings | Marp documents PowerPoint export. Slidev --format pptx exports images with non-selectable text [1][3] |
| Editable PowerPoint | CLI exports supported content as native PowerPoint objects | Slidev --format pptx-editable rebuilds native shapes; web-only elements remain pictures and some slides fall back to images [3] |
| Slidev runtime | OPF CLI needs Node 22+ | Slidev guide requires Node >= 22.12.0 [2] |
A local OPF workflow
Save your deck as deck.opf.json. In a project with the CLI and export packages installed (first local run), validate it before writing the PowerPoint and PDF files:
npx opf validate deck.opf.json --fail-on warning
npx opf convert deck.opf.json deck.pptx
npx opf convert deck.opf.json deck.pdfKeep the OPF source in git. Inspect the findings and rendered output before handing over the files. The CLI guide and conversion guide document these commands and import limits.
FAQ
When should I choose Marp or Slidev?
Choose Marp for its Markdown slide tooling, or Slidev when Vue and web interactions are central to a talk. OPF fits a workflow built around a validated deck document.
Is Slidev PowerPoint export editable?
The default --format pptx exports slides as images, so text is not selectable. --format pptx-editable rebuilds native shapes; unsupported web elements remain pictures, and a slide can fall back to image export.
Can I write OPF in Markdown?
Yes. OPF Markdown converts to the same schema-validated JSON deck. Keep that source and use the CLI to export PPTX or PDF.
Sources
Official documentation checked November 22, 2026. Product behavior can change.
OPF: CLI and Node conversion reference; conversion commands and limits.