D2: Diagram Scripting Language
https://d2lang.com/tour/intro/
#HackerNews #D2 #Diagram #Scripting #Language #D2Lang #TechInnovation #ProgrammingTools #Diagramming
D2: Diagram Scripting Language
https://d2lang.com/tour/intro/
#HackerNews #D2 #Diagram #Scripting #Language #D2Lang #TechInnovation #ProgrammingTools #Diagramming
ohh #D2 can now produce #ascii diagrams, good for a editor plugin to make fancy comments in code or for #TUI programms I guess. Or if you got a text centric website like me and don't wanna use images. #d2lang #ascii_art
(still alpha)
My dream came true. Declarative diagrams that render to ascii txt. Thank you #d2lang dev team!
ASCII output | D2 Documentation
https://d2lang.com/blog/ascii/
That feeling when you get caught up in analysis paralysis trying to choose a text-to-diagram software. 😞
I'd go w/ #graphviz, but its README claims it's barely maintained, and it doesn't support modern diagram types one might need natively.
I'd go w/ #d2lang, but it produces #SVG w/ hard-coded font sizes and other styles, which makes it annoying to deal with when it comes to SVG in-lining.
I'd go w/ #mermaid, but it requires running #javascript on the page.
Anyone played around with #d2lang https://d2lang.com/tour/intro/ ? It seems like a very promising alternative to mermaid to me.
On my list of things to try for this week :)