You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+52-37Lines changed: 52 additions & 37 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,16 +1,16 @@
1
1
# PHPHighlight
2
2
3
-
PHPHighlight is a PHP library for highlighting syntax that can be easily configured and extended.
3
+
PHPHighlight is a PHP syntax highlighting library that can be easily customized and extended.
4
4
5
-
The library parses the text, finds the tag \<pre>, read attributes (data-lang, data-file, data-theme), and for this reason decides how to highlight the syntax of this block.
6
-
Supports style customization.
5
+
## How it works
6
+
The library parses the text, finds the \<pre> tag, reads the attributes (data-lang, data-file, data-theme) and highlights the syntax of the code block.
7
7
8
-
Here are examples of styling:
8
+
Supports style customization. Here are examples of styling:
0 commit comments