Skip to content

Support webp image #2746

Open
Open
@scorpiozj

Description

@scorpiozj

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions