doc: Fix readme highlight

This commit is contained in:
Rodrigo Fernandes 2020-01-01 20:04:54 +00:00
parent f1ff703e64
commit 88ce8e31ca
No known key found for this signature in database
GPG key ID: 67157D2E3D4258B4

View file

@ -92,11 +92,15 @@ You can also refer to it from a CDN like [CDNJS](https://cdnjs.com/libraries/dif
> JSON representation of the diff
function parse(diffInput: string, configuration: Diff2HtmlConfig = {}): DiffFile[]
```ts
function parse(diffInput: string, configuration: Diff2HtmlConfig = {}): DiffFile[];
```
> Pretty HTML representation of the diff
function html(diffInput: string | DiffFile[], configuration: Diff2HtmlConfig = {}): string
```ts
function html(diffInput: string | DiffFile[], configuration: Diff2HtmlConfig = {}): string;
```
> Check out the [docs/demo.html](./docs/demo.html) for a demo example.