Title
Use the title attribute to specify a title for a diagram.
```d2 title="My custom diagram"Content -> Website: Astro```The title attribute is used as the alt attribute of the generated image:
<img alt="My custom diagram" … />Use the title attribute to specify a title for a diagram.
```d2 title="My custom diagram"Content -> Website: Astro```The title attribute is used as the alt attribute of the generated image:
<img alt="My custom diagram" … />