Path
Use $.path
property to rename/move a note.
The property accepts a text path representing the final path.
Like the template content, you can use variables in this property.
You can omit the file extension (this is .md
by default).
Warning
When a file already exists at the location, the template content will be merged with the existing file.
Examples
Create an unique note
---
$.path: "inbox/{{date.today('YYYY-MM-DD')}}"
---
Create note at inbox/2025-07-29.md
.
Change file directory
---
$.path: "references/bookmark/{{originalPath.basename}}"
---
Create note at references/bookmark/NOTE_BASENAME.md
.
Append date
---
$.path: "{{originalPath.parent}}/{{date.today('YYYY-MM-DD')}} {{originalPath.basename}}"
---
Create note at NOTE_PARENT/2025-07-29 NOTE_BASENAME.md
.