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

    rlh1994

    01/30/2022, 12:16 PM
    If you want to embed the content in the note you need to use ![[...]] As your reference
  • j

    Joshi

    01/30/2022, 12:25 PM
    You can create a new workspace by using
    Dendron: Initialize Workspace
    command. For navigating between the two workspaces you will want to open them in two different vscode window. Another way could be to just add a new vault in the existing tutorial workspace and you can write your learnings in that newly created vault. I personally added the dendron remote vault to my personal workspace so that I can have the dendron wiki locally.
  • w

    withnoroof

    01/30/2022, 12:25 PM
    Perfect, how do I stop it from including the rest of that note? How do I make it just the Images section?
  • w

    withnoroof

    01/30/2022, 12:26 PM
    What's a remote vault? You mean like access to dendron wiki by the side of your own dendron, so that you don't have to have 2 windows open at once? Maybe we should contact the devs to make that the default, unless specified otherwise?
  • r

    rlh1994

    01/30/2022, 12:28 PM
    You can use a range reference as detailed on this page https://wiki.dendron.so/notes/f1af56bb-db27-47ae-8406-61a98de6c78c/
  • j

    Joshi

    01/30/2022, 12:29 PM
    A remote vault is a vault that is cloned from a git repo. You can choose from a registry(dendron vault, tldr etc) or enter a custom git url. More info here: https://wiki.dendron.so/notes/6682fca0-65ed-402c-8634-94cd51463cc4/
  • j

    josh

    01/30/2022, 3:11 PM
    How can I setup a github remote vault repository to publish only that vault to github pages? is that possible? I've only seen the guide where it explains how to publish the complete workspace
  • v

    vishal.gandhi

    01/30/2022, 4:55 PM
    I added a remote vault (git) with sub-folders. how can I organize notes in sub-folders (where a sub-folder is not a vault)? I try to add notes, couldn't find a way in dendron to move notes to a sub-folder (not a vault)II
  • k

    kevins8

    01/30/2022, 7:19 PM
    This is a little difficult to do today. Essentially, you would create a workspace for publishing that vault, add that vault as a remote vault to the newly created workspace. Afterwards, you can follow the regular publishing instructions: https://wiki.dendron.so/notes/FnK2ws6w1uaS1YzBUY3BR.html#summary
  • k

    kevins8

    01/30/2022, 9:15 PM
    With Dendron you organize your notes within hierarchies, not folders. There are several reasons, but one that makes sense is that a file can serve as both a file and a folder, whereas a folder can only serve as a folder. See more details here: https://wiki.dendron.so/notes/683740e3-70ce-4a47-a1f4-1f140e80b558.html#will-dendron-ever-support-folders
  • j

    josh

    01/30/2022, 9:17 PM
    yep, that was the solution I tried out today! Created a stub workspace which I have as a separate github repo and in the github action I download the other repo! Works well, but is a bit counterintuitive. I was also thinking of doing it the other way around, that way the page would be right where the vault is.
  • k

    kevins8

    01/30/2022, 9:25 PM
    we'll be making this easier moving forward by decoupling the publishing config from the workspace config. tagging @User for visibility
  • j

    josh

    01/30/2022, 9:29 PM
    great idea! also, I noticed that there was a
    light.css
    and a
    dark.css
    in the
    assets-dendron/css
    directory - is there a way to set the style to be dark or light? Couldn't find any documentation, looked for an option here: https://wiki.dendron.so/notes/f2ed8639-a604-4a9d-b76c-41e205fb8713/
  • k

    kevins8

    01/30/2022, 9:38 PM
    not currently - we use that for the dendron preview (re-uses the same assets). if you are using a dark vscode theme, we switch to the dark theme. planning on exposing it to the published site but haven't done so yet
  • p

    pdina

    01/30/2022, 9:47 PM
    Do I have something misconfigured? I started a new Dendron workspace and manually initialized a git repo via the command line. I did some manual commit and then tried the "Add and commit" command which gives this error: > error while running command: The "path" argument must be of type string. Received an instance of Object
  • k

    kevins8

    01/30/2022, 9:50 PM
    add and commit is currently broken. we recommend using workspace sync right now to commit and push all your vaults
  • p

    pdina

    01/30/2022, 9:52 PM
    can i continue with command line git (as I usually do) or I'll miss some Dendron goodies?
  • s

    SeriousBug

    01/30/2022, 9:54 PM
    The sync command is effectively
    git add . && git commit && git pull && git push
    with a few security checks. If you are comfortable with the CLI you can absolutely keep using it
  • u

    user

    01/30/2022, 9:59 PM
    Can we customize dendron preview with custom CSS?
  • k

    kevins8

    01/30/2022, 10:03 PM
    not yet, its on the roadmap
  • p

    Petew

    01/31/2022, 8:00 AM
    I'm considering changing from Joplin to Dendron, but there's one thing I'm not sure of. I've got a system that runs on a linux box here, and once a day it assembles a daily log file. I can use the Joplin API to create a note from a Python script, so the daily logs are assembled in the same place. Is it possible to do the same thing with Dendron? I don't want to have to manually start this from Dendron, it has to be completely automatic and run from cron.
  • s

    SeriousBug

    01/31/2022, 8:01 AM
    You can use the Dendron CLI, or even just drop a markdown file into the Dendron vault. Dendron will automatically recognize them next time you start it.
  • p

    Petew

    01/31/2022, 9:25 AM
    Thanks, I wondered about that. An .md file with front matter set by the script is OK, but I wasn't sure if the Id meant something specific. Do I have to set it?
  • s

    SeriousBug

    01/31/2022, 9:26 AM
    You should set it, but it can be any random string. There are no requirements
  • p

    Petew

    01/31/2022, 9:26 AM
    Excellent ! Thanks for the help 🙂
  • s

    SeriousBug

    01/31/2022, 9:27 AM
    No problem! (Actually one requirement is that it needs to be unique, but you can just get a UUID or something which is what Dendron does anyway)
  • p

    Petew

    01/31/2022, 9:27 AM
    I was about to ask if a UUID would be acceptable - you're a mind reader.
  • u

    user

    01/31/2022, 9:50 AM
    hello, how would i link to a file outside Dendron (such as a pdf) and have it open, like with its default program?
  • j

    Joshi

    01/31/2022, 11:12 AM
    The most common way to link the non-note files(like pdf, images etc) is by keeping them in the assets folder inside Dendron vault and linking them from your note. https://wiki.dendron.so/notes/3472226a-ff3c-432d-bf5d-10926f39f6c2/#links
  • u

    user

    01/31/2022, 11:12 AM
    I am keeping the vault inside OneDrive and I would like to reference things relative to that, without having to move things inside the vault.
1...532533534...757Latest