Table of contents sidebar

Table of contents sidebar is An outline tool makes it easier to navigate your novel. Automatically creates table of contents in the sidebar that can be clicked through, for easy document navigation.Table of contents sidebar generates a table of contents by extracting all the headings in the page.The table of contents is clickable and tries jump to the area smoothly.

Install Chrome extension

Chrome Webstore

Integrate to your website

Paste the following code to your website, it will generate TOC sidebar automatically.

<script type="text/javascript" src="https://table-of-contents-sidebar.github.io/table-of-contents-sidebar-lib/table-of-contents-sidebar.js"></script>
<script type="text/javascript">
    window.onload = function(e){
        TableOfContents.init({
            basePath: "https://table-of-contents-sidebar.github.io/table-of-contents-sidebar-lib/",
            querySelector: "body" // or other css querySelector
        });
    }
</script>