Operating system
Windows
Joplin version
3.1.20
What issue do you have?
I have a knowledge base - a directory storing lots of saved articles from the Internet (HTML, PDF, DOCx, etc).
I would like to refer to them from several notes.
I do not want to synchronize them and I do not want to "embed" them into notes. I prefer to keep them separately.
I just want to link link to them.
BUT, when I move to another computer (say, with Linux), where I have a similar directory (synchronised via DropBox), something like "file:///c:/abc/kb/" won't work.
It would work, however, if the link was defined like "file:///RES_DIR/kb" for example,
where the RES_DIR could be defined somewhere in Joplin and automatically "expanded".
I found a plugin: NoteVariables. It does exactly what I need, except that the variables are not "expanded" in hyperlinks.
I mean - they are properly expanded and displayed in the RMD viewer (right panel), but when I define a link with that variable, it remains as is: "file:///RES_DIR/kb" rather than, say "file:///c:/tmp/kb" or "/file:///home/kb".
Is there, maybe, any already existing Joplin mechanism to define such dynamic links, so, when I switch to my other computer, I can just change the variable and all my links will be automatically working? (translated "at runtime")?