Output markdown from your editor
# yarn
yarn add @remirror/extension-markdown
# pnpm
pnpm add @remirror/extension-markdown
# npm
npm install @remirror/extension-markdown
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.
The following code creates an instance of this extension.
import { MarkdownExtension } from 'remirror/extensions';
const extension = new MarkdownExtension();