Skip to content

demo

Editable Clock

The block below is generated entirely from a custom Markdown fence. Edit the clock code and the preview recompiles automatically after a short debounce.

Authoring In Markdown

Use the p5 fence anywhere in your docs pages.

md
```p5
function setup() {
  createCanvas(400, 400);
}

function draw() {
  background(230);
}
```

Another Sketch

This second block shows that the same Markdown syntax can be reused for smaller examples.