Replaces `glue`-style `{token}` placeholders in a character vector with values taken from a user-controlled `metadata` list. This lets study-level information (e.g. study number, data cut-off date) be injected into slide titles, footnotes and placeholder slides without editing the deck or the spec text directly.
Value
A length-one `character` (`glue`) value with tokens substituted and the input collapsed by newlines, matching the previous `glue::glue()` behavior.
Details
Token values are looked up first in `metadata`, then in the calling environment (preserving the existing `glue` behavior used across `decorate` methods). A `{token}` that resolves to neither raises an informative error, so typos are caught early rather than silently producing a broken slide.