有人知道如何在markdown显示本地图像吗?我不想为此设置网络服务器。
我尝试以下markdown,但它不起作用:

有人知道如何在markdown显示本地图像吗?我不想为此设置网络服务器。
我尝试以下markdown,但它不起作用:

当前回答
这对我来说在ubuntu中很有效:

降价文件在:
/home/gps/Documents/Markdown/
图片文件在:
/home/gps/Pictures/
其他回答
只要复制图像,然后粘贴,你就会得到输出

在Jupyter笔记本Markdown,您可以使用
<img src="RelPathofFolder/File" style="width:800px;height:300px;">
编辑:
为我工作(本地形象)

tree
├── doc
└── jobsSystemSchema.jpg
├── README.md
markdown文件README。Md与doc目录处于同一级别。
在您的情况下,您的降价文件应该与目录文件处于同一级别。
为我工作(带原始路径的绝对url)

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

类unix操作系统的解决方案。
STEP BY STEP :创建一个名为Images的目录,并放置所有将由Markdown呈现的图像。 例如,将example.png放到Images中。 加载之前位于Images目录下的example.png。

注意:图像目录必须位于markdown文本文件的相同目录下,扩展名为.md。
如果图像有括号,它将不会显示
.png)
重命名图像并删除括号

更新: 如果你在文件路径中有空格,你应该考虑重命名它,或者如果你使用JavaScript,你可以使用它编码
encodeURIComponent(imagePath)
此外,总是尝试用小写字母来保存图像和文件,请养成这个习惯,尽管这只是我个人的观点