Skip to content

Hello World

Create a D2 diagram by using a Markdown code block which is indicated by a block with three backticks ``` at the start and end and by specifying the d2 language after the opening backticks.

src/content/docs/example.md
```d2
Content -> Website: Astro
```

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

Diagram