-
Notifications
You must be signed in to change notification settings - Fork 139
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support links to non existent notes #28
Comments
Yes that's definitely a use case I'd like to support with We could fairly easily match the path parameter to an existing link href but I think this deserves a more systematic approach to be usable with other (and future) I don't want to rush this feature to make sure it's well thought out, so in the meantime I can think of two ways to address your issue:
|
@skbolton I added a new option $ zk list --exact-match --match "[[sql]]"
$ zk list -em "[[sql]]" And with this [alias]
list-wl = 'zk list --exact-match --match "[[$*]]"' $ zk list-wl sql
$ zk list-wl Page with spaces Pre-built binaries: |
Cool that is perfect. I meant to come back to this thread and say that a |
Do you need to specify |
You need to pass both flags, You can combine them nicely with the short names: |
ah okay I was confused that |
Ha yes, I can see how that can be ambiguous with |
I have been playing around with generating a nice graph view from the My current hacky approach:
This method works okay for my use-case. It is important for me that there is a clear distinction in convenience between simple tags and the virtual notes. I like that creating a virtual note is an explicit action, as it is like signing a contract with myself to revisit this area in future. I think this system could be made a lot less tedious with the following implementation: a |
I have started to play around with logseq and this is one of their features that I am really enjoying. I would love to see how this would feel in zk. In logseq you can link to any page and it will let you navigate to it. You can usually tell that it doesn't exist because there won't be any content for the page itself. But logseq will generate a backlinks section of references that point to it and transclude those blocks into view. I have contemplated making an extension for zk-nvim that would open a sidebar when you go to a note in a notebook. This sidebar would show links and references to the current note. If zk allowed you to create "ghost" notes and even run link-to queries about references pointing to the ghost note then the sidebar could still work. This sidebar could even possibly render out some of the content notes that are linking to the current note. |
A portion of one of my notebooks is reserved as a dev notebook where I store snippets and things I want to remember. What I'll often do is link to a note like
[[sql]]
. I usually don't create these "topic" notes but instead use them as something to query on. Or in Obsidian they still show up in the graph views even though they don't exist.I tried to take my existing notebook and make it work with zk but one issue has occurred. When I do something like
zk list --link-to=sql
I get errors because the sql path doesn't exist. At first I was hoping it could still find the notes that link to that non existent note. I can always go through and create these "topic" notes but I think then I just have notes that litter my search results when I am doing--match
queries or other non relational lookups.I can always change my workflows or listen to feedback on different ways of doing things, interested in your thoughts on this.
The text was updated successfully, but these errors were encountered: