Vue Editor
Demo
Install
npm install vue-md-editor --save
or
Usage
// main.js Vue el: '#app' data: {} ...
<!--index.html--> VueEditor example
Dependencies
- marked
- highlight.js
- If you want's to use highlight.js style.
Keyboards
Markdown | Result | Shortcut |
---|---|---|
**text** | text | Ctrl + B |
_text_ | text | Ctrl + I |
### text | Heading | Ctrl + H |
~~text~~ | Ctrl + D | |
- text | List | Ctrl + U |
1. text | List | Ctrl + O |
[Demo](http://vue-editor.beblog.cn) | Demo | Ctrl + A |
![Image](https://cn.vuejs.org/images/logo.png "Title") | Image | Ctrl + P |
`text| text` |
Ctrl + C | |
> text | Blockquote | Ctrl + Q |
Issues
修复 Issue #5