Problem
Often, going to Habr, I see a huge article. And at some point I realized that, like for a regular document, I lack the table of contents for a quick move inside the article.
Solution for Habr
Since we are engaged in the creation of the project
HotReader and we already have extensive experience with extensions, we decided to create a small utility for displaying the table of contents on Habré.

What does it give
- if the article is new, then you can quickly understand what it consists of and quickly go to the desired section or comments
- if the article is interesting and large, then it is convenient to move between important headings.
')
Table of contents for Google Drive
We also actively use Google Docs in our work to compile TK and maintain internal documentation. Therefore, we decided in this extension to add the ability to display the table of contents for these pages.
Of course, you can add a TOC (table of contents) to the beginning of the document, but, first, it is not automatically updated, and second, it is visible only at the very top. With our extension, the tree view is available all the time.
For the correct definition of headings it is necessary that the styles in the menu completely coincide with the document styles.

Settings
When you click on the icon with the right mouse button, you can open a menu where the TOC display is selected in the settings on the left or on the right, as well as its auto-hide.
A simple click on the extension icon can be removed and the table of contents on the screen.
Link to the extension in Chrome Webstore -
HotReader TOCDevelopment
We will be very happy if you find our utility useful. We will also be very grateful for any suggestions, advice and recommendations.