github readme.md添加图片

简要:

    将图片放在仓库里面,在文件里链接它,最后 push 到 github 上。

github 图片链接格式:

(http://github.com/yourname/your-repository/raw/master/images-folder/xxx.png)

要自己设定的:yourname, your-repository, your-folder, xxx.png。

yourname            --- 你的帐号
your-respository    --- 你的 project 名
images-folder       --- 你存放图片的文件夹,如果是直接放在 project 的项目根目录的話,                         就可以省略這個
xxx.png             --- 你的图片名

然后在 README.md 里添加:

例如:我在我的 dotvim 文件夹下一个 screenshots 目录,在该目录里有一个 vim-screenshot.jpg 截图。那么添加链接的方式如下

![image](https://github.com/ButBueatiful/dotvim/raw/master/screenshots/vim-screenshot.jpg)


转自:http://blog.chinaunix.net/uid-26495963-id-3367377.html

补充:
同理,如果是其他网站的链接,就不用提交到仓库了,直接写地址即可:
![image](http://www.baidu.com/img/bdlogo.gif) 
原文地址:https://www.cnblogs.com/songzhenhua/p/9312756.html