vue-editor-markdown
v1.0.2
Published
A markdown editor for vue
Downloads
60
Readme
vue-editor-markdown
Markdown editor build for Vue.
Installation
npm
$ npm install vue-editor-markdown --save
Usage
import Vue from 'vue';
import VueEditorMarkdown from 'vue-editor-markdown';
Vue.use(VueEditorMarkdown);
<vue-editor-markdown></vue-editor-markdown>
props
| prop | type | default | describe | | ---- | ---- | ------- | -------- | | showPreview | Boolean | true | enable html preview | | isPreview | Boolean | false | enable markdown edit | | isFullScreen | Boolean | false | full screen | | navColor | String | null | navigation text color | | backgroundColor | String | null | navigation and markdown editor background color | | borderColor | String | null | editor border color | | v-model | Object | {markdown: '', html: ''} | value |