Skip to content

Commit

Permalink
feat: Add examples (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
Staormin authored Nov 4, 2024
1 parent 883a202 commit b399d33
Show file tree
Hide file tree
Showing 14 changed files with 50 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: ci

on:
push:
branches: [ main ]
branches: [ main, feature/* ]

jobs:
check-code:
Expand Down
49 changes: 49 additions & 0 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,52 @@ make merge-view
make cc
```

## Example output

Difference

<img src="examples/0-output-difference.png" width='500' />

Difference truncated

<img src="examples/0-output-difference-truncated.png" width='500' />

Side by Side unmerged

<img src="examples/1-output-side-to-side-unmerged.png" width='500' />

Side by Side unmerged truncated

<img src="examples/1-output-side-to-side-unmerged-truncated.png" width='500' />

Side by Side merged

<img src="examples/2-output-side-to-side-merged.png" width='500' />

Side by Side merged truncated

<img src="examples/2-output-side-to-side-merged-truncated.png" width='500' />

Multi line merged

<img src="examples/3-output-multiple-lines-merged.png" width='100' />

Multi line unmerged

<img src="examples/4-output-multiple-lines-unmerged.png" width='100' />

Multi line shift unmerged full space

<img src="examples/5-output-multiple-lines-shifted-unmerged-full-space.png" width='100' />

Multi line shift unmerged half space

<img src="examples/6-output-multiple-lines-shifted-unmerged-half-space.png" width='100' />

Multi line shift merged full space

<img src="examples/7-output-multiple-lines-shifted-merged-full-space.png" width='100' />

Multi line shift merged half space

<img src="examples/8-output-multiple-lines-shifted-merged-half-space.png" width='100' />
Binary file added examples/0-output-difference-truncated.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added examples/0-output-difference.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added examples/1-output-side-to-side-unmerged.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added examples/2-output-side-to-side-merged.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added examples/3-output-multiple-lines-merged.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added examples/4-output-multiple-lines-unmerged.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit b399d33

Please sign in to comment.