Completely automated and instantaneous way of generating tables of contents for posts.
How much time have you spent every time you have created a table of contents manually? Or you may even haven’t do it because of the pain that it would suppose to do it manually?
With this plugin, you will be able to generate tables of contents for your posts in a completely easy, automated and personalizable way. It automatically looks for every <h*> tag, to generate the table entries for them.
Features:
If you have ever installed a WordPress plugin, then installation will be pretty easy:
The links are added by adding an id attribute to each title appearing in the table of contents, but only if it doesn’t have it; original id attributes are not overwritten, not to break any other possible reference.
The format of the generated id is “section_x”, “section_x_y”, etc. Then, the link is just a hyperlink to the “id” (e.g., “< a href=’#section_x’>Section X”).
The indentation of each level of the table is just a set of
, styled with white-space: pre;
, to make the browser preserve them.
Open an issue in the bug tracker, giving as much as information possible:
First release.