From b3b6e3a1d810c221177eb84384ae0dd9561aea0d Mon Sep 17 00:00:00 2001 From: liujianhuan Date: Tue, 24 Mar 2020 13:26:50 +0800 Subject: [PATCH] update book.json --- book.json | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/book.json b/book.json index 7e0a0bf..2565479 100644 --- a/book.json +++ b/book.json @@ -14,7 +14,7 @@ "-sharing", "splitter", "expandable-chapters-small", - "anchors", + "anchorjs", "github", "github-buttons", "prism", @@ -42,6 +42,15 @@ "count": true } ] + }, + "anchorjs": { + "selector": "h2,h3,h4,h5", + "icon": "#", + "placement": "right", + "visible": "always", + "class": "custom-class another-one", + "truncate": 64, + "ariaLabel": "Anchor" } } }