0

一个文件与zip.md中的源代码文件一起出现。github这个文件有什么作用,我应该如何使用它?

4

1 回答 1

0

Markdown 是一种相对链接。使用 markdown 文件,您可以在不同的文档文件之间直接链接,无论您是在 GitHub 本身上查看文档,还是在本地使用不同的标记渲染器查看文档。

因此,而不是绝对链接:

[a link](https://github.com/user/repo/blob/branch/other_file.md)

…您可以使用相对链接:

[a relative link](other_file.md)

并确保它链接到 user/repo/blob/branch/other_file.md。

看看:https ://github.com/blog/1395-relative-links-in-markup-files

于 2013-02-21T09:41:54.610 回答