vscode-mermaid-editor icon indicating copy to clipboard operation
vscode-mermaid-editor copied to clipboard

Local Image Inserts Don't Work

Open rowanfr opened this issue 1 year ago • 2 comments

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 avatar Jan 03 '24 04:01 rowanfr

Please fix asap.

kbocock-krg avatar Jan 26 '24 19:01 kbocock-krg

hi any update on this issue?

Crimsonabyss avatar Aug 26 '24 02:08 Crimsonabyss