markdown中插入本地和online图片办法

 

markdown工具:mac上为Mou

1、本地图片:直接找到本地存储地址

![image](file:///Users/ting/Pictures/32.png)

2、外链图片(github中的图片)

参考链接:http://blog.csdn.net/u012150179/article/details/24605419

首先找到repo中图片,点击图片可获得路径,如:

https@//github.com/younghz/Markdown/blob/master/Res/Aaron_Swartz.jpg

以Markdown语法如:

![Aaron Swartz](https://github.com/younghz/Markdown/raw/master/Res/Aaron_Swartz.jpg)形式添加到README文件中即可,但是需要注意的是在下面的链接中需将blob改为raw。

例如:

posted on 2015-09-06 13:05  浮伞一朵  阅读(1464)  评论(0)    收藏  举报

导航