https://hub.fastgit.org/521xueweihan/GitHub520 总结:
- 打开host文件,地址
C:\Windows\System32\drivers\etc
如果修改不了就右键属性-安全,将users的访问权限设为完全控制
- 在底部粘贴(host文件里的#行不能删除),保存
- win+r打开cmd,输入
ipconfig /flushdns
回车,注意有空格
https://raw.githubusercontent.com/Tylerrrrrrr007/ImgBed/main/Obsidian/-OK-brightgreen.svg
换成
https://cdn.jsdelivr.net/gh/Tylerrrrrrr007/ImgBed@main/Obsidian/-OK-brightgreen.svg
https://raw.githubusercontent.com/Tylerrrrrrr007/ImgBed/main/Obsidian/-OK-brightgreen.svg
换成————https://raw.fastgit.org/Tylerrrrrrr007/ImgBed/main/Obsidian/-OK-brightgreen.svg
💣github是国外站,开启cdn加速服务会快很多,比如我用手机/电脑上传到github以后,对比一下github用户界面/github服务器/github经过cdn加速的链接:
1.链接是https://github.com/……后面一堆是用户名/仓库名/blob/main(或者main/文件夹名)/文件名
例,https://github.com/Tylerrrrrrr007/ImgBed/blob/main/s_Mosaic_8_14_15.jpg
2.它本身在服务器的地址是https://raw.githubusercontent.com……/后面一样(不同点是没有了blob这个路径)
例,https://raw.githubusercontent.com/Tylerrrrrrr007/ImgBed/s_Mosaic_8_14_15.jpg
3.cdn加速是把前面替换成cdn.jsdelivr.net/gh/(同样没有了blob这个路径,也没有了main这个路径)
例,https://cdn.jsdelivr.net/gh/Tylerrrrrrr007/ImgBed/s_Mosaic_8_14_15.jpg
于是markdown语言显示是
![标题](https://cdn.jsdelivr.net/gh/Tylerrrrrrr007/ImgBed/s_Mosaic_8_14_15.jpg)
如下