Get the latest tech news

D2 (text to diagram tool) now supports ASCII renders


In the latest release of D2 (0.7.1), we introduce ASCII outputs.

Small simple diagrams next to functions or classes can serve to be much clearer than describing a flow. Here again the Vim extension demonstrates a functionality to write some d2 code and replace the selection with the ASCII render. Due to discrete coordinate space in ASCII renders, some outputs may look less even than their SVG counterparts.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of Text

Text

Photo of tool

tool

Photo of ASCII

ASCII

Related news:

News photo

Boffins say tool can sniff 5G traffic, launch 'attacks' without using rogue base stations

News photo

Show HN: Lue – Terminal eBook Reader with Text-to-Speech

News photo

The beauty of a text only webpage