Skip to content

Commit

Permalink
docs: fix typos, omissions
Browse files Browse the repository at this point in the history
  • Loading branch information
joelcolucci committed Apr 25, 2018
1 parent 75ccc70 commit 963a412
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Expand Up @@ -23,7 +23,7 @@ let delta = convertTextToDelta(text);
console.log(JSON.stringify(delta)); // {"ops":[{"insert":"hello, world\n"}]}
```

### Convert an HTML string to a Quill delta:
### Convert a HTML string to a Quill delta:
```js
const { convertHtmlToDelta } = require('node-quill-converter');

Expand All @@ -33,13 +33,13 @@ let delta = convertHtmlToDelta(htmlString);
console.log(JSON.stringify(delta); // {"ops":[{"insert":"hello, "},{"insert":"world","attributes":{"bold":true}}]}
```
### Convert an Quill delta to an HTML string:
### Convert a Quill delta to an HTML string:
```js
const { convertDeltaToHtml } = require('node-quill-converter');

let html = convertDeltaToHtml(delta);

console.log(html) ;
console.log(html) ; // '<p>hello, <strong>world</strong></p>'
```
## License
Expand Down

0 comments on commit 963a412

Please sign in to comment.