Licat
09/23/2020, 1:45 AMkevins8
09/23/2020, 1:45 AMLicat
09/23/2020, 1:48 AMLicat
09/23/2020, 1:49 AMkevins8
09/23/2020, 1:51 AMLicat
09/23/2020, 1:56 AMindex.md
as the root of each folder.Licat
09/23/2020, 1:57 AMkevins8
09/23/2020, 2:02 AMkevins8
09/23/2020, 2:03 AMLicat
09/23/2020, 2:05 AMLicat
09/23/2020, 2:05 AMkevins8
09/23/2020, 2:09 AMtsnieman
09/23/2020, 2:34 AM- id: journal
parent: root
children:
- daily
- weekly
- yearly
- id: daily
namespace: true
template:
id: journal.template.daily
type: note
- id: weekly
namespace: true
- id: yearly
namespace: true
β
I have journal.template.daily.md
(with content in it; just the standard stuff the Dendron starter project provides)
β Creating a new note via CTRL SHIFT P
and then Dendron: Create Daily Journal Note <ENTER>
just produces a blank file (but the correct file name with a date in it and such, though I have no idea how it knows how to date the file either?).
β Creating a note via lookup like CTRL L
and then daily.journal.2020-09-23 <ENTER>
.
Anyone know what I'm doing wrong?kevins8
09/23/2020, 3:48 AMjournal.daily.*
if you want a template for daily.journal.*
, you need to create a schema like the below
yml
- id: daily
parent: root
children:
- journal
- id: journal
children:
- daily
- weekly
- yearly
- id: daily
namespace: true
template:
id: journal.template.daily
type: note
- id: weekly
namespace: true
- id: yearly
namespace: true
tsnieman
09/23/2020, 3:58 AMDendron: Create Daily Journal Note
? (if at all)
I'm trying to figure out how to replicate the Dendron: Create Daily Journal Note
, but with a template.
EDIT: also, the schema you've provided above results in a "MAXIMUM CALL STACK" sort of error when trying to reload the index. Something's wonky.
EDIT2: also, why does Create Daily Journal Note
create daily.journal.2020-09-23
instead of daily.journal.2020.09.23
? π€
EDIT2.5: ^ adjusted via the settings json -- "dendron.defaultJournalDateFormat": "Y.MM.DD",
EDIT3: ahh, there's """special notes""" ... https://www.dendron.so/notes/5c213aa6-e4ba-49e8-85c5-1bdcb33ce202.html#daily-journal
EDIT4: here we go! this daily.schema.yml
works with the Dendron: Create Daily Journal Note
command:
version: 1
schemas:
- id: daily
title: Daily Journal
desc: ""
parent: root
children:
- journal
- id: journal
children:
- year
- month
- day
- id: year
title: year
pattern: "[0-2][0-9][0-9][0-9]"
children:
- month
- id: month
title: month
pattern: "[0-9][0-9]"
children:
- day
- id: day
title: day
pattern: "[0-9][0-9]"
namespace: true
template:
id: journal.template.daily
type: note
EDIT6: now with less verbosity by utilizing `journal.schema.yml`:
version: 1
imports:
- journal
schemas:
- id: daily
title: Daily Journal
desc: ""
parent: root
children:
- journal.journal
kevins8
09/23/2020, 5:40 AMuser
09/23/2020, 7:55 AMuser
09/23/2020, 7:57 AMuser
09/23/2020, 7:58 AMuser
09/23/2020, 8:00 AMgrndstt
09/23/2020, 3:16 PMkevins8
09/23/2020, 4:10 PMgrndstt
09/23/2020, 5:36 PMgrndstt
09/23/2020, 5:36 PMkevins8
09/23/2020, 5:39 PMmeet.journal.*.*.*.dendron
. I pin the note as a tab and just refer to it when i need to create a child. to create arbitrary deeply nested children, you'll probably want to type it inside a note until we get autocomplete workinggrndstt
09/23/2020, 5:40 PMgrndstt
09/23/2020, 5:41 PMgrndstt
09/23/2020, 5:41 PMgrndstt
09/23/2020, 5:42 PM