-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
d2 support #963
Comments
Very interesting. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Can this be re-opened? |
Markdown transformer is now supported. Making an addon that renders D2 diagrams in your slides is possible. |
I'm finding Terrastruct's D2 to be really useful for architecture diagrams and I'd love for it to be better integrated into slidev.
https://github.com/terrastruct/d2
Describe the solution you'd like
Ideally, I'd be able to have the D2 diagram code in the slidev project, and it would be updated automatically, like mermaid.js
Describe alternatives you've considered
At the moment, to use it, I create diagrams in
/diagrams
, e.g./diagrams/08-dead-letter.d2
Then run a script in that directory to generate everything and move it to public.
I then have to put a link to the SVG diagram in my presentation.
It's OK, but native support would be ideal.
The text was updated successfully, but these errors were encountered: