orbikm/mkdocs-ezlinks-plugin

Image wikilink doesn't work when image extension included in link text

Opened this issue · 2 comments

The provided example works:

![[Puppy]]

However, if I use a link like this, which Obsidian.md creates, the generated link is broken:

![[Puppy.png]]

I'm not sure if this is intentional or not.

gluc commented

I can confirm that this is the case. It seems that the . is being replaced:

image

This is a problem in combination with Obsidian, as Obsidian does not recognize the Wikilinks notation without the file extension:

image

Also not sure who is right, but being able to use wikilinks created by Obsidian (i.e. with extensions) would help us tremendously.

gluc commented

This fork fixes it: https://github.com/gluc/mkdocs-ezlinks-plugin

You can use it like so: add mkdocs-ezlinks-plugin @ git+https://github.com/gluc/mkdocs-ezlinks-plugin to your requirements.txt.

An alternative seems to be https://github.com/Lisandra-dev/mkdocs-ezlinked-plugin . Though I haven't tested it.