File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ diff2html generates pretty HTML diffs from git diff or unified diff output.
26
26
- [ Online Example] ( #online-example )
27
27
- [ Distributions] ( #distributions )
28
28
- [ Usage] ( #usage )
29
+ - [ Diff Text Input] ( #diff-text-input )
29
30
- [ Diff2HtmlUI Usage] ( #diff2htmlui-usage )
30
31
- [ Diff2HtmlUI API] ( #diff2htmlui-api )
31
32
- [ Diff2HtmlUI Configuration] ( #diff2htmlui-configuration )
@@ -118,6 +119,13 @@ Diff2Html can be used in various ways as listed in the [distributions](#distribu
118
119
119
120
Bellow you can find more details and examples about each option.
120
121
122
+ ## Diff Text Input
123
+
124
+ diff2html accepts the text contents of a
125
+ [ unified diff] ( https://www.gnu.org/software/diffutils/manual/html_node/Unified-Format.html ) or the superset format git
126
+ diff (https://git-scm.com/docs/git-diff ) (not combined or word diff). To provide multiples files as input just
127
+ concatenate the diffs (just like the output of git diff).
128
+
121
129
## Diff2HtmlUI Usage
122
130
123
131
> Simple wrapper to ease simple tasks in the browser such as: code highlight and js effects
You can’t perform that action at this time.
0 commit comments