Skip to content

Commit 5d1fbdc

Browse files
committed
docs: update plugin
1 parent f78be4c commit 5d1fbdc

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

docs/de-de/plugins.md

+9
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,15 @@ Exclude the special image
103103
![](image.png ':no-zoom')
104104
```
105105

106+
## Demo code with instant preview and jsfiddle integration
107+
108+
With this plugin, sample code can be rendered on the page instantly, so that the readers can see the preview immediately.
109+
When readers expand the demo box, the source code and description are shown there. if they click the button `Try in Jsfiddle`,
110+
`jsfiddle.net` will be open with the code of this sample, which allow readers to revise the code and try on their own.
111+
112+
[Vue](https://njleonzhang.github.io/docsify-demo-box-vue/) and [React](https://njleonzhang.github.io/docsify-demo-box-react/) are both supported.
113+
114+
106115
## Edit on github
107116

108117
Add `Edit on github` button on every pages. Provided by [@njleonzhang](https://github.com/njleonzhang), check [document](https://github.com/njleonzhang/docsify-edit-on-github)

docs/zh-cn/plugins.md

+9
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,15 @@
8383
<script src="//unpkg.com/docsify/lib/plugins/external-script.js"></script>
8484
```
8585

86+
## Demo code with instant preview and jsfiddle integration
87+
88+
With this plugin, sample code can be rendered on the page instantly, so that the readers can see the preview immediately.
89+
When readers expand the demo box, the source code and description are shown there. if they click the button `Try in Jsfiddle`,
90+
`jsfiddle.net` will be open with the code of this sample, which allow readers to revise the code and try on their own.
91+
92+
[Vue](https://njleonzhang.github.io/docsify-demo-box-vue/) and [React](https://njleonzhang.github.io/docsify-demo-box-react/) are both supported.
93+
94+
8695
## 图片缩放 - Zoom image
8796

8897
Medium's 风格的图片缩放插件. 基于 [medium-zoom](https://github.com/francoischalifour/medium-zoom)

0 commit comments

Comments
 (0)