Skip to content

Commit 9aa2ea9

Browse files
committed
doc: add diffMaxChanges and diffTooBigMessage in readme
1 parent 5915ecd commit 9aa2ea9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,10 @@ The HTML output accepts a Javascript object with configuration. Possible options
149149
- `outputFormat`: the format of the output data: `'line-by-line'` or `'side-by-side'`, default is `'line-by-line'`
150150
- `drawFileList`: show a file list before the diff: `true` or `false`, default is `true`
151151
- `diffStyle`: show differences level in each line: `word` or `char`, default is `word`
152+
- `diffMaxChanges`: number of changed lines after which a file diff is deemed as too big and not displayed, default is
153+
`undefined`
154+
- `diffTooBigMessage`: function allowing to customize the message in case of file diff too big (if `diffMaxChanges` is
155+
set)
152156
- `matching`: matching level: `'lines'` for matching lines, `'words'` for matching lines and words or `'none'`, default
153157
is `none`
154158
- `matchWordsThreshold`: similarity threshold for word matching, default is `0.25`

0 commit comments

Comments
 (0)