Render slides
slide_renderRenders slides to PNG images via headless Chromium so you can visually inspect each slide for overflow, contrast, crowding, alignment and empty space after every round of edits.
Instructions
Pictures of slides as PNG images, exactly as the deck draws them (headless Chromium on the deck's own dev server, kept running between calls). Use it after every round of edits and LOOK: overflow, contrast, crowding, alignment, empty space. Each slide is drawn as a still with every click revealed. Needs the deck's dependencies installed and Playwright + Chromium (the error says how).
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. | |
| theme | No | A theme the deck ships (minimal, rla, stack…). | |
| width | No | Picture width in px (default 1280). | |
| scheme | No | Colour scheme (default light). | |
| slides | No | Which slides (default: all, up to 12). Hidden slides are not drawn. "credits" draws the credits slide `credits: true` adds. |