Skip to content

Templates

Templates are reusable starting text for new notes.

Dynamic variables

These variables can appear anywhere in a template and are replaced when the note is created:

  • $id$ : Note ID
  • $title$ : Note Title
  • $filename$ : Filename
  • $$yyyyMMdd$$ : Date variable
  • $uuid$ : A random UUID v2.9.9
  • $default-text$: Add Repository Default Text
  • $custom$ : Custom variable

$uuid$ also works in text snippets.

Tip

Date variables use two $ on each side. See SimpleDateFormat for the pattern syntax.

Custom Variables

Any other name between single $ signs, e.g. $custom$, is a custom variable. When you create a note from the template, you are asked for its value, and every occurrence is replaced.

add note screen
Usage of custom template variable

Default template

To make a template the default, long-press it and select Set as Default. It is then applied to every fleeting note created with the add button in the notes list.