jonathanyeung / mark-sharp

Mark Sharp WYSIWYG Markdown Editor for VS Code
42 stars 0 forks source link

Split view not rendering images (works in default MS MDown preview) #28

Closed aioue closed 1 month ago

aioue commented 2 months ago

Describe the bug.

Repro: VSCode Explorer open at . Markdown file in ./path/markdown.md Image file in ./path/images/image.png

markdown.md contents:

![foo image label](images/image.png)

Result:

image

Result with in-built Markdown: Open Preview to Side Image renders.

Repro Steps

1. 2.

Version

1.5.0

What platform are you seeing the problem on?

Mac OS

jonathanyeung commented 2 months ago

@aioue - thanks for raising this issue. Right now, image paths must be relative to the workspace root / opened folder. I'll add this issue to my backlog.

jonathanyeung commented 1 month ago

Hi @aioue - this should now be fixed in 1.5.1 - let me know if you're still having issues.

aioue commented 1 month ago

Working great in 1.5.1, thanks!

image