OptionaladdedCSS class name for added regions (target-side). Defaults to "diff-added".
OptionaladdedHTML tag name for added regions (target-side). Defaults to "mark".
OptionalmatchedCSS class name for matched regions. Defaults to "diff-matched".
OptionalmatchedHTML tag name for matched regions. Defaults to "mark".
OptionalshowWhen true, whitespace-only deletions and insertions are highlighted.
When false (default), whitespace-only diffs are silently ignored.
OptionalunmatchedCSS class name for unmatched (removed) regions. Defaults to "diff-unmatched".
OptionalunmatchedHTML tag name for unmatched (removed) regions. Defaults to "mark".
Options for customising the HTML tags and CSS classes used for highlighting.
Every option is optional — omitting it falls back to a
<mark>element with the default class name.