Every placeholder in Snippet Palette

Every placeholder and date format, with examples.

The placeholders

Placeholder Becomes
{clipboard} The text on the clipboard at the moment you pick the snippet
{selection} The text selected in the app in front. Pasting then replaces that selection
{cursor} Nothing. After pasting, the cursor is moved back to this place. Only the first one in a snippet counts
{input:Name} What you type into the field called Name
{input:Name=default} The same, starting with a default value
{date} Today's date in the medium format of your Mac's region: Nov 25, 2026
{date:long} November 25, 2026
{date:short} 11/25/26
{date:iso} 2026-11-25
{time} The time now: 2:05 PM

The examples show the United States formats. Yours follow the region set on your Mac.

Your own date and time formats

After the colon you can write a pattern of your own:

You write You get
{date:dd.MM.yyyy} 25.11.2026
{date:EEEE} Wednesday
{date:MMMM yyyy} November 2026
{time:HH:mm} 14:05

The letters are the standard date patterns that macOS uses: d day, M month, y year, E weekday, H hour, m minute.

Rules

  • Placeholders are written in lower case, with no spaces inside the braces.
  • Anything else in braces is pasted exactly as written.
  • A backslash keeps a placeholder as text: \{date} pastes {date}.
  • Paste exactly as written, under a snippet's text, switches placeholders off for that snippet.
  • When you copy a snippet instead of pasting it, {cursor} is left out.