Export the deck
deck_exportExport MDX slide decks to PDF, PNG, PPTX, editable PPTX, or Markdown for sharing, editing, and publishing, with slide-title bookmarks, notes, and selectable slide ranges.
Instructions
Export to PDF (default; with bookmarks from the slide titles), PNG (one per printed page), PPTX (images + notes), editable PPTX (native text, lists, shapes, pictures and tables + notes) and/or Markdown (the PNGs with each slide's notes) into export/. Needs Playwright + Chromium.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dir | No | Deck folder (contains deck.mdx). Absolute, or relative to the server's folder. Default: the server's folder. | |
| out | No | Output folder, relative to the deck (default export). | |
| range | No | Slides to export, e.g. 1,3-5 (1-based); all when omitted. | |
| scheme | No | Colour scheme (default the deck's). | |
| formats | No | Default ["pdf"]. | |
| withClicks | No | A page per click step (true) or one per slide (false); default the deck's. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| files | Yes | ||
| pages | Yes | ||
| outDir | Yes |