doc: Fix readme highlight
This commit is contained in:
parent
f1ff703e64
commit
88ce8e31ca
1 changed files with 6 additions and 2 deletions
|
|
@ -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.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue