Skip to content

Commit

Permalink
Smaller screenshot preview and center them
Browse files Browse the repository at this point in the history
  • Loading branch information
ymattw committed Nov 10, 2024
1 parent adab2da commit 1baf044
Showing 1 changed file with 8 additions and 18 deletions.
26 changes: 8 additions & 18 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,27 +14,17 @@ See screenshots below.

Theme ``default``:

.. image:: https://github.com/ymattw/ydiff/blob/master/img/side-by-side-default.png
:alt: side by side, theme 'default'
:align: center
:height: 600 px

.. image:: https://github.com/ymattw/ydiff/blob/master/img/unified-default.png
:alt: unified, theme 'default'
:align: center
:height: 600 px
<p align="center">
<img src="https://github.com/ymattw/ydiff/blob/master/img/side-by-side-default.png" alt="side by side, theme 'default'" height="300">
<img src="https://github.com/ymattw/ydiff/blob/master/img/unified-default.png" alt="unified, theme 'default'" height="300">
</p>

Theme ``highlight``:

.. image:: https://github.com/ymattw/ydiff/blob/master/img/side-by-side-highlight.png
:alt: side by side, theme 'highlight'
:align: center
:height: 600 px

.. image:: https://github.com/ymattw/ydiff/blob/master/img/unified-highlight.png
:alt: unified, theme 'highlight'
:align: center
:height: 600 px
<p align="center">
<img src="https://github.com/ymattw/ydiff/blob/master/img/side-by-side-highlight.png" alt="side by side, theme 'highlight'" height="300">
<img src="https://github.com/ymattw/ydiff/blob/master/img/unified-highlight.png" alt="unified, theme 'highlight'" height="300">
</p>

Ydiff only supports diff in `Unified Format`_. This is default in most version
control system except Perforce, which needs an environment variable
Expand Down

0 comments on commit 1baf044

Please sign in to comment.