如何在Markdown中显示本地图像 [英] How to display local image in markdown

查看:146
本文介绍了如何在Markdown中显示本地图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在markdown中尝试了以下操作,但似乎不起作用,有人知道如何在markdown中显示本地图像吗?我不想为此设置一个网络服务器.谢谢

I try the following in markdown, but seems doesn't work, anyone know how to display a local image in markdown ? I don't want to setup a webserver for that. Thanks

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

推荐答案

我怀疑路径不正确.如user7412219所述,ubuntu和Windows对路径的处理不同.尝试将图像与笔记本计算机放在同一文件夹中并使用:

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")

在Windows上,桌面应位于:C:\ Users \ jzhang \ Desktop

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

这篇关于如何在Markdown中显示本地图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆