We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6087842 commit 11526f7Copy full SHA for 11526f7
1 file changed
README.md
@@ -19,11 +19,16 @@ use Ahc\CliSyntax\Highlighter;
19
20
// PHP code
21
echo new Highlighter('<?php echo "Hello world!";');
22
+// OR
23
+echo (new Highlighter)->highlight('<?php echo "Hello world!";');
24
25
// PHP file
26
echo Highlighter::for('/path/to/file.php');
27
```
28
29
+See [example](./example.php). Here's the screenshot too:
30
+
31
+
32
33
## Contributing
34
0 commit comments