Skip to content

The VS Code of video editing, built for agents.

TypeScript

Add timing properties to captions documentation

konstantin-paulusbd010274843e
diff --git a/reference/jsx/captions.md b/reference/jsx/captions.md
index 3a3e60b4..19d35635 100644
--- a/reference/jsx/captions.md
+++ b/reference/jsx/captions.md
@@ -18,6 +18,7 @@ Transcripts are **cached**: every transcript asset records a fingerprint of the
| `colors` | `string[]` | preset defaults | Fills the preset's color slots in order; any CSS color, alpha ignored. Ignored by presets without slots. |
| `verticalAlign` | `"top" \| "center" \| "bottom"` | preset default | Vertical placement of the caption block: anchored to the top or bottom safe margin (100 px), or centered. Horizontal placement stays with the preset. |
| `offsetX`, `offsetY` | `Animatable<number>` | `0` | Render-time nudge in px on top of the preset placement; subpixel values are kept. A slide animation drives the same channel and wins while it plays. |
+| `start`, `end`, `sourceIn`, `sourceOut` | `Time` | full transcript | Trim which stretch of the transcript is captioned, using the same [timing](./timing.md) semantics as media nodes. See below. |
The preset positions the caption block; `verticalAlign` overrides only its vertical anchor (`whisper` and `cascade` default to `bottom`, all other presets to `center`), and `offsetX`/`offsetY` nudge the drawn result from there.