原文链接

1 图片位置

可将图片放在项目下,一起push到github,具体操作见:

GitHub的使用

然后在MarkDown文件中添加图片在云端项目中的路径,格式为:

https://raw.githubusercontent.com/用户名/项目名/master/图片文件夹/xxx.png

例如:

![img](https://s2.51cto.com/images/100/blog/error_t.png)

也可以用相对路径:

![Image text](https://s2.51cto.com/images/100/blog/error_t.png)

例如:

![Image text](https://s2.51cto.com/images/100/blog/error_t.png)

其中..表示上一路径

2 图片大小

使用style="zoom:50%;"可以设置缩放:

<img src="../0other/0/pics/1093303-20170626104335696-1159292286.png" alt="Image text" style="zoom:50%;" />

使用width="500px"可以设置大小:

<img src="../0other/0/pics/1093303-20170626104335696-1159292286.png" width="500px" />

   

学习更多编程知识,请关注我的公众号:

代码的路