4 ms·
This is awesome. I hadn't heard of D2, but I love the idea that I can create my charts directly in Neovim in the terminal to get a rough draft, and do a final
by tombert 1y ago
This is awesome.
I hadn't heard of D2, but I love the idea that I can create my charts directly in Neovim in the terminal to get a rough draft, and do a final render with a pretty picture.
I will be playing with this shortly.
- mtillman 1y agoI typically use Moondraw for ASCII diagrams but this is pretty great for when you're already in Vim.
- aidenn0 1y agoD2 already supports a live-updating HTTP server serving a live-updating .svg, so if you tile a browser with vim, you can already get live-updates. I discovered D2 about a year ago, and I use it for all of my diagrams now.
- tombert 1y agoYeah but that doesn't feel nearly as nerdy and cool :) There's a sort of elegance to ASCII rendering.