Skip to content

Latest commit

 

History

History
46 lines (31 loc) · 836 Bytes

File metadata and controls

46 lines (31 loc) · 836 Bytes

DopeJs Markdown Editor

npm npm bundle size (scoped)

A wysiwyg markdown editor. Demo: https://editor.dopejs.dev

Install

# npm
npm install @dope-js/markdown-editor

# yarn
yarn add @dope-js/markdown-editor

# pnpm
pnpm add @dope-js/markdown-editor

Usage

Editor

import { MDXEditor } from '@dope-js/markdown-editor';

export default function Page() {
  return <MDXEditor />;
}

Viewer

import { MDXViewer } from '@dope-js/markdown-editor';

export default function Page() {
  return <MDXViewer mdx={'# test'} />;
}

Reference