Diff Examples

These examples use the official term library to format output.

Line-by-line (Git Style)

examples/line-by-line.rs

line-by-line.rs

Underline words (GitHub Style)

examples/underline-words.rs

underline-words.rs

GitHub Style (Multiline)

examples/github-style.rs

github-style.rs