Rumah > Soal Jawab > teks badan
查了好多资料,都说可行的方法,我用着却不管用啊,我的路径没有写错,因为这个路径在其他地方都可以打开正确连接到那张图片,但是在README.md里面不显示图片,显示的只是这个路径,为啥呢,求解答啊。
在README.md里显示的是这样的:(没能直接放我写的链接,是因为我发现把我写的链接放在这里之后就直接显示那张照片了,证明我的路径真的没错啊,为啥在README.md里出不来呢)
高洛峰2017-04-17 11:56:55
测试下:
测试下获取:
图片用这个地址:https://raw.githubusercontent.com/zhangyudan/beautiful_stars/master/image/1.png
http://img.php.cn/upload/image/000/000/000/424a935bdbe97b42ec766a0806da811a-0.png
https://raw.githubusercontent.com/zhangyudan/beautiful_stars/master/image/3.png
看看?
高洛峰2017-04-17 11:56:55
换成这个试试:

PHPz2017-04-17 11:56:55
这个就是markdown的标准语法。亲测在github没有任何问题。不知道你的MD文件又是放在哪里的?另外对于不想被网站转码的代码,可以用```
代码块包裹起来
像这样。
