如何在Markdown中显示本地图片? [英] How do I display local image in markdown?

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

问题描述

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

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

我在markdown中尝试了以下操作,但这不起作用:

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

![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天全站免登陆