etoc plugin test
etoc plugin for GitBook.
Introduction
Introduction to etoc
Usage
Usage is shown in this section.
zero config
etoc plugin would work with zero config, it means you can just add etoc
plugin in book.json
.
change default settings
etoc would only generate toc between header 3 and header 4 by default, but you can also include header 2 or header 5 via setting mindepth
to 2 and maxdepth
to 5.
do not generate toc on some page
Add a new line <!-- notoc -->
on this page.
do not generate toc automatically
Set notoc
to true
and add <!-- toc -->
on this page.
License
MIT