From 564f44f0530d0edd4d2affc360674229bc8b748e Mon Sep 17 00:00:00 2001 From: Rodrigo Fernandes Date: Fri, 21 Jul 2017 23:07:44 +0100 Subject: [PATCH] Update README.md --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index beacc71..f4fa3ad 100644 --- a/README.md +++ b/README.md @@ -95,13 +95,18 @@ The HTML output accepts a Javascript object with configuration. Possible options - `outputFormat`: the format of the output data: `'line-by-line'` or `'side-by-side'`, default is `'line-by-line'` - `showFiles`: show a file list before the diff: `true` or `false`, default is `false` - `matching`: matching level: `'lines'` for matching lines, `'words'` for matching lines and words or `'none'`, default is `none` - - `synchronisedScroll`: scroll both panes in side-by-side mode: `true` or `false`, default is `false` - `matchWordsThreshold`: similarity threshold for word matching, default is 0.25 - `matchingMaxComparisons`: perform at most this much comparisons for line matching a block of changes, default is `2500` - `templates`: object with previously compiled templates to replace parts of the html - `rawTemplates`: object with raw not compiled templates to replace parts of the html > For more information regarding the possible templates look into [src/templates](https://github.com/rtfpessoa/diff2html/tree/master/src/templates) +** Diff2HtmlUI Helper Options ** + - `synchronisedScroll`: scroll both panes in side-by-side mode: `true` or `false`, default is `false` + +> For more information regarding the possible templates look into [src/templates](https://github.com/rtfpessoa/diff2html/tree/master/src/templates) + + ## Diff2HtmlUI Helper > Simple wrapper to ease simple tasks in the browser such as: code highlight and js effects