Skip to content

aleung/gitbook-plugin-page-toc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gitbook-plugin-page-toc

Add table of contents to every page in your GitBook.

It adds anchors link to headings inside the page as well.

Install

Add the plugin to your book.json:

 { "plugins": [ "page-toc" ], "pluginsConfig": { "selector": ".markdown-section h2, .markdown-section h3" } }

Default CSS selector is to include headings from level 1 to level 4.

About

Add Table of Contents (TOC) to every page in your GitBook.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •