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

display local image file #164

Closed
tsanyqudsi opened this issue Jun 20, 2021 · 1 comment
Closed

display local image file #164

tsanyqudsi opened this issue Jun 20, 2021 · 1 comment

Comments

@tsanyqudsi
Copy link

So far most of the Markdown implementation is using absolute url such as http://www.url.com/imagefile.jpg.

I wonder if we can use local file for displaying the image using relative url.

For example :

folder
-- image.png
-- index.md

in index.md :

![yay image](./image.png)
@hmsk
Copy link
Owner

hmsk commented Jun 27, 2021

Thanks for your suggestion. Solving path sounds like build system (in this case, vite)'s duty for me, so I don't think this plugin support specifically so far. Bring your concrete example (it'd be great if it's a repo to run and see easily) if something I can help.

@hmsk hmsk closed this as completed Jun 27, 2021
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