wikilinks-to-mdlinks-obsidian icon indicating copy to clipboard operation
wikilinks-to-mdlinks-obsidian copied to clipboard

Support for wikilinks to notes in a different directory

Open mukulkhanna opened this issue 3 years ago • 3 comments

Thank you for making this super useful tool.

At the moment, this plugin is unable to create appropriate links for wikilinks leading to a note in some other folder. For example, if my folder structure is this —

/foo
    /foo.md
/bar
    /bar.md

And if in foo.md, if I have a wikilink to bar.md, as shown below –

[[bar]]

then on using the plugin, this becomes –

[bar](bar.md)

This seems to be consistent with Obsidian in that Obsidian can still link to the bar file even if it's in a different directory. But for all other Markdown-based platforms, like Github, the path (in foo.md) is expected to be –

[bar](../bar/bar.md)

Would there be a way to accommodate this inside your plugin? It would be super helpful in making my Obsidian notes be easily navigable on Github. Thank you!

mukulkhanna avatar May 14 '21 14:05 mukulkhanna

Maybe you need to set link format like this

options--new link format ---Relative path to file

cumany avatar Oct 05 '21 13:10 cumany

@agathauy Do you think you gonna tackle this? The last commit was on Dec 4th, 2020

JBlond avatar May 10 '23 07:05 JBlond

Any suggested workarounds for this? This plugin is currently unusable if you have multiple folders.

nikhilmaddirala avatar Jun 18 '24 17:06 nikhilmaddirala