mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-10-25 02:07:09 -06:00
document.export, document.serialize and document.exportSelection write a PDF-compatible .ai (format: "ai"), and document.formats lists ai as writable, but none of their params texts named it. The params text of document.exportSelection named only png, jpg, webp, svg, svgz and pdf, although the command writes all 20 writable formats. The description of the MCP export tool and its row in docs/mcp.md named every format of the tool's format enum except ai, and the range text and the row said that only PDF writes several artboards. The three params texts now list every format their command writes, and document.export's range and useArtboards texts name .ai beside PDF. The MCP export tool's description names ai, and its artboard and range texts say that .ai, like PDF, writes one page per artboard. The range text and the row also say that SVG, SVGZ and EPS write one file per chosen artboard, and that rasters, DXF, EMF and WMF do so with options.useArtboards: true. Docs: docs/mcp.md (the export tool).