Sha256: 0eae7fab15fc12fb13682a453db7439161ac98e04abcac1344bccaf662774c18
Contents?: true
Size: 644 Bytes
Versions: 1
Compression:
Stored size: 644 Bytes
Contents
use v6; use Test; use Pod::To::HTML; plan 3; =begin pod =head1 Heading 1 =head2 Heading 1.1 =head2 Heading 1.2 =head1 Heading 2 =head2 Heading 2.1 =head2 Heading 2.2 =head2 <a href="/routine/message#class_Exception">(Exception) method message</a> =head3 Heading 2.2.1 =head3 X<Heading> 2.2.2 =head1 Heading C<3> =end pod my $html = pod2html $=pod; #put $html; ($html ~~ m:g/ ('2.2.2') /); is so ($0 && $1 && $2), True, 'hierarchical numbering'; ($html ~~ m:g/ 'href="#Heading_3"' /); is so $0, True, 'link down to heading'; ($html ~~ m:g/ ('name="index-entry-Heading"') /); is so ($0 || $1), True, 'no X<> anchors in ToC';
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
github-markup-3.0.2 | vendor/Pod-To-HTML/t/070-headings.t |