Skip to content

Sketch

Use the sketch attribute to render the diagram as if it was sketched by hand.

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

The above code block will be rendered as the following diagram with a sketched appearance:

Diagram