vuepress icon indicating copy to clipboard operation
vuepress copied to clipboard

Support webp image

Open scorpiozj opened this issue 4 years ago • 1 comments

Feature request

What problem does this feature solve?

I use webp image in markdown,and after run dev, the chrome can't show the image. After inspecting the element, the console shows there is error, and the link for the image is something like: /link/[object object].
Then I rename the webp to png, like a.webp->a.png. In this case, chrome can show the image but safari can't show it.
I propose the Vuepress can support webp image.

What does the proposed API look like?

not applied.

How should this be implemented in your opinion?

Sorry, I don't know.

Are you willing to work on this yourself?

I'm not a front-end developer.
But I'd like to have a try if there is how-to.

scorpiozj avatar Dec 24 '20 14:12 scorpiozj

👀

eulier1 avatar Sep 23 '23 18:09 eulier1