vue-md-editor
A markdown editor with Vue.js
1,381
31
| Install | |
|---|---|
npm install vue-md-editor |
|
| Latest Version: | 1.3.3 |
| Vue: | 2 |
| License: | MIT |
| Last Updated: | Nov 4, 2019 |
| Links: | GitHub · npm |
Maintainer: anguerisme
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 | Ctrl + P |
| `text` | text |
Ctrl + C |
| > text | Blockquote | Ctrl + Q |
Issues
修复 Issue #5
Related Packages
@smooth-markdown/core
smooth-markdown is a pluggable markdown editor for vue.js 3. it is easy to exten...
2,249
Version History
| Version | Released | Vue | License |
|---|---|---|---|
| 1.3.3 | ^2.1.10 | MIT | |
| 1.2.3 | ^2.1.10 | MIT | |
| 1.2.2 | ^2.1.10 | MIT | |
| 1.2.1 | ^2.1.10 | MIT | |
| 1.2.0 | ^2.1.10 | MIT | |
| 1.1.16 | ^2.1.10 | MIT | |
| 1.1.15 | ^2.1.10 | MIT | |
| 1.1.13 | ^2.1.10 | MIT | |
| 1.1.12 | ^2.1.10 | MIT | |
| 1.1.11 | ^2.1.10 | MIT | |
| 1.1.10 | ^2.1.10 | MIT | |
| 1.1.0 | ^2.1.10 | MIT | |
| 1.0.12 | ^2.2.2 | ||
| 1.0.11 | ^2.2.2 | ||
| 1.0.10 | ^2.2.2 | ||
| 1.0.8 | ^2.2.2 | ||
| 1.0.7 | ^2.2.2 | ||
| 1.0.6 | ^2.2.2 | ||
| 1.0.5 | ^2.2.2 | ||
| 1.0.4 | ^2.2.2 | ||
| 1.0.3 | ^2.2.2 | ||
| 1.0.2 | ^2.2.2 | ||
| 1.0.1 | ^2.2.2 | ||
| 1.0.0 | ^2.2.2 |