gitbook-plugin-reward

Gitbook 打赏按钮插件

Usage no npm install needed!

<script type="module">
  import gitbookPluginReward from 'https://cdn.skypack.dev/gitbook-plugin-reward';
</script>

README

Gitbook Reward Plugin

Config:

{
    "plugins": ["reward"],
    "pluginsConfig": {
        "reward": {
          "wechat": "http://unclealan.cn/usr/themes/seventeen/dist/images/weixin.JPG",
          "alipay": "http://unclealan.cn/usr/themes/seventeen/dist/images/alipay.JPG",
          "button": "打赏铭哥",
          "alipayText": "支付宝打赏",
          "wechatText": "微信打赏"
        }
    }
}

LICENSE

MIT

感谢,此插件在下面插件基础上进行修改,主要调整了一些样式 https://github.com/willin/gitbook-plugin-donate