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

    Tika

    12/27/2021, 12:54 AM
    Is there a way to embed and display in Preview and in publishing PDF files stored in
    /assets
    or
    /assets/pdf
    using relative links? What would be the syntax?
  • s

    SeriousBug

    12/27/2021, 12:57 AM
    You can link to them with
    [text](/assets/file.pdf)
    I think, but you can't embed them yet. We have plans coming up soon to add this and more: https://docs.dendron.so/notes/WCZ1LzhM07Om3KFPERk6l/
  • s

    SeriousBug

    12/27/2021, 12:58 AM
    You also might be able to do something by embedding HTML into your note, but I don't have an example
  • t

    Tika

    12/27/2021, 1:05 AM
    Thanks. Yes, this is what I was trying, also
    embed
    and
    iframe
    but with no luck. Is an embedded PDF via
    iframe
    from the web possible? Does not render for me. It would be great to be able to embed various image formats and pdfs from local storage (apdf, gif, jpeg, pdf).........
  • s

    SeriousBug

    12/27/2021, 1:13 AM
    Found this: https://blog.devgenius.io/how-to-display-a-pdf-using-an-iframe-and-make-it-responsive-d3c3fcd3a460 Edit: nevermind, I don't think that helps. I'll take a look when I have the time to see if it's possible
  • t

    Tika

    12/27/2021, 5:20 AM
    Made an issue. If this is already possible, it would be great to see how in the docs. https://github.com/dendronhq/dendron/issues/1984
  • m

    Murali

    12/27/2021, 10:30 AM
    Folks, I am trying to sync dendron across office and home devices. I have pushed the repository containing the vault to github. I have cloned the repository in new machine. Should I initialize dendron workspace?
  • m

    Murali

    12/27/2021, 10:31 AM
    or should i just add this folder as a dendron workspace
  • m

    Murali

    12/27/2021, 10:31 AM
    Thanks
  • r

    rlh1994

    12/27/2021, 12:13 PM
    To rename a vault to I just rename the folder on my local system? And if I want to move a load of notes from one vault to the other, just cut and paste as I can't see a bulk move command?
  • b

    Bassmann

    12/27/2021, 1:10 PM
    If your repo just contains the vault you would initialize a new workspace and add the vault as a remote vault
  • m

    Murali

    12/27/2021, 2:00 PM
    Thanks, Bassman. I must be doing something wrong as I am getting this error message : rror: spawn git ENOENT at Process.ChildProcess._handle.onexit
  • s

    SeriousBug

    12/27/2021, 3:29 PM
    Could you make sure you have git installed on that machine?
  • s

    SeriousBug

    12/27/2021, 3:32 PM
    If you rename the folder, you'll also need to update your
    dendron.yml
    file. You can also give the vault a name without renaming the folder:
    Copy code
    vaults:
      - fsPath: folder
        name: "vault name"
  • m

    Murali

    12/27/2021, 5:00 PM
    Yes. Git is installed in both the machines.
  • k

    kzilla

    12/27/2021, 6:23 PM
    With the following VSCODE settings, doesn't Dendron already have the 'Outlining' feature by default?
    Copy code
    "editor.showFoldingControls": "always"
    "editor.guides.indentation": true
    "breadcrumbs.enabled": true
  • k

    kevins8

    12/27/2021, 7:12 PM
    it does. its just quite the same as apps like workflowy because they make it possible for a bullet to become a new page
  • k

    kevins8

    12/27/2021, 7:13 PM
    you could argue that dendron does it do if you turn a bullet into a scratch note but its a little less ergonomic
  • u

    user

    12/27/2021, 11:25 PM
    Howdy, Just a question regarding the 'root' note in a dendron workspace. What would be the suggested use case for it? I've noted that changing it's name is not a great idea and thus I should leave that as is. However should I also leave the boilerplate that is already there? Or should I populate it with the 'root' information regarding the workspace? I.e. If I were creating a workspace regarding a maths subject at university, would I put the basic information regarding the subject or would I create another node called Introduction to or something to that effect and begin my tree there? I assume it's up to me in the end but just looking for what people think is best practice. Thanks!
    k
    • 1
    • 3
  • z

    Zan

    12/28/2021, 12:02 AM
    I use it as the table of contents or list of quick links. It's your landing page if you publish to web.
  • k

    kevins8

    12/28/2021, 2:37 AM
    root node best practice
  • t

    tae

    12/28/2021, 4:45 AM
    hello guys, new to dendron. Noticed when i frist intialize a workspace, it opens the workspace within the vault, but when i restart my computer and want to go back, i need to open code from root directory, otherwise it fails to initialize dendron
  • s

    SeriousBug

    12/28/2021, 4:46 AM
    I hope I'm not misunderstanding you, but you ideally want to reopen the Dendron workspace. In the recent window, this will show up as "dendron (Workspace)".
  • t

    tae

    12/28/2021, 4:48 AM
    hm, so there isn't a way for me to open code through terminal in the directory to initialize dendron?
  • s

    SeriousBug

    12/28/2021, 4:49 AM
    Oh, you could do
    code path/to/workspace/dendron.code-workspace
    . That should launch the workspace directly.
  • t

    tae

    12/28/2021, 4:49 AM
    oh!
  • t

    tae

    12/28/2021, 4:49 AM
    thanks a lot 🙂
  • t

    Tianyu

    12/28/2021, 4:59 AM
    Hello! I was looking through the wiki page about "Publishing Your Site," but I cannot find the command "Dendron: Site Build" (as directed in this screenshot) while I'm in a dendron workspace. All the steps before are performed alright. Is this normal? What should I do? 😧
  • s

    SeriousBug

    12/28/2021, 5:00 AM
    I think it has been renamed to "Dendron: Publish Export". Could you try that?
  • t

    tae

    12/28/2021, 6:01 AM
    is there a way to hide the children section in preview?
1...481482483...757Latest