Skip to content

Grid

The Astro D2 integration can be used to create grid diagrams:

src/content/docs/example.md
```d2
grid-columns: 3
Astro
Starlight
Studio {
style.stroke-dash: 3
}
```

The above code block will be rendered as the following diagram:

Diagram