How do I display local image in markdown?

zjffdu picture zjffdu · Jan 12, 2017 · Viewed 190.9k times · Source

Does anyone know how to display a local image in markdown? I don't want to setup a webserver for that.

I try the following in markdown, but it doesn't work:

![image](files/Users/jzhang/Desktop/Isolated.png)

Answer

Philipp Schwarz picture Philipp Schwarz · Jan 28, 2017

I suspect the path is not correct. As mentioned by user7412219 ubuntu and windows deal with path differently. Try to put the image in the same folder as your Notebook and use:

![alt text](Isolated.png "Title")

On windows the desktop should be at: C:\Users\jzhang\Desktop