Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add "Compile D2 to PNG" option #150

Open
cachapa opened this issue Sep 29, 2024 · 0 comments
Open

Add "Compile D2 to PNG" option #150

cachapa opened this issue Sep 29, 2024 · 0 comments

Comments

@cachapa
Copy link

cachapa commented Sep 29, 2024

The context menu when right-clicking a file already allows for "Compile D2 to SVG", it would be nice to have an analogous option to compile to PNG, which d2 does support out of the box.

Another option would be to simply have a "Compile" option and show a file dialog where the different formats supported by d2 could be selectable: SVG, PNG, PDF, PPTX, GIF.

https://d2lang.com/tour/exports/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant