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

Local Image Inserts Don't Work #95

Open
rowanfr opened this issue Jan 3, 2024 · 2 comments
Open

Local Image Inserts Don't Work #95

rowanfr opened this issue Jan 3, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@rowanfr
Copy link

rowanfr commented Jan 3, 2024

When I want to reference a local image that I hope to be included in my preview the image link is broken. An example is in this following code block

graph TD

    DIR("<img src='//D:/1.png'/>")

This produces the correct output for mermaid-cli but in the preview it shows a broken link both when the output image was an svg and png.

To reproduce this behavior try to direct or link to a local image

The expected behavior is for there to be an image instead of a broken link.

  • OS: Windows
  • VSCode version: 1.85.1
  • Extension version: 0.19.1
@rowanfr rowanfr added the bug Something isn't working label Jan 3, 2024
@kbocock-krg
Copy link

Please fix asap.

@Crimsonabyss
Copy link

hi any update on this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants