Skip to main
maudeMDCC/00
Design commands

/design:export

Export the active canvas — PNG / PDF / SVG / HTML / PPTX / MP4 / GIF / WebM / Canva handoff bundle / project ZIP. Thin slash wrapper over `POST /_api/export` (same engine as the ⌘E UI dialog).

PropertyValue
Command/design:export
Categorydaily (daily)
Argument hint<png|pdf|svg|html|pptx|mp4|gif|webm|canva|zip> [--scope selection|artboard|canvas-as-separate|project-raw] [--out <path>] [--option key=value]
Sourceplugins/design/commands/export.md

Description

Export the active canvas — PNG / PDF / SVG / HTML / PPTX / MP4 / GIF / WebM / Canva handoff bundle / project ZIP. Thin slash wrapper over POST /_api/export (same engine as the ⌘E UI dialog).

Invocation

snippet
/design:export <png|pdf|svg|html|pptx|mp4|gif|webm|canva|zip> [--scope selection|artboard|canvas-as-separate|project-raw] [--out <path>] [--option key=value]

Summary

Sends a request to the running dev-server (POST /_api/export) with the same payload the ⌘E dialog inside the canvas sends. The server writes the file and this slash command pulls it down to disk (default cwd, or --out &lt;path>).

Source of truth

On this page