置顶插件的Github地址。
This plugin adds a back to top button to your GitBook. All three GitBook themes (White, Sepia, Night) are supported.
Add the plugin to your book.json
:
{
"plugins" : [ "back-to-top-button" ]
}
The back to top button in action:
book.json
{
"plugins": [
"-lunr",
"back-to-top-button"
]
}
$ gitbook install
info: installing 1 plugins using npm@3.9.2
info:
info: installing plugin "back-to-top-button"
info: install plugin "back-to-top-button" (*) from NPM with version 0.1.4
D:\03 worknote\30 GitBook\*****
`-- gitbook-plugin-back-to-top-button@0.1.4
info: >> plugin "back-to-top-button" installed with success
$ gitbook serve
右下角有置顶按钮,点击则会返回顶部。
扫码关注腾讯云开发者
领取腾讯云代金券
Copyright © 2013 - 2025 Tencent Cloud. All Rights Reserved. 腾讯云 版权所有
深圳市腾讯计算机系统有限公司 ICP备案/许可证号:粤B2-20090059 深公网安备号 44030502008569
腾讯云计算(北京)有限责任公司 京ICP证150476号 | 京ICP备11018762号 | 京公网安备号11010802020287
Copyright © 2013 - 2025 Tencent Cloud.
All Rights Reserved. 腾讯云 版权所有