zed-d2 icon indicating copy to clipboard operation
zed-d2 copied to clipboard

D2 support for Zed

D2 for Zed

An extension that adds D2 support for Zed.

A snippet of D2 code in the Zed editor, with the syntax highlighted

Learn more about D2 at https://d2lang.com

Installation

  1. Open the Zed Extension Gallery by:
    a. pressing cmd-shift-x (macOS)
    b. or pressing ctrl-shift-x (Linux)
    c. or triggering the zed: extensions command from the command pallet
    d. or by selecting "Zed > Extensions" from the menu bar
  2. Search for "D2".
  3. Click "Install".

Acknowledgments