https://github.com/jader/docsify-sponsor
Sponsor plugin for docsify
https://github.com/jader/docsify-sponsor
docsify docsify-plugin
Last synced: 9 months ago
JSON representation
Sponsor plugin for docsify
- Host: GitHub
- URL: https://github.com/jader/docsify-sponsor
- Owner: Jader
- License: mit
- Created: 2021-05-28T16:27:40.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-06-15T02:35:25.000Z (over 4 years ago)
- Last Synced: 2025-04-12T08:52:17.521Z (9 months ago)
- Topics: docsify, docsify-plugin
- Language: CSS
- Homepage: http://jader.me/docsify-sponsor
- Size: 40 KB
- Stars: 31
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# docsify-sponsor
docsify-sponsor
[](https://www.jsdelivr.com/package/npm/docsify-sponsor)
[](https://www.npmjs.com/package/docsify-sponsor)
[](https://github.com/JaderH/docsify-sponsor/blob/master/LICENSE)
>docsify的赞助插件 Sponsor plugin for docsify
本项目参考自 [sponsor-page](https://github.com/Kaiyuan/sponsor-page)
## 使用 Usage
1. 插入样式 Insert the style
```html
```
2. 插入脚本 Insert the script
```html
```
3. 添加配置 Add settings
```js
window.$docsify = {
sponsor: {
github: '',
alipay_donate_qrcode: "",
alipay_donate_link: "",
wechat_donate_qrcode: "",
}
}
```
## 配置说明 Configuration description
| 属性名 Attribute | 类型 Type | 解释 Description | 默认值 Defaults |
| --------------- | -------- | --------------- | ----------- |
| github | string | GitHub 链接地址 GitHub link address | https://github.com/Jader |
| alipay_donate_qrcode | string | 支付宝二维码图片地址 Alipay two-dimensional code picture address | https://cdn.jsdelivr.net/gh/Jader/Jader.github.io@master/assets/AliPayQR.png |
| alipay_donate_link | string | 支付宝二维码链接地址 Alipay QR code link address | https://qr.alipay.com/fkx14579f8hzpauqxrteze9 |
| wechat_donate_qrcode | string | 微信二维码图片地址 WeChat QR code picture address | https://cdn.jsdelivr.net/gh/Jader/Jader.github.io@master/assets/WeChanSQ.png |