曾格的github

vscode+picgo设置github图床

vscode+picgo设置github图床

基本配置::https://blog.csdn.net/qq_44314954/article/details/122951033

github无法访问问题

进入https://www.ipaddress.com查询以下三个域名的ip地址:

140.82.114.3 github.com 
199.232.69.194 github.global.ssl.fastly.net
185.199.108.133 raw.githubusercontent.com
185.199.109.133 raw.githubusercontent.com
185.199.110.133 raw.githubusercontent.com
185.199.111.133 raw.githubusercontent.com

进入本地C:\Windows\System32\drivers\etc目录,将三个域名和对应的ip添加到hosts文件

仓库中图片无法访问

这种情况一般是使用cdn加速了,将vscode中的图片url复制到浏览器中,
检查是否在main前还有个master
20220710125113
有的话检查custom url中main前面应该是@而不是/,
或者custom url改为原生链接:
https://raw.githubusercontent.com

图片大小设置

在setting里面将图片改为html格式:
20220710122600

如:

<img src="https://raw.githubusercontent.com/***/picgo/main/blogs/pictures/80.jpg" alt="80" width="450">
posted @ 2022-07-10 13:03  曾格  阅读(107)  评论(0编辑  收藏  举报
Live2D