Need help with vue-markdown-editor?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

code-farmer-i
334 Stars 46 Forks MIT License 577 Commits 5 Opened issues

Description

A markdown editor built on Vue

Services available

!
?

Need anything else?

Contributors list

Markdown Editor built on Vue

Downloads Version License

Links

Communication

qq group: 798884474

Install

# Vue 2 use npm
npm i @kangc/v-md-editor -S
# Vue 2 use yarn
yarn add @kangc/v-md-editor

Vue 3 use npm

npm i @kangc/[email protected] -S

Vue 3 use yarn

yarn add @kangc/[email protected]

Quick Start

import Vue from 'vue';
import VueMarkdownEditor from '@kangc/v-md-editor';
import '@kangc/v-md-editor/lib/style/base-editor.css';
import vuepressTheme from '@kangc/v-md-editor/lib/theme/vuepress.js';
import '@kangc/v-md-editor/lib/theme/style/vuepress.css';

// Prism import Prism from 'prismjs'; // highlight code import 'prismjs/components/prism-json';

VueMarkdownEditor.use(vuepressTheme, { Prism, });

Vue.use(VueMarkdownEditor);

Quick Start In Vue3

import { createApp } from 'vue';
import VMdEditor from '@kangc/v-md-editor';
import '@kangc/v-md-editor/lib/style/base-editor.css';
import vuepressTheme from '@kangc/v-md-editor/lib/theme/vuepress.js';
import '@kangc/v-md-editor/lib/theme/style/vuepress.css';

// Prism import Prism from 'prismjs'; // highlight code import 'prismjs/components/prism-json';

VMdEditor.use(vuepressTheme, { Prism, });

const app = createApp(/.../);

app.use(VMdEditor);

Usage

Usage Composition Api

Sponsor

Paypal

PayPal.Me

Alipay 支付宝

WeChat Pay 微信

Refrence

License

MIT

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.