Skip to content

Commit 5a20d89

Browse files
authored
Merge pull request #37 from JBlond/readme-update
Readme update
2 parents bbe48f4 + 99150a4 commit 5a20d89

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ composer require jblond/php-diff
2525

2626
## Example Use
2727

28+
<details><summary>Example Code</summary><br>
29+
2830
```PHP
2931
<?php
3032
use jblond\Autoloader;
@@ -61,8 +63,12 @@ $renderer = new SideBySide([
6163
echo $diff->Render($renderer);
6264
```
6365

66+
</details>
67+
6468
### Example Output
65-
A quick usage example can be found in the `example/` directory and under example.php.
69+
A quick usage example can be found in the `example/` directory and under example.php. Included is a light theme and a dark theme.
70+
71+
<details><summary>Example Pictures</summary><br>
6672

6773
#### HTML Side By Side Example
6874
![HTML Side By Side Example](htmlSideBySide.png "HTML Side By Side Example")
@@ -75,6 +81,8 @@ A quick usage example can be found in the `example/` directory and under example
7581
#### Text Context Example
7682
![Text Context Example](textContext.png "Text Context Example")
7783

84+
</details>
85+
7886
## Requirements
7987

8088
* PHP 7.2 or greater

0 commit comments

Comments
 (0)