{JSON.stringify(captures, null, 2)}
```
## Custom expected markup
Built-in expected-region spans expose `data-capture-name` and `data-capture-value` alongside the hover `title`. Use `element.dataset.captureName` and `element.dataset.captureValue` for richer tooltips. Each fragment of a multiline capture carries the full captured value. Custom snippets own their markup; this example exposes their supplied text, while `onProcessing` provides full capture values.
```svelte