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

preview markdown support for png images #21992

Open
1 task done
aaelony opened this issue Dec 13, 2024 · 1 comment
Open
1 task done

preview markdown support for png images #21992

aaelony opened this issue Dec 13, 2024 · 1 comment
Labels
admin read Pending admin review bug [core label] triage Maintainer needs to classify the issue

Comments

@aaelony
Copy link

aaelony commented Dec 13, 2024

Check for existing issues

  • Completed

Describe the bug / provide steps to reproduce it

Zed does not appear to render png files that are listed in the markdown.

e.g. if png/myimage.png exists then <img src="png/myimage.png" /> should render the image in the preview.

I tested this in Zed and don't see the image.
The same markdown renders the image in VSCode.

Environment

Zed: v0.165.4 (Zed)
OS: Linux X11 pop 22.04
Memory: 23.3 GiB
Architecture: x86_64
GPU: Intel(R) Graphics (RPL-U) || Intel open-source Mesa driver || Mesa 24.0.3-1pop1171163555922.04~7a9f319

If applicable, add screenshots or screencasts of the incorrect state / behavior

No response

If applicable, attach your Zed.log file to this issue.

No response

@aaelony aaelony added admin read Pending admin review bug [core label] triage Maintainer needs to classify the issue labels Dec 13, 2024
@jansol
Copy link
Contributor

jansol commented Dec 14, 2024

it should render if you use the Github-flavored markdown syntax for images instead of HTML, i.e. ![alt text](png/myimage.png)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
admin read Pending admin review bug [core label] triage Maintainer needs to classify the issue
Projects
None yet
Development

No branches or pull requests

2 participants