https://www.dendron.so/ logo
Join Discord
Powered by
# questions
  • l

    Licat

    09/23/2020, 1:45 AM
    Ohh haha I wasn't looking closely enough! Let me take a read
  • k

    kevins8

    09/23/2020, 1:45 AM
    all good. we have a bunch of docs so working on consolidating it πŸ˜…
  • l

    Licat

    09/23/2020, 1:48 AM
    Ah I seem to have missed the most critical part because this link (on the landing page) 404's
  • l

    Licat

    09/23/2020, 1:48 AM
    It seems to link to
  • l

    Licat

    09/23/2020, 1:49 AM
    the next two in the paragraph also seems to 404
  • k

    kevins8

    09/23/2020, 1:51 AM
    opps, good catch. updating that now 😳
  • l

    Licat

    09/23/2020, 1:56 AM
    Hmm right, so after some reading it seems like Dendron is highly opinionated indeed. It does sound like a specialized tool is necessary to support such a use case. The closest thing I imagine exist would either be Bear style "nested tags", or just using the plain file system with
    index.md
    as the root of each folder.
  • l

    Licat

    09/23/2020, 1:57 AM
    Either way, looks great! I can't wait to see how people use it to manage their notes.
  • k

    kevins8

    09/23/2020, 2:02 AM
    yep. and while you can use bear nested tags and file systems to create hierarchies, they do not do anything to enforce consistency or help you update hierarchies after the initial creation. dendron at its core is a note taking tool optimized to help create, reference , and share notes organized hierarchically.
  • k

    kevins8

    09/23/2020, 2:03 AM
    and thanks! in general, i'm just excited that note taking is a thing that people are talking about and that we now have multiple new contenders in the space. you and @User deserve a lot of the credit there πŸ™‚
  • l

    Licat

    09/23/2020, 2:05 AM
    Thanks as well. We're at the opposite of the spectrum being "non-opinionated" which comes with a very different set of constraints and difficulties πŸ˜‚
  • l

    Licat

    09/23/2020, 2:05 AM
    Yeah this space is pretty exciting, for some reason booming starting sometime early this year
  • k

    kevins8

    09/23/2020, 2:09 AM
    yeah, i can imagine. used to work at aws on the load balancing team. turns out if you put out a tool into the world, people will use said tool in all the ways except what you intended πŸ™„
  • t

    tsnieman

    09/23/2020, 2:34 AM
    I'm having trouble getting templates to actually populate a file when created. My journal schema looks like such (it's the same one from the Dendron starter project):
    Copy code
    - 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?
  • k

    kevins8

    09/23/2020, 3:48 AM
    that schema would apply or the following:
    journal.daily.*
    if you want a template for
    daily.journal.*
    , you need to create a schema like the below
    Copy code
    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
  • t

    tsnieman

    09/23/2020, 3:58 AM
    Uhhh. Hmm. Okay. Then what is this file doing? https://github.com/dendronhq/dendron-template/blob/master/vault/journal.schema.yml And how does it relate to
    Dendron: 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:
    Copy code
    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`:
    Copy code
    version: 1
    imports:
      - journal
    schemas:
    - id: daily
      title: Daily Journal
      desc: ""
      parent: root
      children:
        - journal.journal
  • k

    kevins8

    09/23/2020, 5:40 AM
    > Then what is this file doing? https://github.com/dendronhq/dendron-template/blob/master/vault/journal.schema.yml this file is meant to be imported into existing hierarchies but looks like you've figured that out already πŸ™‚ create daily journal note is just a shortcut for creating notes with the journal naming convention
  • u

    user

    09/23/2020, 7:55 AM
    Is there a nice way to create a new child in deeper hierarchies? Level1.level2.level3.NewNote
  • u

    user

    09/23/2020, 7:57 AM
    Usually navigate to the nearest level that has a note, because the lookup keeps the context. But wondering if there is a better way
  • u

    user

    09/23/2020, 7:58 AM
    You don’t have autocomplete in lookup
  • u

    user

    09/23/2020, 8:00 AM
    Alternatively I sometime just type it inside a note, because that does have auto complete
  • g

    grndstt

    09/23/2020, 3:16 PM
    @User @User had exactly the same question ... isn't tab working inside a cmd+L lookup window ?
  • k

    kevins8

    09/23/2020, 4:10 PM
    @User @User so this has been something i’ve been struggling with as well. vscode doesn’t support autocomplete inside the quick input widget. currently, i've been pinning notes that I want to create children of. you can see an example in this video https://www.loom.com/share/f0bbfc9cae0a474a99f8a1169b7b96c7
  • g

    grndstt

    09/23/2020, 5:36 PM
    Im sorry @User this was really quick for me and I didn't get the workaround. Basically I understood you had to pin the note (ctrl + K + enter) but how does this allows you to easily created a deeply nested notes in lets say a completely different hierarchy ?
  • g

    grndstt

    09/23/2020, 5:36 PM
    I think is didn't get something here ...
  • k

    kevins8

    09/23/2020, 5:39 PM
    i think i might have answered the question i wanted instead of the question that was asked πŸ˜… so this is useful if you know you will be creating multiple children under a single deeply nested parent. in my case, it's
    meet.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 working
  • g

    grndstt

    09/23/2020, 5:40 PM
    OK. This is clear ! I will try the autocomplete directly from the within the note.
  • g

    grndstt

    09/23/2020, 5:41 PM
    I had another question. I want to make links to local files (say a buench of PDF in deeply nested folders) I dont want them in my dendron workspace.
  • g

    grndstt

    09/23/2020, 5:41 PM
    I have two issues
  • g

    grndstt

    09/23/2020, 5:42 PM
    One is that the default home is the dendron workspace so i need to start by ../../../ mooving up in my hierarchy (actually i could also simply ~/ )
1...757677...757Latest