Variables
Dynamic placeholders: text, date, time, clipboard, URL.
Variables make snippets dynamic. Insert a placeholder and Korte fills it at expansion time — either automatically or by prompting you.
Types
- Text — prompts you to type a value when you expand.
- Date & Time — auto-filled with the current date/time.
- Clipboard — pastes your current clipboard content.
- URL — inserts the current page URL.
Custom date & time formats
Date/time variables accept a custom format. You can set it in the snippet editor, or inline in the content using the token syntax:
{{date:YYYY-MM-DD}}
{{time:HH:mm}}
{{date:DD/MM/YYYY|+1D}} // shift: tomorrowFormat tokens
- YYYY / YY — year · MMMM / MMM / MM / M — month · DD / D — day
- dddd / ddd — weekday · HH / H / hh / h — hour · mm — minute · ss — second · A / a — AM/PM
- [text] — literal text (e.g. [at] HH:mm)
Shift
Append a shift after a “|” to offset the value (case-insensitive): Y year, MO month, W week, D day, H hour, M minute, S second. Examples: +1D (tomorrow), -2H, +30M.
Without a format, dates default to YYYY-MM-DD and times to HH:mm.