Add new config option to the documentation.
This commit is contained in:
parent
b43cc1ae91
commit
3199a1ac7b
1 changed files with 1 additions and 0 deletions
|
|
@ -188,6 +188,7 @@ The HTML output accepts a Javascript object with configuration. Possible options
|
||||||
- `maxLineLengthHighlight`: only perform diff changes highlight if lines are smaller than this, default is `10000`
|
- `maxLineLengthHighlight`: only perform diff changes highlight if lines are smaller than this, default is `10000`
|
||||||
- `templates`: object with previously compiled templates to replace parts of the html
|
- `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
|
- `rawTemplates`: object with raw not compiled templates to replace parts of the html
|
||||||
|
- `renderNothingWhenEmpty`: render nothing if the diff shows no change in its comparison: `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)
|
> For more information regarding the possible templates look into [src/templates](https://github.com/rtfpessoa/diff2html/tree/master/src/templates)
|
||||||
|
|
||||||
** Diff2HtmlUI Helper Options **
|
** Diff2HtmlUI Helper Options **
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue