GitHub MD 支持相对链接,例如从我的README.mdI 目录中可以链接到代码Code:
To download these scripts, [click here](Code/myscript.sh), then right-click the **Raw** button and download it
Run Code Online (Sandbox Code Playgroud)
如何使用相对链接Code/myscript.sh(而不是绝对链接https://raw.githubusercontent.com/myrepo/toplevel/subdir/subsubdir/myscript.sh)直接链接到原始内容?
Set*_*h E 10
附加raw=1到您的网址
To download these scripts, [click here](Code/myscript.sh?raw=1).
Run Code Online (Sandbox Code Playgroud)
我没有在任何地方找到这个记录,而是通过实验发现的,所以在这里分享。
| 归档时间: |
|
| 查看次数: |
1264 次 |
| 最近记录: |