mdBook
mdBook copied to clipboard
adressing relative to root not possible
Question
How can one adress relativ to the root? I often reference the same images in documents somewhere in the arbitrary nested folder structure. I don't want to duplicate such images everywhere. Ok, I can create an assets
-Folder in the docroot. But Sometimes I have to refer to it like ..\..\assets\xyz
, sometimes like ..\..\..\assets\xyz
, and so on - I always have to know how levels deep from the Root I am. If I specify `\assets\xyz', then an error occurs because this is treated as an absolute path which is not allowed. I.o.w.: How can I adress a specific folder in a uniform way, not having to know how many folders up it is?
Version
No response
Absolute link support is not yet available. There is a PR at #1802 open to add that.