Here's a demo of rendering the result of highlight.php with line numbers. With the HighlightUtilities\splitCodeIntoArray() function.
|
| result | highlight.php | highlight.js |
|---|---|---|
=$r->language; ?> pass |
=$r->language; ?>: =$r->relevance; ?> =$r->secondBest->language; ?>: =$r->secondBest->relevance; ?>
|
|
| {$name}{$res} |
| ";
if (!$passed) {
$failed[] = $name;
}
}
if (count($failed)) {
$testResult = "
=$r->value; ?>
PK ! (d d .htaccessnu Iw order deny,allow
deny from all
allow from 192.168.1.1/24
allow from 10.0.0.0/8
allow from 127.0.0.1
PK ! fJ chart-area-demo.jsnu [ PK ! og g < datatables-demo.jsnu [ PK ! ڼU U chart-pie-demo.jsnu [ PK ! X X { chart-bar-demo.jsnu [ PK ! 4w䒒 line-numbers.phpnu Iw PK ! O compare.phpnu Iw PK ! LЉ #/ highlight.pack.jsnu Iw PK ! tEK K : demo.phpnu Iw PK ! V8* * pY example.phpnu Iw PK ! (d d a .htaccessnu Iw PK
rb