X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/24f355ee04994c12c6bee2b276aab8c1ff4c0748..831fbd21461a9d9a6db4eecbc3930432babdfd73:/digraphs.plp?ds=sidebyside diff --git a/digraphs.plp b/digraphs.plp index be33d63..fbe8a5d 100644 --- a/digraphs.plp +++ b/digraphs.plp @@ -5,7 +5,7 @@ use warnings; no warnings 'qw'; # to quote or not to quote, that is the question use open IO => ':utf8'; -our $VERSION = '1.0'; +our $VERSION = 'v1.0'; $header{content_type} = 'text/html; charset=utf-8'; @@ -16,16 +16,22 @@ $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; +:> - +

RFC-1345 Digraphs

i^k in Vim. Also see common digraphs.

-

Unofficial proposals +

Unofficial proposals are available as ex commands.

<: @@ -87,7 +93,7 @@ for my $c1group (@chars) { } print "\n"; :> -
+
control spacing @@ -117,16 +123,12 @@ print "
\n";
-