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 not preview #673

Closed
hyawara opened this issue May 30, 2024 · 3 comments
Closed

image not preview #673

hyawara opened this issue May 30, 2024 · 3 comments

Comments

@hyawara
Copy link

hyawara commented May 30, 2024

windows env

My image path uses an absolute path, which can be displayed normally on obsidian. but markdown-preview.nvim not.

image

@RaidOpe
Copy link

RaidOpe commented Jun 7, 2024

You can try '/' to guide the path (Windows ❤️ Linux). In my case, using relative path can fix that

@hyawara
Copy link
Author

hyawara commented Jun 10, 2024

You can try '/' to guide the path (Windows ❤️ Linux). In my case, using relative path can fix that
relative path is ok.

and I was wondering why the absolute path is not work

@RaidOpe
Copy link

RaidOpe commented Jun 29, 2024

You can try '/' to guide the path (Windows ❤️ Linux). In my case, using relative path can fix that
relative path is ok.

and I was wondering why the absolute path is not work

A little look at the source code shows that the original author prefers to use MD notes with relative paths.

This is reason why it works with relative path

I find there is a Contributor PR the root path

But now that the original author has abandoned the project and hopes that there will be enthusiasts to update the project in the future, this is a good plugin

@hyawara hyawara closed this as completed Jul 8, 2024
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