Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
peddamat opened this issue Feb 28, 2023 · 2 comments
Open

Comments

@peddamat
Copy link

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
Copy link

gluc commented Mar 26, 2024

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
Copy link

gluc commented Mar 26, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants