Skip to content

Commit 564f44f

Browse files
authored
Update README.md
1 parent 9e3ba28 commit 564f44f

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,13 +95,18 @@ The HTML output accepts a Javascript object with configuration. Possible options
9595
- `outputFormat`: the format of the output data: `'line-by-line'` or `'side-by-side'`, default is `'line-by-line'`
9696
- `showFiles`: show a file list before the diff: `true` or `false`, default is `false`
9797
- `matching`: matching level: `'lines'` for matching lines, `'words'` for matching lines and words or `'none'`, default is `none`
98-
- `synchronisedScroll`: scroll both panes in side-by-side mode: `true` or `false`, default is `false`
9998
- `matchWordsThreshold`: similarity threshold for word matching, default is 0.25
10099
- `matchingMaxComparisons`: perform at most this much comparisons for line matching a block of changes, default is `2500`
101100
- `templates`: object with previously compiled templates to replace parts of the html
102101
- `rawTemplates`: object with raw not compiled templates to replace parts of the html
103102
> For more information regarding the possible templates look into [src/templates](https://github.com/rtfpessoa/diff2html/tree/master/src/templates)
104103
104+
** Diff2HtmlUI Helper Options **
105+
- `synchronisedScroll`: scroll both panes in side-by-side mode: `true` or `false`, default is `false`
106+
107+
> For more information regarding the possible templates look into [src/templates](https://github.com/rtfpessoa/diff2html/tree/master/src/templates)
108+
109+
105110
## Diff2HtmlUI Helper
106111

107112
> Simple wrapper to ease simple tasks in the browser such as: code highlight and js effects

0 commit comments

Comments
 (0)