When a lot of editors contribute to a wiki, wonderful things can happen: knowledge can be built upon; resources and learning materials can be shared; information can be passed along. At the same time, adding lots of content can have a less-than-wonderful side effect: the wiki page can become lengthy and cumbersome.
When you search for specific content, you may end up scrolling through pages of irrelevant information. You can always use the search tool, but the best option is to add a table of contents (TOC) widget to your page. A TOC will provide a succinct overview of all the topics on your page.
A TOC widget uses heading formats to display a tidy summary of your page content conveniently placed in the top right corner of a page. The formatting presets (Heading 1, Heading 2, etc.) can be found on the editor (while editing a page), in the drop down menu:
To embed the TOC widget:
- Click the Edit button and place your cursor at the top of any page.
- Click the Widget button.
- Select Table of Contents — we love this widget so much, we put it at the top of our widgets list!
Notice that this widget will always appear in the upper-right corner of the page. It will look like a grey block while in edit mode (like all widgets do). TOC can’t be moved to another area of the page because the top right corner is the perfect spot for maximum visibility (trust us).
You can select portions of text and use the Heading 1, Heading 2 formats. Save the page and voilà! Those Headings now appear in the TOC menu.
As an added bonus, when your users click one of these links in the TOC area, they’ll jump directly down to that portion of the page. This jump is called an “anchor link,” and if you’d like to learn more about creating anchor links, have a look at our blog here.