Hacker News new | ask | show | jobs
by liqilin1567 243 days ago
I didn't know about D2. Mind sharing features that are better than mermaid?
1 comments

I'm not the OP, but the reason I started using D2 as opposed to Mermaid is that D2 supports animations: https://d2lang.com/tour/composition/

In other words, you can have one D2 file that generates `step1.png,` `step2.png`, and `step3.png`. Useful for PowerPoint presentations!

Thanks, animation is really an impressive feature.