@slite/quill-delta-markdown

0.0.8 • Public • Published

Installation

npm install --save @slite/quill-mardown-delta

Usage

1 - Use it to convert your delta document to markdown

const { fromDelta } = require('@slite/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)

Test

npm install
npm test

About

A great thank you to Bart Visscher (bartv2) who started this lib ( here https://github.com/bartv2/quill-delta-markdown ). We will work towards the goal to give it gack to the original repo!

/@slite/quill-delta-markdown/

    Package Sidebar

    Install

    npm i @slite/quill-delta-markdown

    Weekly Downloads

    177

    Version

    0.0.8

    License

    ISC

    Last publish

    Collaborators

    • dqms
    • accounts-dev-slite
    • calyhre
    • prenaudin
    • antoineduban
    • guillaumemorin
    • christophepas
    • antoinelyset
    • d34thwings
    • agix
    • alisonsayarath