xbear-editor
v0.1.2
Published
A markdown editor based on Vue 2.x, Marked and CodeMirror.
Downloads
5
Readme
:pushpin: Introduction
A markdown editor based on Vue 2.x, Marked and CodeMirror.
多功能 Markdown 编辑器。
:triangular_ruler: Usage
Install
npm
npm install xbear
yarn
yarn add xbear
Use as plugins in Vue projects
import
import XBearEditor from '../packages/index';
Vue.use(XBearEditor);
import modularized
import { XBearEditor } from '../packages/index';
Vue.component(XBearEditor.name, XBearEditor);
example
<template>
<div id="app">
<!-- Use as a component -->
<xbear-editor></xbear-editor>
</div>
</template>
<script>
export default {
name: 'App',
};
</script>
<style></style>
More functions
Please see the documents.
:notebook: Documents
To check out docs, visit xbear docs.
:triangular_flag_on_post: Support
- Vue 2.x Project
:heartpulse: Contributor
:memo: License
Copyright © 2021-present Harry Xiong. This project is MIT licensed.