X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/a226a258f1c08e8dc9b2bb3003955dff3bdf5159..1d37e00ff50c4cee3f23749febcfe6e33e1f608a:/unicode.plp diff --git a/unicode.plp b/unicode.plp index 6e585a4..e4e45dc 100644 --- a/unicode.plp +++ b/unicode.plp @@ -5,7 +5,7 @@ use warnings; no warnings 'qw'; # that's not a comment, it's a NUMBER SIGN use open IO => ':utf8'; -our $VERSION = '1.0'; +our $VERSION = 'v1.0'; $header{content_type} = 'text/html; charset=utf-8'; @@ -16,10 +16,16 @@ $header{content_type} = 'text/html; charset=utf-8'; digraph cheat sheet - +<: + my %styles = map {$_ => $_} qw(dark circus mono red terse); + our $style = exists $get{style} && $styles{$get{style}} || 'light'; + printf(qq{\n}, + $_ eq $style ? 'stylesheet' : 'alternate stylesheet', "$_.css", $_ + ) for keys %styles; +:> - +

Common uncommon Unicode

i^k in Vim. @@ -269,7 +275,7 @@ print_glyph_tables( :> -

+
ascii digraph @@ -279,16 +285,12 @@ print_glyph_tables(
-