This guide is on creating Anchors and Bookmarks in a wiki page. Wiki pages are a fantastic and easy thing to create. However in certain cases, you may not want multiple pages, just one really long page that users can step into and jump back to the top as they discover the information they seek.
You can set up your own anchors and bookmarks in 3 easy steps.
Step 1 – Plan your Table of Contents and Headings
Step 2 – Configure your Bookmarks and Anchors
Step 3 – Configure the Back to Top hyperlink and add to each section
Step 1 – Plan your TOC and Headings
Start by creating the Table of Contents text labels that will be used to go to the bookmarks on the page. You could have these at the very top of the wiki page, or you may want to add them to the Side Bar section when you use a 2 column layout.
You also want to add the same labels to the main section.
Step 2 Create your Bookmarks and Anchors
Click onto the main content area where you will create your first bookmark (1)and on the Ribbon select Edit Source(2) to open the code view.
Edit the HTML of the section header by adding id="yourbookmarkname" (3).
Do this for each section.
Next Select the Table of Contents wiki text and click the Edit Source button to view the code.
Update each Section Header with the code Header Name (4).
Do this for each Header in the Table of Contents
Step 3 - Create the Back to Top links
The Back to Top is the reverse of the Section headers in that you are bookmarking the top of the page. In the wiki body area at the bottom of one section, add "Back to Top" label and right justify the text.
Click the Edit Source and update the code by adding
Back to Top
Copy the configured Back to Top label from the first section and paste it at the bottom of each section and justify to the right.
In the Table of Contents, Edit Source and add the code
Table of Contents (6)
Save the Page.