X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/dae21a09b01baa118720670247a87c5cdc2591b8..ad81ac24b07376ca3ca8899e2fa4eed19f7f32c7:/termcol.plp diff --git a/termcol.plp b/termcol.plp index 359b33d..0e3c979 100644 --- a/termcol.plp +++ b/termcol.plp @@ -1,99 +1,142 @@ -<: -use utf8; -use strict; -use warnings; -use open IO => ':utf8'; -use List::Util 'min'; - -our $VERSION = 'v1.0'; - -$header{content_type} = 'text/html; charset=utf-8'; - -:> - - - -terminal colour cheat sheet - - - +<(common.inc.plp)><: + +Html({ + title => 'terminal colour cheat sheet', + version => 'v1.0', + description => [ + "Index of all terminal/console colour codes,", + "with an example result of various environments.", + ], + keywords => [qw' + color code terminal console escape table xterm rxvt + '], + stylesheet => [qw'light dark'], +}); - +:>

Terminal colours

- +:>
-

88-colour space

+:> +<: if ($ENV{PATH_INFO} =~ /256/) { :>
-

256-colour space

+:> +<: } :>
- - -