From eb9a3b2630b3e3331469efb0e4ce3834cfb7bb83 Mon Sep 17 00:00:00 2001 From: zadam <zadam.apps@gmail.com> Date: Mon, 11 Sep 2023 23:00:11 +0200 Subject: [PATCH] Updated Day notes (markdown) --- Day notes.md => Day-notes.md | 7 +++++++ 1 file changed, 7 insertions(+) rename Day notes.md => Day-notes.md (89%) diff --git a/Day notes.md b/Day-notes.md similarity index 89% rename from Day notes.md rename to Day-notes.md index 20ff03c..7103d88 100644 --- a/Day notes.md +++ b/Day-notes.md @@ -34,6 +34,13 @@ It's possible to customize the title of generated date notes by defining a `#dat * `{dayInMonthPadded}: {weekDay2}` day notes are named e.g. "24: Mo" * `{isoDate} - {weekDay}` day notes are named e.g. "2020-12-24 - Monday" +## Month pattern +It is also possible to customize the title of generated month notes through the `#monthPattern` attribute, much like `#datePattern`. The options are: +- `{monthNumberPadded}` results in a number like `09` for September, and `11` for November +- `{month}` results in the full month name (e.g. `September` or `October`) + +The default is `{monthNumberPadded} - {month}` + ## Implementation Trilium has some special support for day notes in the form of [backend Script API](https://zadam.github.io/trilium/backend_api/BackendScriptApi.html) - see e.g. getDayNote() function.