How to best setup links to invoke external default application?

Things I have tried

 [example notebook](file:/home/user/notebooks/example.ipynb)

This works fine, but requires hardcoding an absolute path to the file in question

I have copies of this vault on a number of different computers,
that have the external files in different locations.

What is the best way to deal with this?

One idea would be to somehow have a variable specifying an absolute path to a notebook root directory, specify a path relative to that notebook root directory,
and somehow construct the full path for the link

  • how could this be accomplished?
  • any other suggestions?

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.