forked from aleung/gitbook-plugin-page-toc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
45 lines (45 loc) · 1.12 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
{
"name": "gitbook-plugin-page-toc",
"description": "Adds table of conents and anchors inside page",
"main": "index.js",
"version": "1.1.1",
"engines": {
"gitbook": "5.*"
},
"gitbook": {
"properties": {
"selector": {
"type": "string",
"default": ".markdown-section h1, .markdown-section h2, .markdown-section h3, .markdown-section h4",
"title": "CSS selector to select the elements to put anchors on"
},
"position": {
"type": "string",
"default": "before-first",
"title": "Position of TOC",
"enum": [
"before-first",
"top"
]
},
"showByDefault": {
"type": "boolean",
"default": true,
"title": "Whether to show the TOC on every page by default"
}
}
},
"keywords": [
"gitbook",
"anchor",
"anchorjs",
"toc"
],
"author": "Leo Liang <leo.liang@gmail.com>",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/aleung/gitbook-plugin-page-toc.git"
},
"homepage": "https://github.com/aleung/gitbook-plugin-page-toc"
}