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

    seadude

    01/24/2022, 5:51 AM
    I think I only have one workspace. I go to "Open Workspace From File" in VS Code to open a Dendron workspace
  • s

    SeriousBug

    01/24/2022, 5:53 AM
    Could you try the "Developer: Reload Window" command? (Ctrl+Shift+P then type) Just to check if they are in the right order after a reload
  • s

    seadude

    01/24/2022, 5:53 AM
    Sure
  • s

    seadude

    01/24/2022, 5:56 AM
    Hm... well, that rearranged them, but can't guess as to what criteria is arranging them.
  • s

    seadude

    01/24/2022, 6:02 AM
    Hm... I also noticed something interesting...The Tree View visualizes the hierarchy BUT when you expand the *parent topics", Dendron creates new, blank files for these topics..
  • s

    SeriousBug

    01/24/2022, 6:02 AM
    Ah, if you click on the arrow and not the name, then it will expand it without opening/creating a note
  • s

    SeriousBug

    01/24/2022, 6:04 AM
    Oh wait, I think this is the old tree view. That's not sorted by anything actually πŸ˜… could you try the new tree view? You just need to add to your `dendron.yml`:
    Copy code
    dev:
        enableWebUI: true
  • s

    seadude

    01/24/2022, 6:05 AM
    Example: - In "Dendron (Workspace)" file exporer, create the file
    grandparent.parent.child.spirit
    - Notice, this is 1 file - Switch to Tree View - Expand
    grandparent
    , expand
    parent
    , expand
    child
    - Switch back to "Dendron (Workspace)" view - 3 more, blank files will be created
  • s

    SeriousBug

    01/24/2022, 6:05 AM
    I always forget because I've been using the new tree view for so long. @User are there any plans to make the new (webview) tree view default?
  • s

    seadude

    01/24/2022, 6:06 AM
    I'll try
  • s

    seadude

    01/24/2022, 6:12 AM
    Cool. Thank you @User . Adding that YAML to my dendron.yml fixed it. Tree View is now all alpha! Could you tell me: - What does the word "(vault)" next to each word signify? - Why does one word "Stroke" not have a "+" or icon next to it?
  • s

    SeriousBug

    01/24/2022, 6:13 AM
    (vault) which vault the note comes from. If you have notes from multiple vaults, this tells you which vault this specific note is from (say, private or public).
  • s

    SeriousBug

    01/24/2022, 6:14 AM
    If a note has
    +
    next to it, I think that means the note doesn't exist. It just has children that exist.
    Stroke
    actually exists so no +
  • s

    seadude

    01/24/2022, 6:16 AM
    Interesting, ok. That was the one where I expanded it all the way down and created those blanks.
  • s

    seadude

    01/24/2022, 6:19 AM
    Bingo! Deleted the blank files, then Dendron: Reload Window correctly set the "+".
  • s

    seadude

    01/24/2022, 6:21 AM
    Thank you!
  • a

    andrey-jef

    01/24/2022, 7:03 AM
    Wow. We have new tree view like that? Nice. Dendron is updated to latest version in my machine, but I still have the old one. Thanks for raising the question. So I can manually add in yml settings now πŸ€“
  • m

    mihaiconstantin

    01/24/2022, 10:01 AM
    Does Dendron have a
    cli
    command to build a specific note to HTML? I normally use
    pandoc
    but the wiki links are not converted. I would like instead of the wiki link to have the
    title
    of the note (i.e., the same as in the Preview Pane).
  • m

    mihaiconstantin

    01/24/2022, 10:02 AM
    Or is there a way to just save what's shown in the Preview Pane? I suppose the HTML in the Preview Pane comes from some temporary file?
  • m

    mihaiconstantin

    01/24/2022, 10:04 AM
    The same goes for note references.
  • h

    hikchoi

    01/24/2022, 10:19 AM
    cli has a command that you can look up a note and output it to specific format, but not HTML at the moment. You could use the publish pod to output html though.
    Dendron: Publish Pod
    =>
    dendron.html
    (with a note open) would output the html and save it to your clipboard.
  • m

    mihaiconstantin

    01/24/2022, 10:23 AM
    The look-up command sounds like what I am looking for! What formats does it output to and can you please share a link to the docs?
  • m

    mihaiconstantin

    01/24/2022, 10:25 AM
    Also, the
    Publish Pod
    is great! Thanks a lot!
  • m

    mihaiconstantin

    01/24/2022, 10:36 AM
    The
    Dendron: Publish Pod
    =>
    dendron.md
    =>
    pandoc
    =>
    .pdf
    is awesome! πŸ™‚
  • h

    hikchoi

    01/24/2022, 10:38 AM
    Looks like you figured it out πŸ˜„ sorry I was away for a bit.
  • h

    hikchoi

    01/24/2022, 10:42 AM
    FYI, with the upcoming V2 Pods, I believe
    Publish Pod
    will become part
    Export Pod
    . and you will have the option to export a selected note. And possibly a more intuitive way to export a single note to html / pdf (I'm not familiar with the exact plans but maybe @User could chime in and give us some more info on this).
  • m

    mihaiconstantin

    01/24/2022, 10:45 AM
    Ah, that's great. I can imagine plenty of scenarios where it comes in handy to be able to quickly export a note and share it with others. Thanks for the heads-up regardigng the changes in V2!
  • j

    jyeung

    01/24/2022, 12:12 PM
    Stay tuned for more details coming soon - we should have a preview of the V2 export pod coming out with the release next week.
  • m

    MichaB

    01/24/2022, 12:16 PM
    hey there πŸ‘‹ could somebody help me out and and tell to me if/how I can set frontmatter values from a schema template? I would like to set the frontmatter property
    title
    to the actual name of that 'level' not just the shortcut. For example, I have a step in my schema named
    oop
    with the title `Object Oriented Programming`but when I then create 'an instance' of that, the title of that instance will be set to 'oop' which is slightly annoying since I have to overwrite it every time. I've played around with templates a bit but couldn't figure out how to get it working, so I thought it might help to ask some people who already know the tool πŸ™‚
    k
    • 2
    • 14
  • m

    matthew.bellringer

    01/24/2022, 4:06 PM
    I've just started having a problem with relative-path references in my notes, and not sure why. I've got a template with a reference relative to the note created. I'm using
    Copy code
    ![[{{fname}}.referenceTarget]]
    Since the last release or two, this has stopped working in preview, build, and is now throwing an error on "fname" when I try and create from the template. Any suggestions for a better way to do note-relative references?
1...521522523...757Latest