https://www.dendron.so/ logo
#questions
Title
# questions
s

SeriousBug

02/08/2022, 6:56 PM
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

Tika

02/08/2022, 7:00 PM
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

SeriousBug

02/08/2022, 7:01 PM
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

Tika

02/08/2022, 7:02 PM
Yes, but my question was for files that are not under the Dendron workspace but are elsewhere on the local system
s

SeriousBug

02/08/2022, 7:03 PM
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

Tika

02/08/2022, 7:04 PM
😵
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

SeriousBug

02/08/2022, 7:29 PM
That looks broken yes, "Dendron: Go to Note" should work though I think
t

Tika

02/08/2022, 7:43 PM
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