@@ -63,13 +63,13 @@ Diff to Html generates pretty HTML diffs from unified and git diff output in you
6363 --lm, --matching Diff line matching type [choices: "lines", "words", "none"] [default: "none"]
6464 --lmt, --matchWordsThreshold Diff line matching word threshold [default: "0.25"]
6565 --lmm, --matchingMaxComparisons Diff line matching maximum line comparisons of a block of changes [default: 2500]
66+ --hwt, --htmlWrapperTemplate Path to custom template to be rendered when using the "html" output format [string]
6667 -f, --format Output format [choices: "html", "json"] [default: "html"]
6768 -d, --diff Diff style [choices: "word", "char"] [default: "word"]
6869 -i, --input Diff input source [choices: "file", "command", "stdin"] [default: "command"]
6970 -o, --output Output destination [choices: "preview", "stdout"] [default: "preview"]
7071 -u, --diffy Upload to diffy.org [choices: "browser", "pbcopy", "print"]
7172 -F, --file Send output to file (overrides output option) [string]
72- -hwt, --html-wrapper-template Path to custom template to be rendered when using the "html" output format [string]
7373 --version Show version number
7474 -h, --help Show help
7575
@@ -85,7 +85,7 @@ Diff to Html generates pretty HTML diffs from unified and git diff output in you
8585 -> print json format to stdout
8686 diff2html -F my-pretty-diff.html -- -M HEAD~1
8787 -> print to file
88- diff2html -F my-pretty-diff.html -hwt my-custom-template.html -- -M HEAD~1
88+ diff2html -F my-pretty-diff.html -- hwt my-custom-template.html -- -M HEAD~1
8989 -> print to file using custom markup
9090 templates can include the following variables:
9191 `<!--diff2html-css-->` - writes default CSS to page
0 commit comments