git.shiar.nl
/
sheet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
formatchar: highlight by unicode range if no digraphs
[sheet.git]
/
termcol.plp
diff --git
a/termcol.plp
b/termcol.plp
index ad6ae77836764c05b34f21c3241e2cf38c93fbe9..4b9103288e5643c4910815c01b334c7948c37d37 100644
(file)
--- a/
termcol.plp
+++ b/
termcol.plp
@@
-18,7
+18,7
@@
use List::Util 'min';
:>
<h1>Terminal colours</h1>
:>
<h1>Terminal colours</h1>
-<
section
>
+<
div class="section"
>
<:
sub luminance {
# perceived brightness (using ITU-R recommendation 601 luma co-efficients)
<:
sub luminance {
# perceived brightness (using ITU-R recommendation 601 luma co-efficients)
@@
-83,11
+83,11
@@
for my $term (qw/html cga xterm tango/) {
}
print "</table>\n\n";
}
}
print "</table>\n\n";
}
-:></
section
>
+:></
div
>
<hr>
<hr>
-<
section
>
+<
div class="section"
>
<h2>88-colour space</h2>
<:
for my $r (0 .. 3) {
<h2>88-colour space</h2>
<:
for my $r (0 .. 3) {
@@
-107,11
+107,11
@@
print '<table><tr>';
print colcell(80+$_, (($_ + 2 + ($_>0)) * 255/11) x 3) for 0 .. 7;
print "</table>\n\n";
print colcell(80+$_, (($_ + 2 + ($_>0)) * 255/11) x 3) for 0 .. 7;
print "</table>\n\n";
-:></
section
>
+:></
div
>
<: if ($ENV{PATH_INFO} =~ /256/) { :>
<hr>
<: if ($ENV{PATH_INFO} =~ /256/) { :>
<hr>
-<
section
>
+<
div class="section"
>
<h2>256-colour space</h2>
<:
for my $r (0 .. 5) {
<h2>256-colour space</h2>
<:
for my $r (0 .. 5) {
@@
-134,7
+134,7
@@
for my $row (0, 12) {
}
print "\n";
}
print "\n";
-:></
section
>
+:></
div
>
<: } :>
<hr>
<: } :>
<hr>