You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The preview does not show images if they are stored into another part of the folder tree. In the code no error is indicated, stating the image does not exist, but in the preview it is not shown
Steps to reproduce
Create an empty solution with two folders
documentation
images
Create an md file in documentation with this content:
# Demo image issue
Link to test image:
![Test image](/Images/Test.jpg)
Place an image, named Test.jpg in the images folder Expected behavior: [What you expected to happen]
In the previws the image will be shown in the text
Actual behavior: [What actually happened]
The image is not shown, instead an error icon is shown.
Note, in Visual Studio Code this works as expected
In the previous edition of the Markdown tool, absolute and relative links used in image paths were observed. To be consistent with Wiki structures in Azure DevOps, I would use a path such as ../.attachments/image.png. This edition of Markdown is not observing the relative paths in the preview window. As a workaround, one may place the image file in the same directory as the MD file and just use the image file name in the path. I have chosen to use the previous edition because of my need to integrate well with the Azure DevOps wiki.
I made an instructioins markdown file with your product (very pleased with it). The instructions file contained images, which are in a subdirectory "Images". Then I copied the lot to a new project, added existing files to the solution and the preview didn't show the images, like RudolfJan stated. If I hover over the image link in the edit panel it shows the image, the preview however doesn't.
Tried to fix it with:
restarting VS
deleting and re-entering code (link to the images)
re-adding the image to the solution
All to no avail. If I open this Instructions.md in Typora, all is perfectly shown. However I prefer working in your VS-extension. Is there a wau this can be fixed?
Description
The preview does not show images if they are stored into another part of the folder tree. In the code no error is indicated, stating the image does not exist, but in the preview it is not shown
Steps to reproduce
Expected behavior: [What you expected to happen]
In the previws the image will be shown in the text
Actual behavior: [What actually happened]
The image is not shown, instead an error icon is shown.
Note, in Visual Studio Code this works as expected
Included sample project:
md image preview bug.zip
The text was updated successfully, but these errors were encountered: