ComputationalMystics/ResearchProject

Creating links to a specific point on the Wiki

Opened this issue · 2 comments

This is less of an issue and more of what I found on creating a markup link to a specific spot on the wiki page (rather than to the top of the wiki page) for the information of anyone interested.

Add this to the spot you are linking to (updating the name as needed). The tags don't need to surround any text and in fact will remove the formatting if you do.
<a name='Location'></a>

The link looks like this (changing the name of the tag or url of the wiki page as needed):
[Link Text](https://github.com/OSSHealth/ghdata/wiki/Queries#Location)

FYI: GitHub automatically does this for any headings. For example: https://github.com/OSSHealth/ghdata/wiki/Queries#contributors-for-a-project.

If you hover over the heading you'll see a little paperclip icon. Clicking on that will update the URL in your browser with the link to that heading.

Ok thanks