From e3564d29a796036e42bc4cdaa7cb269bd4709f11 Mon Sep 17 00:00:00 2001 From: Tom Free <7283497+thfrei@users.noreply.github.com> Date: Mon, 16 May 2022 11:18:42 +0200 Subject: [PATCH] correctly format date sample --- Default-note-title.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Default-note-title.md b/Default-note-title.md index 0222d18..d886ff1 100644 --- a/Default-note-title.md +++ b/Default-note-title.md @@ -22,7 +22,7 @@ As an example, imagine you collect server outage incidents and write some notes. * 2022-05-09: System crash * 2022-05-15: Backup delay -You can automatize the date assignment by assigning a label `#titleTemplate="${now.format('YYYY-MM-DD')}: " to the parent note "Incidents". Whenever a new child note is created, the title template is evaluated with the injected now object. +You can automatize the date assignment by assigning a label `#titleTemplate="${now.format('YYYY-MM-DD')}: "` to the parent note "Incidents". Whenever a new child note is created, the title template is evaluated with the injected now object. Second variable injected is parentNote, an example could be `#titleTemplate="${parentNote.getLabelValue('authorName')}'s literary works"`.