Would you like to clone this notebook?

When you clone a notebook you are able to make changes without affecting the original notebook.

Cancel

RunKit + npm: node-quill-converter

node v14.20.1
version: master
endpointsharetweet
const { convertHtmlToDelta, convertDeltaToHtml } = require('node-quill-converter'); const sampleData = [ `<pre>Hola</pre>`, `<h3>Hello</h3>`, ]; sampleData.forEach((sample) => { const delta = convertHtmlToDelta(sample); const html = convertDeltaToHtml(delta); console.log('html', html); });
Created from: https://npm.runkit.com/node-quill-converter
Loading…

no comments

    sign in to comment