Skip to content
This repository has been archived by the owner on Nov 3, 2020. It is now read-only.

sliteteam/quill-delta-markdown

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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!

About

To and from Markdown and Quill delta

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%