runlevelrobot
08/23/2020, 9:03 PMric03uec
08/24/2020, 12:18 AMtech
tech.readings
tech.readings.papers
tech.readings.books
tech.readings.articles
now im trying to do two things:
1. create a schema for readings
parent which can be used for any parent (other than tech
) e.g. personal.readings.books
etc
2. apply different templates to each child i.e. papers
, books
and articles
i currently have a file called tech.schema.yml
that looks like this:
version: 1
schemas:
- id: tech
desc: all notes in tech hierarchy
parent: root
namespace: true
children:
- articles
- books
- papers
- id: articles
desc: notes based on articles i've read
- id: books
desc: notes based on books i've read
- id: papers
desc: notes based on whitepapers i've read
template:
id: readings.papers.template
type: note
but when i create a note using tech.readings.papers.foo
, the template readings.papers.template
is not applied to the note. am i doing something wrong here?imalightbulb
08/24/2020, 12:21 AMric03uec
08/24/2020, 12:21 AMkevins8
08/24/2020, 12:24 AMkevins8
08/24/2020, 12:25 AMDeveloper: Reload Workspace
, create tech.foo.papers
and then send me the output of Dendron: Open Log
?ric03uec
08/24/2020, 12:33 AMtech.baz.papers
(like you did), i was trying tech.papers.baz
which does not really match the glob pattern of the schema. i changed the schema to this:
version: 1
schemas:
- id: tech
desc: all notes in tech hierarchy
parent: root
children:
- readings
- id: readings
desc: technical readings
children:
- articles
- books
- papers
- id: articles
desc: notes based on articles i've read
- id: books
desc: notes based on books i've read
- id: papers
desc: notes based on whitepapers i've read
namespace: true
template:
id: readings.papers.template
type: note
and create a note using tech.readings.papers.baz
which applied the template correctlykevins8
08/24/2020, 12:36 AMkevins8
08/24/2020, 12:37 AMric03uec
08/24/2020, 12:41 AMkevins8
08/24/2020, 12:42 AMric03uec
08/24/2020, 12:48 AMkevins8
08/24/2020, 12:50 AMkevins8
08/24/2020, 12:51 AMric03uec
08/24/2020, 12:54 AMkevins8
08/24/2020, 12:54 AMrunlevelrobot
08/24/2020, 4:08 PMkevins8
08/24/2020, 4:09 PMkevins8
08/24/2020, 4:09 PMrunlevelrobot
08/24/2020, 4:26 PMHeroP
08/25/2020, 6:21 AMrunlevelrobot
08/25/2020, 2:53 PMimalightbulb
08/25/2020, 2:56 PMkevins8
08/25/2020, 3:28 PMkevins8
08/25/2020, 3:32 PMDendron-journals
) though that would mean losing the ability to create links between your journal notes and your other notes.
is there a specific reason you don't want your journals in the main tree?runlevelrobot
08/25/2020, 3:34 PMkevins8
08/25/2020, 3:38 PMrunlevelrobot
08/25/2020, 3:43 PMrunlevelrobot
08/25/2020, 3:43 PMrunlevelrobot
08/25/2020, 3:43 PM