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.
<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>