D2 is a markup language recognized by GitHub Linguist and used with .d2.
Quick facts
What is D2
D2 is a markup language recognized by GitHub Linguist and used with .d2.
GitHub Linguist classifies D2 as a markup language, typically using extensions such as .d2.
File extensions:
Related languages
Frequently asked questions
D2 is a markup language recognized by GitHub Linguist and used with .d2.
Common extensions include .d2.
Sources & standards
Updated 2026-08-18
Explore this reference