Skip to content

Placeholder reference

{keyword [attribute="value" ...] [| modifier ...]}
PlaceholderAttributesSnippetsQuick links
{date}format, offset
{time}format, offset
{datetime}format, offset
{day}
{clipboard}offset
{selection}
{cursor}
{uuid}
{random} / {random:uuid}
{random:1..100}
{random:a,b,c}
{snippet name="…"}name (required)

| {argument} | name, default, options | ✓ | ✓ |

AttributeTypeDescription
formatStringSimpleDateFormat pattern (e.g. "yyyy-MM-dd")
offsetStringOne or more space-separated offset values (e.g. "+1d", "+1y -3d")

Offset units (case-sensitive):

UnitMeaning
yYears
MMonths
dDays
hHours
mMinutes
AttributeTypeDescription
offsetInteger stringIndex into clipboard history. "0" = most recent (default)
AttributeTypeDescription
nameStringIdentifier; reuse the same name to reuse the value
defaultStringPre-filled value; makes the argument optional
optionsComma-separated stringPresents a picker instead of free-text input

Maximum 3 arguments per snippet or quick link.

ModifierApplies toDescription
uppercaseAnyConvert to ALL CAPS
lowercaseAnyConvert to all lowercase
trimAnyStrip leading/trailing whitespace
percent-encodeAnyURL percent-encode the value
json-stringifyAnyJSON-encode (escape quotes, newlines, etc.)
rawQuick linksDisable automatic URL encoding
capitalcaseAnyCapitalize the first letter of each word (lowercases rest). Alias: capitals
reverseAnyReverse by Unicode grapheme clusters
stripdiacriticsAnyRemove combining diacritical marks (NFD normalization). Example: cafécafe
stripnonalphanumericAnyRemove all non-letter, non-digit characters
AttributeRequiredDescription
nameYesTrigger of the snippet to expand inline

The referenced snippet cannot itself contain {snippet}.