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

Support webp image #2746

Open
scorpiozj opened this issue Dec 24, 2020 · 1 comment
Open

Support webp image #2746

scorpiozj opened this issue Dec 24, 2020 · 1 comment

Comments

@scorpiozj
Copy link

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.

@eulier1
Copy link

eulier1 commented Sep 23, 2023

👀

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