You can now add Table of Contents to your post. Please note: This is working only for first post in the topic.
This new feature can be valuable for long and structured posts, specially for reviews, how-to’s, guides and tutorials.
You can see it in action in this topic OG Forum Guide for Members
The TOC will always be on the screen - scrolls with content like the topic progress widget. It replaces timeline. As you scroll past sections in the topic, the active element in the table of contents will be set to active.
First posts get the TOC, and subsequent posts get the regular topic progress widget.
Works on both desktop and mobile.
You can also get links to particular sections (just move mouse over headline so that #
sign shows up and then copy the URL).
How to add Table of Contents
- Write a topic with syntactically correct headings.
- Click the TOC button in the gear menu (only shows up when creating a regular topic - replies and PMs are ignored).
1. Use syntactically correct headlines
In a nutshell, it looks for headings in your post, then it takes all the headings and puts them in the TOC (nested in order of heading levels) - this means that your markdown must be syntactically correct.
# heading 1
## heading 2
### heading 3
#### heading 4
##### heading 5
###### heading 6
You’re free to go back and fourth in heading levels, but the order must be correct
# heading 2
## heading 3
## heading 3
### heading 4
## heading 3
# heading 2
etc…