# Dynamic Placeholders

Make your snippets and quick links dynamic with placeholders.

Placeholders insert dynamic content into a snippet or quick link at expansion time. Wrap them in curly braces anywhere in the expansion body:

```
Meeting on {date} — notes: {clipboard}
```

When this expands, `{date}` becomes today's date and `{clipboard}` becomes whatever you last copied.

## All placeholders

| Placeholder | Description |
|---|---|
| `{date}` | Current date |
| `{time}` | Current time |
| `{datetime}` | Current date and time |
| `{day}` | Current day of the week |
| `{clipboard}` | Most recent clipboard item |
| `{clipboard offset="N"}` | Nth item from clipboard history (0 = most recent) |
| `{selection}` | Text selected in the current app |
| `{cursor}` | Where the cursor lands after expansion (snippets only) |
| `{uuid}` | A randomly generated UUID |
| `{random}` | A random UUID (same as `{uuid}`; also `{random:uuid}`) |
| `{random:1..100}` | Random integer in an inclusive range |
| `{random:a,b,c}` | Random pick from a comma-separated list (must contain at least one comma; use `{random:a,}` for a single-item list) |
| `{snippet name="…"}` | Expands another snippet inline |
| `{argument}` | Prompts for input at expansion time |
| `{argument name="…" default="…" options="…"}` | Named argument with optional default and choices |

## Modifiers

Any placeholder value can be transformed with pipe modifiers:

```
{clipboard | uppercase}
{selection | trim | lowercase}
```

See [Modifiers](/placeholders/modifiers/) for the full list.

## Syntax

The general form is:

```
{keyword [attribute="value" ...] [| modifier ...]}
```

Attribute values are double-quoted. Multiple modifiers are applied left to right.
