File: Examples.md

package info (click to toggle)
rust-difference 2.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 312 kB
  • sloc: makefile: 2
file content (21 lines) | stat: -rw-r--r-- 673 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# 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)