Skip to content

Commit f0aca19

Browse files
njleonzhangQingWei-Li
authored andcommitted
feat: add doc for react and vue demo box plugin (#247)
1 parent 2959497 commit f0aca19

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

docs/plugins.md

+8
Original file line numberDiff line numberDiff line change
@@ -100,3 +100,11 @@ Medium's Image Zoom. Based on [zoom-image](https://github.com/egoist/zoom-image)
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+
## Demo code with instant preview and jsfiddle integration
105+
106+
With this plugin, sample code can be rendered on the page instantly, so that the readers can see the preview immediately.
107+
When readers expand the demo box, the source code and description are shown there. if they click the button `Try in Jsfiddle`,
108+
`jsfiddle.net` will be open with the code of this sample, which allow readers to revise the code and try on their own.
109+
110+
[Vue](https://njleonzhang.github.io/docsify-demo-box-vue/) and [React](https://njleonzhang.github.io/docsify-demo-box-react/) are both supported.

0 commit comments

Comments
 (0)