Skip to content

preview markdown support for html <img> tags for images #21992

@aaelony

Description

@aaelony

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions