Arrow in Markdown
Author live UI as fenced Arrow — Comark boots each block in @arrow-js/sandbox (QuickJS/WASM). No component registration.
Reactive counter + CSS
Computed values
Expression slots stay live when you pass a function. Change price or qty and the total updates.
Keyed list
Agents can ship interactive lists. Call .key(id) on components so identity survives edits.
Components + local state
component() mounts once per slot — parent props stay live; local state survives parent updates.
Host bridge
Sandbox code calls host APIs you allowlist — Markdown authors cannot widen the bridge.
output() → host
JSON-safe payloads cross the VM boundary. The playground logs them below.
Restricted fetch (weather)
Network uses the sandbox fetch proxy (https, no credentials) — not the page window. Cookies and DOM stay unreachable.