Overview
Official
Officially developed and maintained by the creators of D2.
Community
Community developed plugins and extensions. Have one you'd like to share? Please open an issue and we're happy to include your's!
- Tree-sitter grammar: https://git.pleshevski.ru/pleshevskiy/tree-sitter-d2
- Tree-sitter grammar 2: https://github.com/ravsii/tree-sitter-d2
- Emacs major mode: https://github.com/andorsk/d2-mode
- Goldmark extension: https://github.com/FurqanSoftware/goldmark-d2
- Telegram bot: https://github.com/meinside/telegram-d2-bot
- Postgres importer: https://github.com/zekenie/d2-erd-from-postgres
- Structurizr to D2 exporter: https://github.com/goto1134/structurizr-d2-exporter
- MdBook preprocessor: https://github.com/danieleades/mdbook-d2
- Org-mode support: https://github.com/xcapaldi/ob-d2
- ROS2 D2 Exporter: https://github.com/Greenroom-Robotics/ros-d2
- Python D2 diagram builder: https://github.com/MrBlenny/py-d2
- Clojure D2 transpiler: https://github.com/judepayne/dictim
- JavaScript D2 diagram builder: https://github.com/Kreshnik/d2lang-js
- CIL (C#, Visual Basic, F#, C++ CLR) to D2: https://github.com/HugoVG/AppDiagram
- D2 Snippets (for text editors): https://github.com/Paracelsus-Rose/D2-Language-Code-Snippets
- MongoDB to D2: https://github.com/novuhq/mongo-to-D2
- Pandoc filter: https://github.com/ram02z/d2-filter
- MySQL to D2: https://github.com/JDOsborne1/db_to_d2
- Remark D2 code blocks into images: https://github.com/mech-a/remark-d2
- D2 image service: https://github.com/Watt3r/d2-live
- MkDocs plugin: https://github.com/landmaj/mkdocs-d2-plugin
- C# & dotnet SDK: https://github.com/Stephanvs/d2lang-cs
- Zed extension: https://github.com/gabeidx/zed-d2
- Hexo blog extension: https://github.com/leverimmy/hexo-d2