Mat
10/29/2022, 2:52 PMjeep
10/29/2022, 5:35 PMtodoIntegration: true
(under workspace->task that you can. I've had pretty awful luck with TODO Tree and it seems to be unsupported, but I think it's the current way Dendron handles itMat
10/29/2022, 5:41 PMjeep
10/29/2022, 5:42 PMjeep
10/29/2022, 7:44 PMMat
10/29/2022, 7:48 PM+
could be better was also mentioned here: https://github.com/dendronhq/dendron/issues/767
Edit: To answer your question. The +
just means, that the parent/root node of that subtree does not exist. You can create the missing note and leave it empty to make it go away..jeep
10/29/2022, 7:54 PMMat
10/29/2022, 7:55 PMtriplem
10/30/2022, 11:37 AMtriplem
10/30/2022, 11:42 AMjeep
10/30/2022, 2:48 PMjeep
10/30/2022, 2:59 PMsetTitle(props) {
const dot_loc = props.currentNoteName.indexOf(".");
stripped_name = props.currentNoteName.slice(dot_loc + 1)
return luxon.DateTime.fromString(stripped_name, "yyyy.MM.dd").toFormat("yyyy-MM-dd EEE");
},
jeep
10/30/2022, 3:01 PMBassmann
10/30/2022, 3:11 PMMat
10/30/2022, 6:25 PMkevins8
10/30/2022, 6:37 PMtriplem
10/30/2022, 6:51 PMjeep
10/30/2022, 7:29 PMjeep
10/30/2022, 9:50 PMjeep
10/30/2022, 10:01 PMDendron: Move Note
commandtriplem
10/30/2022, 11:05 PMjeep
10/31/2022, 12:11 AMJoshi
10/31/2022, 8:32 AMJohnMi
10/31/2022, 9:18 AMJohnMi
10/31/2022, 9:23 AMtriplem
10/31/2022, 11:59 AMtriplem
10/31/2022, 12:00 PMhooks:
onCreate:
- id: journal-title
pattern: daily.journal.[0-2][0-9][0-9][0-9].[0-1][0-9].[0-3][0-9]
type: js
- id: monthly-title
pattern: daily.journal.[0-2][0-9][0-9][0-9].[0-1][0-9].review
type: js
Those hooks are pretty equal, but do contain the following:
journal-title.js:
module.exports = async function({wsRoot, note, NoteUtils, execa, axios, _}) {
let date = fnameToDate(note.fname)
note.title = date
note.custom = {"date": date}
note.body = "# Daily " + date
return {note}
};
weekly-title.js:
module.exports = async function({wsRoot, note, NoteUtils, execa, axios, _}) {
let date = fnameToDate(note.fname)
note.title = "Monthly Review " + date
note.custom = {"date": date}
note.body = "# Monthly Review " + date
return {note}
};
triplem
10/31/2022, 12:00 PMversion: 1
schemas:
# Daily is the top most schema since its parent is 'root' it must have an identifier
# this identifier 'daily' will be used when using 'Lookup (schema)' command.
- id: daily
parent: root
# Children of the top most schema do not need to contain identifier and just
# require a 'pattern' to be set to match the hierarchy of notes.
children:
- pattern: journal
children:
- id: year
title: year
pattern: "[0-2][0-9][0-9][0-9]"
template: dendron.templates.journal
children:
- id: month
title: month
pattern: "[0-1][0-9]"
template: dendron.templates.journal
children:
- id: day
title: day
pattern: "[0-3][0-9]"
# As with regular schema we can set the template to be used with
# the match of our notes. Below is an example usage of shorthand template
# definition (which defaults to type: note).
template: dendron.templates.journal
- id: review
title: review
pattern: "@(review)"
desc: "Monats Rueckblick"
template: dendron.templates.monthly.review
The templates are highly adaopted in the note body, but otherwise pretty standard, therefor I do leave them out. What I don't like about this solution, is that the Headers are included in the hook, and are therefor just adoptable if you are a "programmer" and which is IMHO against the "separation of concerns". Furtheremore the definition of the hooks are pretty "detailed" (define the regexp for the full filename), but I have not found any way to exclude one file from a glob pattern in the hooks section.hikchoi
10/31/2022, 12:22 PMInsert Note Index
when you have programming.python
open and active will create an index (wikilinks) for everything under python
.hikchoi
10/31/2022, 12:32 PM