blob: bb3f4354c7ba7b0b8556a03d764d51a60c657e44 [file] [log] [blame] [view]
# Diff Examples
These examples use the official term library to format output.
## Line-by-line (Git Style)
[examples/line-by-line.rs](examples/line-by-line.rs)
![line-by-line.rs](https://raw.githubusercontent.com/johannhof/difference.rs/master/assets/git-style.png)
## Underline words (GitHub Style)
[examples/underline-words.rs](examples/underline-words.rs)
![underline-words.rs](https://raw.githubusercontent.com/johannhof/difference.rs/master/assets/word-underline.png)
## GitHub Style (Multiline)
[examples/github-style.rs](examples/github-style.rs)
![github-style.rs](https://raw.githubusercontent.com/johannhof/difference.rs/master/assets/github-style.png)