Skip to content

[Help] Is it possible to use absolute paths when running ZkNotes with the option hrefs? #152

Answered by tjex
asterixpound asked this question in Help
Discussion options

You must be logged in to vote

Hey there. :ZkNotes calls the pick_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:

.
├── bo4m.md
├── foo
│   ├── bar
│   │   └── ao96.md
│   └── keiv.md

no matter where you are in your notebook:
ZkNotes { hrefs = {"foo"}} : returns ao96.md and keiv.md
ZkNotes { hrefs = {"foo/bar"}} : returns ao96.md only

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by tjex
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants