GitHub Wiki - Anchor link for page headers
Example "Table of Content" on "markdown-here" |
Was trying to do a table of content in Github Wiki just now and realize there aren't much guide on that. After searching for a while, I found this comment on Github that shows how to do it.
1. Add anchor for the header that you want to link to
# <a name="heading1"/> Heading 1
2. Add the link to the anchor
[link to heading 1](#wiki-heading1)
Example usage:
Thanks dude, very useful!
ReplyDeleteDo you know by chance if there's a tool to automatically generate table of content based on headers, but for a page only? Googling mostly brings me to solution how to generate ToC for the whole wiki repo, but I need just for current page.
ReplyDeleteI found this article interesting because of the introduction. I was looking forward to learning how many future posts you plan to share in the future, which reflects your desire to share such great content. You can view my latest article on the following link. Please visit me CPS Tester. Thank you.
ReplyDelete