如何创建从 MarkDown 到 GitHub 原始文件的相对链接?

Set*_*h E 5 github

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)

我没有在任何地方找到这个记录,而是通过实验发现的,所以在这里分享。