1 圖片位置
可將圖片放在項(xiàng)目下,一起push到github,具體操作見:
然后在MarkDown文件中添加圖片在云端項(xiàng)目中的路徑,格式為:
https://raw.githubusercontent.com/用戶名/項(xiàng)目名/master/圖片文件夾/xxx.png
例如:

也可以用相對路徑:
[圖片上傳失敗...(image-a75e81-1660622061646)]
例如:

其中..表示上一路徑
2 圖片大小
使用style="zoom:50%;"可以設(shè)置縮放:
<img src="../0other/0/pics/1093303-20170626104335696-1159292286.png" alt="Image text" style="zoom:50%;" />
使用width="500px"可以設(shè)置大?。?/p>
<img src="../0other/0/pics/1093303-20170626104335696-1159292286.png" width="500px" />
?
?
學(xué)習(xí)更多編程知識(shí),請關(guān)注我的公眾號(hào):