有人知道如何在markdown显示本地图像吗?我不想为此设置网络服务器。

我尝试以下markdown,但它不起作用:

![](文件/ \用户形象/ jzhang桌面/孤立。png)


当前回答

我有一个解决办法:

a)互联网示例:

![image info e.g. Alt](URL Internet to Images.jpg "Image Description")

b)本地图像示例:

![image Info](file:///<Path to your File><image>.jpg "Image Description")
![image Info](file:///C:/Users/<name>/Pictures/<image>.jpg "Image Description")

涡轮字节

其他回答

只需从markdown文件中添加相对图像文件路由

![localImage](./client/src/assets/12.png)

我有一个解决办法:

a)互联网示例:

![image info e.g. Alt](URL Internet to Images.jpg "Image Description")

b)本地图像示例:

![image Info](file:///<Path to your File><image>.jpg "Image Description")
![image Info](file:///C:/Users/<name>/Pictures/<image>.jpg "Image Description")

涡轮字节

下面的工作与图像到文档旁边的子文件夹的相对路径:

![image info](./pictures/image.png)

编辑:

为我工作(本地形象)

![system schema](doc/systemDiagram.jpg)

 tree
 ├── doc
     └── jobsSystemSchema.jpg
 ├── README.md

markdown文件README。Md与doc目录处于同一级别。

在您的情况下,您的降价文件应该与目录文件处于同一级别。

为我工作(带原始路径的绝对url)

![system schema](https://server/group/jobs/raw/master/doc/systemDiagram.jpg)

不为我工作(url与blob路径)

![system schema](https://server/group/jobs/blob/master/doc/systemDiagram.jpg)

只要复制图像,然后粘贴,你就会得到输出

![image.png](attachment:image.png)