HappenApps / Quiver

Quiver documentation and issue tracker
2.26k stars 109 forks source link

Using Relative Paths #1446

Open tmdelellis opened 4 years ago

tmdelellis commented 4 years ago

Is it possible (I haven't figured out how) to use relative paths for links. In my case, I have a git repository with a bunch of generated image files. I have a shared notebook in the repository that gets loaded into my main notebook. Ideally, I would like to add links (instead of duplicate pasting) to images in the shared notebook. I can use absolute links:

![image](/path/to/image_dir_in_repo/x.pdf)

However, if I check out this repo in a different location, and load it in my main notebook as a shared library the links will break. If I could do:

![image](../../image_dir_in_repo/x.pdf)

the link would still work.

Thanks!