d2 icon indicating copy to clipboard operation
d2 copied to clipboard

multiple outputs in a single pass

Open gullerya opened this issue 10 months ago • 3 comments

Can an option be added to generate multiple outputs in a single pass?

Example: d2 input.d2 output.svg output.png

gullerya avatar Feb 25 '25 20:02 gullerya

imagemagick and ffmpeg allow multiple exports, sounds reasonable for d2 to

alixander avatar Mar 22 '25 03:03 alixander

Can you please assign me this issue? Thanks

amethystani avatar Apr 03 '25 16:04 amethystani

Hi everyone. I've opened a pull request with a potential solution to this issue.

Dudley5000 avatar Nov 13 '25 06:11 Dudley5000