Closed ssakhavi closed 3 years ago
I had actually wanted to get this implemented, and would be relatively straightforward, if not a bit of work.
Your suggestion is reasonable, and I do want to get this functionality, and not just for obsidian links, this could work to disambiguate a number of duplicated filenames. I'll do some thinking on this and see what I can come up with. I'll be able to look into it this weekend, I'm sure.
Thanks for the issue report / feature request, and thanks for the kind words about the plugin as well!
This feature has been merged in and released as mkdocs-ezlinks-plugin==0.1.9
. Please give it a try, and let me know if this solution works for your needs. Also, please let me know if you run into any incorrect behavior using the new feature.
Thanks for using EzLinks!
Thanks Mick. Will do.
On Sun, 6 Jun 2021, 1:28 pm Mick Orbik, @.***> wrote:
This feature has been merged in and released as mkdocs-ezlinks-plugin==0.1.9. Please give it a try, and let me know if this solution works for your needs. Also, please let me know if you run into any incorrect behavior using the new feature.
Thanks for using EzLinks!
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/orbikm/mkdocs-ezlinks-plugin/issues/18#issuecomment-855341048, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABOAG6ZQXTEY35XXNI2A4C3TRMBOVANCNFSM4533P54A .
In Obsidian, if two files have the same name and are in different folders, the link will contain a slash. for example:
In Obsidian, the link for the first will be
[[folder1/index]]
and for the second it will be[[folder2/index]]
. In other words: in order to distinguish between the files, it uses a namespace. There is a chance of having multiple layers of namespaces as well.A temporary workaround is to rename the files but I suggest that a fix.
Thanks for the plugin btw.