3 my $textinc = 'data/unicode-sampler/unicode.txt';
6 title => "unicode sampler",
8 stylesheet => [qw'light dark mono red'],
12 open my $source, '<', $textinc
13 or Abort("Could not open text at $textinc", 501, $!);
16 my $top = readline $source;
17 my ($title, $hr, $intro) = split /\n(\H)$1+\n/, $top, 2;
18 say "<h1>$title</h1>";
23 while (my $p = readline $source) {
25 $p =~ s{ \A (\N+:) \n\Z }{<h2>$1</h2>}x;