From 88ce8e31ca1074be1f63f5355f0374f1ea2245fb Mon Sep 17 00:00:00 2001 From: Rodrigo Fernandes Date: Wed, 1 Jan 2020 20:04:54 +0000 Subject: [PATCH] doc: Fix readme highlight --- README.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 0985cdb..6aac35f 100644 --- a/README.md +++ b/README.md @@ -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.