Make snippets personal with variables

Dates, names, choices, clipboard text, and cursor placement.

DesktopExtension

These examples use the new desktop and Chrome syntax. For the mobile keyboard, see the mobile variables guide.

Ask for a name

Hello {{name:Customer}},
Thanks for getting in touch.

You’ll see the snippet with a field to complete before inserting it.

Offer a choice

{{pick:Greeting|Hello|Hi|Hey}} {{name:Customer}}

Choose a greeting when inserting. To choose randomly instead, use {{Hello|Hi|Hey}}.

Add a date or time

Use {{date:DD/MM/YYYY}} or {{time:HH:mm}}. The editor’s date selector provides common formats.

Use copied text

{{clipboard}} inserts clipboard text. Chrome requires clipboard access; this may be unavailable on insecure HTTP pages.

Place the cursor

Hello {{cursor}},
Thanks for your message.

In supported editors, the cursor returns to the marked position after insertion.

← All articles