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: demos/others/code-highlight.php
+11
Original file line number
Diff line number
Diff line change
@@ -36,9 +36,20 @@ class Foo
36
36
Header::addTo($app, ['Empty code highlight']);
37
37
Code::addTo($app, ['', 'language' => 'php']);
38
38
39
+
// TODO https://github.com/highlightjs/highlight.js/issues/3796
39
40
Header::addTo($app, ['Diff highlight']);
40
41
Code::addTo($app, [<<<'EOD'
41
42
-removed line
42
43
+added line
43
44
unchanged line
44
45
EOD, 'language' => 'diff']);
46
+
47
+
// TODO https://github.com/highlightjs/highlight.js/issues/480#issuecomment-57007817 and https://github.com/valeriangalliat/highlightjs-code-diff
0 commit comments