[Help] Is it possible to use absolute paths when running ZkNotes with the option hrefs
?
#152
-
Verify
How can we help you?Is there a way to run
from the root directory of my notebook at I could use a relative path and run
but ultimately I am interested in having a keybinding which looks for notes in Providing an absolute path as with
just shows all the notes in my Notebook. I really appreciate any help on this. I have been finding |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hey there. So, the behaviour you're looking for is already possible. Given the following tree:
no matter where you are in your notebook: |
Beta Was this translation helpful? Give feedback.
-
Thanks @tjex. Things seem to be working as expected now. I am not sure what what was going on before but it must have been an error on my end. |
Beta Was this translation helpful? Give feedback.
Hey there.
:ZkNotes
calls thepick_notes()
function, which always queries from notebook root. It is not dependant on where you are when you execute.So, the behaviour you're looking for is already possible.
Given the following tree:
no matter where you are in your notebook:
ZkNotes { hrefs = {"foo"}}
: returnsao96.md
andkeiv.md
ZkNotes { hrefs = {"foo/bar"}}
: returnsao96.md
only