Closed hi5 closed 9 years ago
@hi5 :thumbsup: I just found that bug and posted question at Github asking how to fix it http://stackoverflow.com/questions/25330368/two-group-links-with-the-same-name-should-link-to-different-places Only after posting question I found your fix.
I just noticed that GH already seems to fix this issue, if you hover over the permalink icon of a heading (the shackle on the left of the heading) you'll see that for the second Gui anchor it has added a -
First gui https://github.com/ahkscript/awesome-AutoHotkey#gui Second gui https://github.com/ahkscript/awesome-AutoHotkey#gui-
@hi5 Just tested it here: https://github.com/vasili111/awesome-AutoHotkey You are right, it works. I think it is better way then using html tags.
This will break links in the TOC if you add a heading with the same name in a previous section, so we'd have to be careful to keep them updated.
@rshipp Yes you are right. In that case using html tags looks better
This issue is linked in contributing.md, can it be closed now?
I think yes. If someone will need it we can reopen it.
Be sure to use unique anchor tags for each item in the table of contents, I've fixed it by adding the category prefix e.g. scripts-clipboard, scripts-gui etc. Simply create a named anchor like so: