GitHub link from Issue to Wiki

﹥>﹥吖頭↗ 提交于 2019-12-06 16:52:12

问题


I want link wiki-page to issue text.

[]() syntax links into issues pool.

[[text|page]] doesn't work.

How to do it?


回答1:


Use [text](link_to_wiki_page) where link_to_wiki_page is the full URL of the wiki page you want to link to. Just navigate to the page and copy/paste the URL from the URL bar.




回答2:


You can also use relative paths. Here's an example from one of my projects:

[Using-a-Shell-Configuration-File](../wiki/Using-a-Shell-Configuration-File)

I prefer this approach to full paths, since it's not impossible that you might rename a project or transfer ownership to someone else, and so break any absolute references to parts of the repo.



来源:https://stackoverflow.com/questions/12472682/github-link-from-issue-to-wiki

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!