Blog Logo
TAGS

A modern diagram scripting language that turns text to diagrams

A modern diagram scripting language called D2 allows users to turn text into diagrams. It provides an easy way to create diagrams using a simple syntax. D2 can be used as a CLI executable to produce SVGs from `.d2` files. The installation process is convenient and can be done by running the install script. D2 also offers support for different themes and fonts. The exported file types include SVG, PNG, and PDF. D2 comes with language tooling and supports plugins for added functionality. It also offers a comparison feature to compare different versions of diagrams. Users can contribute to the project and explore the various open-source projects that use D2 for documentation purposes. In case of any queries, there is a FAQ section available. Overall, D2 is a versatile and powerful tool for creating diagrams from text.