Skip to content

Commit 04eaf40

Browse files
committed
chore: add doc for codesponsor
1 parent 46ac4c3 commit 04eaf40

File tree

3 files changed

+47
-0
lines changed

3 files changed

+47
-0
lines changed

docs/de-de/plugins.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,3 +100,19 @@ Medium's Bilderzoom. Basierend auf [zoom-image](https://github.com/egoist/zoom-i
100100
## Edit on github
101101

102102
Add `Edit on github` button on every pages. provided by 3rd party, check [document](https://github.com/njleonzhang/docsify-edit-on-github)
103+
104+
105+
## CodeSponsor
106+
107+
See https://codesponsor.io
108+
109+
110+
```html
111+
<script>
112+
window.$docsify = {
113+
codesponsor: 'id'
114+
}
115+
</script>
116+
<script src="//unpkg.com/docsify/lib/plugins/codesponsor.min.js"></script>
117+
```
118+

docs/plugins.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,3 +108,18 @@ When readers expand the demo box, the source code and description are shown ther
108108
`jsfiddle.net` will be open with the code of this sample, which allow readers to revise the code and try on their own.
109109

110110
[Vue](https://njleonzhang.github.io/docsify-demo-box-vue/) and [React](https://njleonzhang.github.io/docsify-demo-box-react/) are both supported.
111+
112+
## CodeSponsor
113+
114+
See https://codesponsor.io
115+
116+
117+
```html
118+
<script>
119+
window.$docsify = {
120+
codesponsor: 'id'
121+
}
122+
</script>
123+
<script src="//unpkg.com/docsify/lib/plugins/codesponsor.min.js"></script>
124+
```
125+

docs/zh-cn/plugins.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,3 +95,19 @@ Medium's 风格的图片缩放插件. 基于 [zoom-image](https://github.com/ego
9595
## Edit on github
9696

9797
Add `Edit on github` button on every pages. provided by 3rd party, check [document](https://github.com/njleonzhang/docsify-edit-on-github)
98+
99+
100+
## CodeSponsor
101+
102+
See https://codesponsor.io
103+
104+
105+
```html
106+
<script>
107+
window.$docsify = {
108+
codesponsor: 'id'
109+
}
110+
</script>
111+
<script src="//unpkg.com/docsify/lib/plugins/codesponsor.min.js"></script>
112+
```
113+

0 commit comments

Comments
 (0)