Table of Content plugin will automatically create a table of contents in posts.
For the plugin to work, you have to apply a heading to each content of the article title, starting from H2 (Title), H3 (Subtitle), and H4 (Small title).
In order for it to appear properly, you must follow the following rules for applying headings:
-
Heading harus berurutan, contoh :
-> H2 -> H3 -> H4 -> H4 -> H3 -> H3 -> H4 -> H2 -> H3 -> H3
-
Unordered headings may cause them to appear incorrectly, for example:
- Starting with H3.
- Starting with H4.
- Using H2 and H4 without H3 in between.
-> H2 -> H4 -> H3 -> H3 -> H4 -> H2 -> H4 -> H3
-
It is allowed to exclude final headings as long as they are sequential, for example:
- Using H2 and H3 without H4.
- Using H2 without H3 and H4.
-> H2 -> H2 -> H3 -> H3 -> H3 -> H2 -> H3 -> H3