Skip to content

Commit

Permalink
Update README with more and renamed screenshots
Browse files Browse the repository at this point in the history
  • Loading branch information
ymattw committed Nov 11, 2024
1 parent 8fa0711 commit 77d1b3f
Show file tree
Hide file tree
Showing 15 changed files with 18 additions and 10 deletions.
28 changes: 18 additions & 10 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,30 +12,38 @@ python >= 3.3 and ``less`` as a pager.

See screenshots below.

Theme ``default`` (works well for both dark and light terminal background):
Theme ``default`` on a dark terminal background:

.. image:: https://github.com/ymattw/ydiff/blob/master/img/side-by-side-default.png
:alt: side by side, theme 'default'
.. image:: https://github.com/ymattw/ydiff/blob/master/img/darkbg-side-by-side-default.png
:alt: side by side, theme 'default' on a dark background
:align: center
:height: 300 px

.. image:: https://github.com/ymattw/ydiff/blob/master/img/unified-default.png
:alt: unified, theme 'default'
Theme ``default`` on a light terminal background:

.. image:: https://github.com/ymattw/ydiff/blob/master/img/lightbg-side-by-side-default.png
:alt: side by side, theme 'default' on a light background
:align: center
:height: 300 px

Theme ``dark``: (for dark terminal background):
Theme ``dark`` on a dark terminal background:

.. image:: https://github.com/ymattw/ydiff/blob/master/img/side-by-side-dark.png
:alt: side by side, theme 'dark'
.. image:: https://github.com/ymattw/ydiff/blob/master/img/darkbg-side-by-side-dark.png
:alt: side by side, theme 'dark' on a dark background
:align: center
:height: 300 px

.. image:: https://github.com/ymattw/ydiff/blob/master/img/unified-dark.png
:alt: unified, theme 'dark'
Theme ``light`` on a light terminal background:

.. image:: https://github.com/ymattw/ydiff/blob/master/img/lightbg-side-by-side-light.png
:alt: side by side, theme 'light' on a light background
:align: center
:height: 300 px

See also `screenshots`_ of unified mode.

.. _`screenshots`: https://github.com/ymattw/ydiff/tree/img/img

Ydiff only supports diff in `Unified Format`_. This is default in most version
control system except Perforce, which needs an environment variable
``P4DIFF="diff -u"`` to output unified diff.
Expand Down
Binary file added img/darkbg-side-by-side-dark.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 img/darkbg-side-by-side-default.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 img/darkbg-unified-dark.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 img/darkbg-unified-default.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 img/lightbg-side-by-side-default.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 img/lightbg-side-by-side-light.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 img/lightbg-unified-default.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 img/lightbg-unified-light.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 removed img/side-by-side-dark.png
Binary file not shown.
Binary file removed img/side-by-side-default.png
Binary file not shown.
Binary file removed img/side-by-side-light.png
Binary file not shown.
Binary file removed img/unified-dark.png
Binary file not shown.
Binary file removed img/unified-default.png
Binary file not shown.
Binary file removed img/unified-light.png
Binary file not shown.

0 comments on commit 77d1b3f

Please sign in to comment.