Skip to content

Commit 3199a1a

Browse files
committed
Add new config option to the documentation.
1 parent b43cc1a commit 3199a1a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,7 @@ The HTML output accepts a Javascript object with configuration. Possible options
188188
- `maxLineLengthHighlight`: only perform diff changes highlight if lines are smaller than this, default is `10000`
189189
- `templates`: object with previously compiled templates to replace parts of the html
190190
- `rawTemplates`: object with raw not compiled templates to replace parts of the html
191+
- `renderNothingWhenEmpty`: render nothing if the diff shows no change in its comparison: `true` or `false`, default is `false`
191192
> For more information regarding the possible templates look into [src/templates](https://github.com/rtfpessoa/diff2html/tree/master/src/templates)
192193
193194
** Diff2HtmlUI Helper Options **

0 commit comments

Comments
 (0)