We'll create fresh WordPress site with LH Table of Contents installed. You have 20 minutes to test the plugin after that site we'll be deleted.
This plugin makes it easy to create a wiki like TOC (table of contents) in your posts or pages using shortcode, no linking or creating anchor is needed.
Unlike other plugins this is 100% semantic, ie drop the comment string: <!-- lh_toc -->
.
Into your content body and the plugin will do the rest ie it will generate a table of contents based on the h2 and h3 tags in the content body.
If the comment is not included the table of contents is not generated.