agathauy/wikilinks-to-mdlinks-obsidian

Support for wikilinks to notes in a different directory

Opened this issue · 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!

Maybe you need to set link format like this

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

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

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