OPF
Browse docs
On this page

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.

FeatureOPFMarp and Slidev
Authoring sourceJSON, or Markdown/YAML converted to the same validated deckMarp: Markdown. Slidev: Markdown with Vue and web technologies [1][2]
WorkflowValidate a structured document and convert it locallyMarp: CLI and VS Code. Slidev: local web development and browser presenting [1][2]
PDFCLI exportMarp: Chrome/Chromium-powered export. Slidev: Playwright-based export [1][3]
PowerPointNative text, tables and charts; review conversion findingsMarp documents PowerPoint export. Slidev --format pptx exports images with non-selectable text [1][3]
Editable PowerPointCLI exports supported content as native PowerPoint objectsSlidev --format pptx-editable rebuilds native shapes; web-only elements remain pictures and some slides fall back to images [3]
Slidev runtimeOPF 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:

Validate, then export
npx opf validate deck.opf.json --fail-on warning
npx opf convert deck.opf.json deck.pptx
npx opf convert deck.opf.json deck.pdf

Keep 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.

  1. Marp ecosystem and exports
  2. Slidev guide and prerequisites
  3. Slidev export modes and limitations

OPF: CLI and Node conversion reference; conversion commands and limits.