miaolz123 / vue-markdown

A Powerful and Highspeed Markdown Parser for Vue
https://miaolz123.github.io/vue-markdown/
MIT License
1.89k stars 257 forks source link

Image not displaying #94

Open depperm opened 5 years ago

depperm commented 5 years ago

I am trying to display an image and it isn't displaying. Other vue-markdown content displays fine. The location is correct as right above it I've added an img

<img src="@/assets/7801_4_lang_image.png"><!-- shows up -->
<vue-markdown>![img](@/assets/7801_4_lang_image.PNG)</vue-markdown><!-- doesn't show up -->

Changing the @ to .. doesn't change anything either, the top one displays but the bottom one doesn't. Am I referencing the image wrong? Why won't it display?

ideacco commented 3 years ago

Yes, I also found that I could not display the image, so what should be the correct image path in DEV mode and build mode?