1.3.3 • Published 6 years ago
vue-md-editor v1.3.3
Vue Editor
Demo
Install
npm install vue-md-editor --save
or
<script src="https://unpkg.com/vue-md-editor/dist/vue-editor.min.js"></script>
Usage
// main.js
import Vue from 'vue'
import VueEditor from 'vue-md-editor'
Vue.use(VueEditor)
new Vue({
el: '#app',
data: {},
...
})
<!--index.html-->
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>VueEditor example</title>
</head>
<body>
<div id="app">
<vue-editor v-model="value"></vue-editor>
</div>
</body>
</html>
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
1.3.3
6 years ago
1.2.3
7 years ago
1.2.2
7 years ago
1.2.1
7 years ago
1.2.0
7 years ago
1.1.16
7 years ago
1.1.15
7 years ago
1.1.13
7 years ago
1.1.12
7 years ago
1.1.11
7 years ago
1.1.10
7 years ago
1.1.0
7 years ago
1.0.12
7 years ago
1.0.11
7 years ago
1.0.10
7 years ago
1.0.8
7 years ago
1.0.7
7 years ago
1.0.6
7 years ago
1.0.5
7 years ago
1.0.4
7 years ago
1.0.3
7 years ago
1.0.2
7 years ago
1.0.1
7 years ago
1.0.0
7 years ago