diff --git a/README.md b/README.md index 6484b6a..df5a040 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,23 @@ Each week is a single markdown note in your vault containing: - **Goals** for the week - A **skills × days** tracking table -- **Daily notes** sections, one per day +- **Daily notes** sections, one per day — each seeded with a practice **Session** + carrying [Dataview](https://github.com/blacksmithgu/obsidian-dataview) inline + fields: `skill::`, `minutes::`, and `notes::`. Duplicate the Session + bullet to log multiple sessions in a day. The day's date is in its heading + (`### Monday — 2026-06-15`), so a future Dataview query or heat-map can read each + session's date, skill, and minutes without any hidden metadata. + + Example day: + + ``` + ### Monday — 2026-06-15 + + - **Session 1** + - skill:: + - minutes:: + - notes:: + ``` ## Settings diff --git a/main.ts b/main.ts index cb21aa2..7d9ccaa 100644 --- a/main.ts +++ b/main.ts @@ -183,8 +183,14 @@ function renderTemplate( const dailySections = days .map((d, i) => { - const date = addDays(weekStart, i); - return `### ${DAY_NAMES[d]} — ${formatISO(date)}\n- \n`; + const date = formatISO(addDays(weekStart, i)); + return `### ${DAY_NAMES[d]} — ${date} + +- **Session 1** + - skill:: + - minutes:: + - notes:: +`; }) .join("\n");