SimpleMDE - Markdown Editor component for Vue.js
npm install vue-simplemde

> No longer support Vue1.x, you can modify to use
`` bash`
npm install vue-simplemde --save
* Internal reference in a single component
` vue
`
* Global reference
` javascript
import Vue from 'vue'
import VueSimplemde from 'vue-simplemde'
import 'simplemde/dist/simplemde.min.css'
Vue.component('vue-simplemde', VueSimplemde)
`
| event | describe | arguments |
| ----| ----- | ---- |
| input | Triggered when the Input value changes | value |
| blur | Triggered when the Input loses focus | value |
| initialized | Triggered when initialization is complete | simplemde |
` js`
this.$refs.markdownEditor.simplemde.togglePreview();
bash
$ npm install --save github-markdown-css
`$3
` vue
`Highlight
$3
`
$ npm install --save highlight.js
`$3
` vue
`Editor Theme (simplemde-theme-base)
> e.g. use simplemde-theme-base theme$3
`
$ npm install --save simplemde-theme-base
`$3
` vue
``!Screenshot of SimpleMDE Theme Dark
* Simple Example
* Nuxt Example
* Demo Page
* Demo Source
vue-simplemde is open source and released under the MIT Licence.
Copyright (c) 2022 F-loat