File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -25,6 +25,8 @@ composer require jblond/php-diff
25
25
26
26
## Example Use
27
27
28
+ <details ><summary >Example Code</summary ><br >
29
+
28
30
``` PHP
29
31
<?php
30
32
use jblond\Autoloader;
@@ -61,8 +63,12 @@ $renderer = new SideBySide([
61
63
echo $diff->Render($renderer);
62
64
```
63
65
66
+ </details >
67
+
64
68
### 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 >
66
72
67
73
#### HTML Side By Side Example
68
74
![ 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
75
81
#### Text Context Example
76
82
![ Text Context Example] ( textContext.png " Text Context Example ")
77
83
84
+ </details >
85
+
78
86
## Requirements
79
87
80
88
* PHP 7.2 or greater
You can’t perform that action at this time.
0 commit comments