The Wayback Machine - https://web.archive.org/web/20201003124142/https://github.com/willin/gitbook-plugin-atoc
Skip to content
master
Go to file
Code

Latest commit

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
Aug 8, 2016
Sep 30, 2015
Sep 30, 2015
Jul 20, 2017
Jul 20, 2017

README.md

gitbook-plugin-atoc

npm npm npm

This plugin will add table of content to the page and provide navigation function inside a page.

Add <!-- toc --> to the markdown files. When you build the book, it will insert a table of content where you insert <!-- toc -->

book.json Config:

{
	"plugins": ["atoc"],
	"pluginsConfig": {
		"atoc": {
			"addClass": true,
			"className": "atoc"
		}
	}
}

You can add this config to add a HTML ClassName to the TOC ul element

LICENSE

MIT

Alipay Donation(通过支付宝捐赠):

qr

About

A TOC plugin for GitBook

Topics

Resources

License

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  
You can’t perform that action at this time.