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