feat: add doc for react and vue demo box plugin (#247)

This commit is contained in:
Leon Zhang
2017-09-05 09:46:05 +08:00
committed by cinwell.li
parent 2959497874
commit f0aca1905c
+8
View File
@@ -100,3 +100,11 @@ Medium's Image Zoom. Based on [zoom-image](https://github.com/egoist/zoom-image)
## Edit on github
Add `Edit on github` button on every pages. provided by 3rd party, check [document](https://github.com/njleonzhang/docsify-edit-on-github)
## Demo code with instant preview and jsfiddle integration
With this plugin, sample code can be rendered on the page instantly, so that the readers can see the preview immediately.
When readers expand the demo box, the source code and description are shown there. if they click the button `Try in Jsfiddle`,
`jsfiddle.net` will be open with the code of this sample, which allow readers to revise the code and try on their own.
[Vue](https://njleonzhang.github.io/docsify-demo-box-vue/) and [React](https://njleonzhang.github.io/docsify-demo-box-react/) are both supported.