@remirror/extension-markdown
TypeScript icon, indicating that this package has built-in type declarations

2.0.14 • Public • Published

@remirror/extension-markdown

Output markdown from your editor

Version Weekly Downloads Bundled size Typed Codebase MIT License

Installation

# yarn
yarn add @remirror/extension-markdown

# pnpm
pnpm add @remirror/extension-markdown

# npm
npm install @remirror/extension-markdown

Why

This extension adds support for converting your Prosemirror content to markdown.

This works by transforming the markdown content you provided into html and then using the built in DOMParser to transform the html to a ProseMirror node.

Usage

The following code creates an instance of this extension.

import { MarkdownExtension } from 'remirror/extensions';

const extension = new MarkdownExtension();

Readme

Keywords

Package Sidebar

Install

npm i @remirror/extension-markdown

Weekly Downloads

28,246

Version

2.0.14

License

MIT

Unpacked Size

102 kB

Total Files

13

Last publish

Collaborators

  • ocavue
  • ifiokjr