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

Adding a webp image using "+" from file picker does not insert an image markdown #2150

Closed
jonata opened this issue May 25, 2021 · 0 comments
Closed
Assignees

Comments

@jonata
Copy link

jonata commented May 25, 2021

On page editing, if I click on the "(+)" button in a webp image at the bottom of the page, the markdown line inserted is not for image, but for links. Like this:

[image.webp](image.webp)

It should insert an image line, like this:

![](image.webp)

I think that only adding "webp" in this function should solve the problem:

export function UriToMarkdown(uri) {

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

No branches or pull requests

3 participants