1.0.1 • Published 6 years ago

vue-editor-markdown2 v1.0.1

Weekly downloads
4
License
MIT
Repository
github
Last release
6 years ago

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

proptypedefaultdescribe
showPreviewBooleantrueenable html preview
isPreviewBooleanfalseenable markdown edit
isFullScreenBooleanfalsefull screen
navColorStringnullnavigation text color
backgroundColorStringnullnavigation and markdown editor background color
borderColorStringnulleditor border color
v-modelObject{markdown: '', html: ''}value