You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Github README.md中LinkedIn图标链接跳转异常问题求助

问题解决方法

问题出在你的链接地址缺少协议头(https://),Github会把不带协议头的地址识别为当前仓库的相对路径,所以才会跳转到仓库下的错误地址。

修改后的正确语法:

[![LinkedIn](https://img.shields.io/badge/LinkedIn-0077B5?style=for-the-badge&logo=linkedin&logoColor=white)](https://www.linkedin.com/in/myprofile)

核心原因:

  • 给LinkedIn地址加上https://前缀后,浏览器会识别这是一个外部绝对URL,点击后直接跳转到你的LinkedIn主页,而非Github仓库的相对路径。

内容的提问来源于stack exchange,提问作者Dametime

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.08.13 13:45:30