Option for link reference style for ZK LSP support #115
Replies: 3 comments 11 replies
-
I can see supporting this for regular Markdown links (with extension intact, to avoid needless magic) ... but not sure about overloading the wikilink part. How does Obsidian behave in comparison? |
Beta Was this translation helpful? Give feedback.
-
From my understanding of the discussion and the current status. ZK is making changes to match Wikilinks in some new ways including by filename. This will make Wikilinks generated via ZK work with Emanote, with appropriate template usage. @srid do I understand correctly that you're planning for Emanote to support relative file paths for Markdown links? If I'm understanding that correctly then there is a path forward for both link types, it's just a matter of implementation :) |
Beta Was this translation helpful? Give feedback.
-
I added support for relative links in regular Markdown links in #268 And it should be fairly straightforward to do the same for wiki-links. |
Beta Was this translation helpful? Give feedback.
-
Describe the bug
Currently using ZK as a LSP with Emanote I'm finding that the wikilink and markdown syntax for file paths are incompatible. Would be nice to have support across the two.
Emanote:
Zk:
Additional context
I have found that if I use Emanote's Markdown syntax and leave off the file extension the link works however Emanote doesn't recognize it, marks it with the bad link CSS and doesn't process backlinks.
At the end of the day, I think it's just a matter of if links are processed relative to the note they are in or the root folder. Zk is going with fully relative right now, while Emanote does it based off of the root folder.
It's possible these are both valid, and I don't really have a strong preference. I just want to use them together :)
See: zk-org/zk#65
Beta Was this translation helpful? Give feedback.
All reactions