Install D2
Follow the D2 installation guide to install D2.
```d2 sketch pad=50direction: right
Astro.Markdown -> D2 -> SVG -> Browser.Diagrams -> Astro.Markdown: {style.animated: true}```
Install D2
Follow the D2 installation guide to install D2.
Install the integration
Check the getting started guide for installation instructions.
Configure the integration
Edit your config in astro.config.mjs
.
Read the docs
Learn more in the Astro D2 Docs.