gitbook 插件 赞赏
文章目录
1. donate 打赏插件
如果喜欢,请打赏
1.1 安装
npm i gitbook-plugin-donate
1.2 配置
book.json配置:
{ plugins: [ ”donate“ ], "pluginsConfig": [' "donate": { "wechat": "https://github.com/Ghostwritten/gitbook-demo/blob/gh-pages/img/aplipay.png?raw=true", "alipay": "https://github.com/Ghostwritten/gitbook-demo/blob/gh-pages/img/wechat.png?raw=true", "title": "鼓励一下", "button": "赏", "alipayText": "支付宝打赏", "wechatText": "微信打赏" }, ] }