-
Notifications
You must be signed in to change notification settings - Fork 145
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
zk does not recognize my Wiki link template with a pipe #98
Comments
This should be supported already. I won't have time to test before next week though. |
did some experimenting: These aren't detected as links at all (no LSP hints at all)
These get detected as a link, but result in 'not found' LSP indicators
These work as expected
|
I hope this makes it a bit easier, here is a repo to reproduce the error: https://github.com/nogweii/zk-issues-98 |
Thanks, I'll take a look this weekend |
@nogweii Thanks, your sample repo was very helpful. There's actually several issues:
|
I fixed the LSP hints/diagnostics in the same PR, there were two issues:
The only two cases I didn't fix because they are correct are the following from your repo: [Terms of Gardening](terms-of-gardening.ker6z)
[Terms of Gardening](ker6z) Markdown links are equivalent to HTML I'll wait for you to test the changes before merging this PR. |
Here is part of my configuration:
This generates a text link from the LSP something like this:
But it does not get recognized as an actual link to the note:
$ zk list -l Digital\ Garden/terms-of-gardening.ker6z.md Found 0 note
My intention with the template is to be able to link to a template without worrying what its filename is as well as enabling custom link text in the source document to allow better flow in whatever context it is in.
For me, when "wiki" is listed as a supported link style, I expected nearly-full support of MediaWiki's link syntax but it seems it's much simpler then that. Could this feature be added?
The text was updated successfully, but these errors were encountered: