问题: 上传 md 文件到 Github 图片无法显示,引用格式为 ‘![Title](./images/Title.png’。
同时Github 上 F12 显示
raw.githubusercontent.com/kyle-cloud/kaggle/master/projects/titanic/images/head.png:1 Failed to load resource: net::ERR_EMPTY_RESPONSE
但是右键查看图片显示链接地址为
https://github.com/kyle-cloud/kaggle/raw/master/projects/titanic/images/head.png
解决办法: 打开hosts文件(C:\Windows\System32\drivers\etc)添加以下 ip-域名 信息,刷新网页即可
199.232.68.133 raw.githubusercontent.com
199.232.68.133 githubusercontent.com
如果我的陈述存在疏漏还请不吝赐教,感激不尽!
如果觉得有用就请点个赞吧,创作动力!