Technically yes, it should generate the correct li...
# questions
s
Technically yes, it should generate the correct link if you open the file in VSCode then use "Copy Note Link". Just keep in mind that the link won't work in publishing or when sharing your vault.
t
Hm... It does not work. I can get a path but the [boo](path) format does nothing. I tried file:/// etc. and could not make that work either
s
When you use the "Dendron: Copy Note Link" command, it should give you a correct link. It will look like
[[../file.txt]]
. The path is relative to where your
dendron.yml
is.
t
Yes, but my question was for files that are not under the Dendron workspace but are elsewhere on the local system
s
I understand, the "Copy Note Link" command will still work inside of those files. While you have your Dendron workspace open, you can use the "File: Open File" command or the VSCode menus to open a file somewhere else in your filesystem, then use the command.
t
😵
Hm... This gets rendered as a link in the [[../../something]] format but not in the [something](../../something) format. But in both cases I cannot open the file in the default app even if the hover panel promises that.
s
That looks broken yes, "Dendron: Go to Note" should work though I think
t
Dendron: Go to Note open it in a tab in vscode, Ctrl+hover does that too. Not really desired or it would be good to be able to choose. Anyway, I guess I shall leave this for now..........
2 Views