Awesome
D2 for Zed
An extension that adds D2 support for Zed.
<img src="./img/syntax-highlight.png" alt="A snippet of D2 code in the Zed editor, with the syntax highlighted" />Learn more about D2 at https://d2lang.com
Installation
- Open the Zed Extension Gallery by:<br />
a. pressing
cmd-shift-x
(macOS)<br /> b. or pressingctrl-shift-x
(Linux)<br /> c. or triggering thezed: extensions
command from the command pallet<br /> d. or by selecting"Zed > Extensions"
from the menu bar - Search for
"D2"
. - Click
"Install"
.
Acknowledgments
- Tree-sitter grammar by Dmitriy Pleshevskiy: tree-sitter-d2