Skip to content

Commit ac695de

Browse files
njleonzhangQingWei-Li
authored andcommitted
add plugin for codefund (#471)
1 parent e5a263f commit ac695de

File tree

2 files changed

+32
-2
lines changed

2 files changed

+32
-2
lines changed

docs/plugins.md

+15-1
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ Disqus comments. https://disqus.com/
147147

148148
## Gitalk
149149

150-
[Gitalk](https://github.com/gitalk/gitalk) is a modern comment component based on Github Issue and Preact.
150+
[Gitalk](https://github.com/gitalk/gitalk) is a modern comment component based on Github Issue and Preact.
151151

152152
```html
153153
<link rel="stylesheet" href="//unpkg.com/gitalk/dist/gitalk.css">
@@ -176,3 +176,17 @@ Pagination for docsify. By [@imyelo](https://github.com/imyelo)
176176
<script src="//unpkg.com/docsify-pagination/dist/docsify-pagination.min.js"></script>
177177
```
178178

179+
## codefund
180+
a [plugin](https://github.com/njleonzhang/docsify-plugin-codefund) to make it easy to join up [codefund](https://codesponsor.io/)
181+
182+
> codefund is formerly known as "codesponsor"
183+
184+
```
185+
<script src="//unpkg.com/docsify/lib/docsify.min.js"></script>
186+
187+
window.$docsify = {
188+
plugins: [
189+
DocsifyCodefund.create('51d43327-eea3-4e27-bd44-e075e67a84fb') // change to your codefund id
190+
]
191+
}
192+
```

docs/zh-cn/plugins.md

+17-1
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ Disqus comments. https://disqus.com/
151151

152152
## Gitalk
153153

154-
[Gitalk](https://github.com/gitalk/gitalk) is a modern comment component based on Github Issue and Preact.
154+
[Gitalk](https://github.com/gitalk/gitalk) is a modern comment component based on Github Issue and Preact.
155155

156156
```html
157157
<link rel="stylesheet" href="//unpkg.com/gitalk/dist/gitalk.css">
@@ -179,3 +179,19 @@ Pagination for docsify. By [@imyelo](https://github.com/imyelo)
179179
<script src="//unpkg.com/docsify/lib/docsify.min.js"></script>
180180
<script src="//unpkg.com/docsify-pagination/dist/docsify-pagination.min.js"></script>
181181
```
182+
183+
184+
## Code Fund
185+
帮你快速接入[Code Fund](https://codesponsor.io/)[插件](https://github.com/njleonzhang/docsify-plugin-codefund), 由[@njleonzhang](https://github.com/njleonzhang)提供。
186+
187+
> Code Fund 以前叫 codesponsor
188+
189+
```
190+
<script src="//unpkg.com/docsify/lib/docsify.min.js"></script>
191+
192+
window.$docsify = {
193+
plugins: [
194+
DocsifyCodefund.create('51d43327-eea3-4e27-bd44-e075e67a84fb') // 把这个id改成你的codefund id
195+
]
196+
}
197+
```

0 commit comments

Comments
 (0)