online jade(pug) editor plugin for vue.js
visit http://html5beta.com/apps/vue-jade-editor.html
bower install vue-jade-editor
or
npm install vue-jade-editor
- auto indent(backspace enter)
- indent can be customized
- auto close for quote, single quote, bracket, left parenthesis
- smart tab: tab selection or single line
- untab keyboard shortcuts: ctrl + [
- tab keyboard shortcuts: ctrl + ] or just tab
- keyboard shortcuts for i and b
- content can be modifed by vm.$broadcast('je-insert-content', htmlToInsert, id)
- auto increase textarea height
git clone https://github.com/zxdong262/vue-jade-editor.git
cd vue-jade-editor
npm install
bower install
gulp test
#build
gulp build
MIT