1. Docs
  2. Writing and linking

Daily notes and templates

Open today's note with one key, step through days, and write reusable templates with date, time and cursor variables.

On this page

Daily notes

The daily notes module creates one note per day from a template, in a folder you choose.

  1. Press Ctrl + Alt + D (Open today’s daily note). If the note does not exist, Scaffold creates it first.
  2. Use Open previous daily note and Open next daily note to step between days.

Settings:

Setting Default
Folder Daily
File name format YYYY-MM-DD
Template none (an empty note)
Open on startup off

The format uses these tokens: YYYY year, MM month number, DD day, ddd and dddd short and full weekday name, MMM and MMMM short and full month name. For example YYYY/MM/YYYY-MM-DD files notes into year and month folders.

Templates

A template is an ordinary note inside your templates folder (default Templates). Insert one into the current note with Ctrl + Alt + T (Insert template), or use one as the daily note template.

Variables

Variable Becomes
{{title}} The note’s title (its file name).
{{date}} Today’s date as YYYY-MM-DD.
{{date:FORMAT}} Today’s date in your format, such as {{date:dddd, MMMM D}}.
{{time}} The time as HH:mm.
{{time:FORMAT}} The time in your format (HH, mm, ss).
{{cursor}} Where the cursor lands after the template is inserted.

Anything else between double braces is left exactly as you wrote it, so a typo never silently deletes text.

Example

---
date: "{{date:YYYY-MM-DD}}"
---
# {{date:dddd, MMMM D, YYYY}}

## Plan
- {{cursor}}

## Notes

Starter templates

Scaffold can install a small set of starter templates into your templates folder (for example a daily note, a meeting note and a project note) so you can see what is possible and edit them freely. They are normal files; once installed they are yours.

See also Properties, which pairs well with templates, and Keyboard shortcuts.