Converter from the Delta document format used by the Quill text editor to Markdown, using the commonmark.js parser and thus following the Commonmark Spec.
1 - Use it to convert your delta document to markdown
const { fromDelta } = require('quill-markdown-delta')
const markdown = fromDelta(deltaFromElseWhere)
2 - Use it to convert your markdown document to delta ops
const { toDelta } = require('@slite/quill-markdown-delta')
const deltaOps = toDelta(txtFromElseWhere)
npm install
npm test
This lib was forked from the Slite Team's fork of Bart Visscher (bartv2) 's lib.