在markdown中插入github仓库中的图片

右击github中的图片,获得链接:

https://github.com/nxf75/ML_Library/blob/master/Hadoop/Haddop%E6%A1%86%E6%9E%B6.png

markdown插入图片的格式:

![这里写图片描述(PS:其实可以不写)](这里写图片相对网址) 就是 ![]() 这样的格式

现在直接把链接写入markdown中,是无效的,有两种方法可以解决:

1.把blob替换成raw.
2.直接右键选中图片,复制图片地址.

![hadoop](https://github.com/nxf75/ML_Library/raw/master/Hadoop/Haddop%E6%A1%86%E6%9E%B6.png)

![hadoop](https://github.com/nxf75/ML_Library/blob/master/Hadoop/Haddop%E6%A1%86%E6%9E%B6.png?raw=true)

猜你喜欢

转载自www.cnblogs.com/nxf-rabbit75/p/10812057.html
今日推荐