xref: /onnv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/Pod/t/htmlview.pod (revision 0:68f95e015346)
1*0Sstevel@tonic-gate=head1 NAME
2*0Sstevel@tonic-gate
3*0Sstevel@tonic-gateTest HTML Rendering
4*0Sstevel@tonic-gate
5*0Sstevel@tonic-gate=head1 SYNOPSIS
6*0Sstevel@tonic-gate
7*0Sstevel@tonic-gate    use My::Module;
8*0Sstevel@tonic-gate
9*0Sstevel@tonic-gate    my $module = My::Module->new();
10*0Sstevel@tonic-gate
11*0Sstevel@tonic-gate=head1 DESCRIPTION
12*0Sstevel@tonic-gate
13*0Sstevel@tonic-gateThis is the description.
14*0Sstevel@tonic-gate
15*0Sstevel@tonic-gate    Here is a verbatim section.
16*0Sstevel@tonic-gate
17*0Sstevel@tonic-gateThis is some more regular text.
18*0Sstevel@tonic-gate
19*0Sstevel@tonic-gateHere is some B<bold> text, some I<italic> and something that looks
20*0Sstevel@tonic-gatelike an E<lt>htmlE<gt> tag.  This is some C<$code($arg1)>.
21*0Sstevel@tonic-gate
22*0Sstevel@tonic-gateThis C<text contains embedded B<bold> and I<italic> tags>.  These can
23*0Sstevel@tonic-gatebe nested, allowing B<bold and I<bold E<amp> italic> text>.  The module also
24*0Sstevel@tonic-gatesupports the extended B<< syntax >> and permits I<< nested tags E<amp>
25*0Sstevel@tonic-gateother B<<< cool >>> stuff >>
26*0Sstevel@tonic-gate
27*0Sstevel@tonic-gate=head1 METHODS =E<gt> OTHER STUFF
28*0Sstevel@tonic-gate
29*0Sstevel@tonic-gateHere is a list of methods
30*0Sstevel@tonic-gate
31*0Sstevel@tonic-gate=head2 new()
32*0Sstevel@tonic-gate
33*0Sstevel@tonic-gateConstructor method.  Accepts the following config options:
34*0Sstevel@tonic-gate
35*0Sstevel@tonic-gate=over 4
36*0Sstevel@tonic-gate
37*0Sstevel@tonic-gate=item foo
38*0Sstevel@tonic-gate
39*0Sstevel@tonic-gateThe foo item.
40*0Sstevel@tonic-gate
41*0Sstevel@tonic-gate=item bar
42*0Sstevel@tonic-gate
43*0Sstevel@tonic-gateThe bar item.
44*0Sstevel@tonic-gate
45*0Sstevel@tonic-gate=over 4
46*0Sstevel@tonic-gate
47*0Sstevel@tonic-gateThis is a list within a list
48*0Sstevel@tonic-gate
49*0Sstevel@tonic-gate=item *
50*0Sstevel@tonic-gate
51*0Sstevel@tonic-gateThe wiz item.
52*0Sstevel@tonic-gate
53*0Sstevel@tonic-gate=item *
54*0Sstevel@tonic-gate
55*0Sstevel@tonic-gateThe waz item.
56*0Sstevel@tonic-gate
57*0Sstevel@tonic-gate=back
58*0Sstevel@tonic-gate
59*0Sstevel@tonic-gate=item baz
60*0Sstevel@tonic-gate
61*0Sstevel@tonic-gateThe baz item.
62*0Sstevel@tonic-gate
63*0Sstevel@tonic-gate=back
64*0Sstevel@tonic-gate
65*0Sstevel@tonic-gateTitle on the same line as the =item + * bullets
66*0Sstevel@tonic-gate
67*0Sstevel@tonic-gate=over
68*0Sstevel@tonic-gate
69*0Sstevel@tonic-gate=item * C<Black> Cat
70*0Sstevel@tonic-gate
71*0Sstevel@tonic-gate=item * Sat S<I<on> the>
72*0Sstevel@tonic-gate
73*0Sstevel@tonic-gate=item * MatE<lt>!E<gt>
74*0Sstevel@tonic-gate
75*0Sstevel@tonic-gate=back
76*0Sstevel@tonic-gate
77*0Sstevel@tonic-gateTitle on the same line as the =item + numerical bullets
78*0Sstevel@tonic-gate
79*0Sstevel@tonic-gate=over
80*0Sstevel@tonic-gate
81*0Sstevel@tonic-gate=item 1 Cat
82*0Sstevel@tonic-gate
83*0Sstevel@tonic-gate=item 2 Sat
84*0Sstevel@tonic-gate
85*0Sstevel@tonic-gate=item 3 Mat
86*0Sstevel@tonic-gate
87*0Sstevel@tonic-gate=back
88*0Sstevel@tonic-gate
89*0Sstevel@tonic-gateNo bullets, no title
90*0Sstevel@tonic-gate
91*0Sstevel@tonic-gate=over
92*0Sstevel@tonic-gate
93*0Sstevel@tonic-gate=item
94*0Sstevel@tonic-gate
95*0Sstevel@tonic-gateCat
96*0Sstevel@tonic-gate
97*0Sstevel@tonic-gate=item
98*0Sstevel@tonic-gate
99*0Sstevel@tonic-gateSat
100*0Sstevel@tonic-gate
101*0Sstevel@tonic-gate=item
102*0Sstevel@tonic-gate
103*0Sstevel@tonic-gateMat
104*0Sstevel@tonic-gate
105*0Sstevel@tonic-gate=back
106*0Sstevel@tonic-gate
107*0Sstevel@tonic-gate=head2 old()
108*0Sstevel@tonic-gate
109*0Sstevel@tonic-gateDestructor method
110*0Sstevel@tonic-gate
111*0Sstevel@tonic-gate=head1 TESTING FOR AND BEGIN
112*0Sstevel@tonic-gate
113*0Sstevel@tonic-gate=for html    <br>
114*0Sstevel@tonic-gate<p>
115*0Sstevel@tonic-gateblah blah
116*0Sstevel@tonic-gate</p>
117*0Sstevel@tonic-gate
118*0Sstevel@tonic-gateintermediate text
119*0Sstevel@tonic-gate
120*0Sstevel@tonic-gate=begin html
121*0Sstevel@tonic-gate
122*0Sstevel@tonic-gate<more>
123*0Sstevel@tonic-gateHTML
124*0Sstevel@tonic-gate</more>
125*0Sstevel@tonic-gate
126*0Sstevel@tonic-gatesome text
127*0Sstevel@tonic-gate
128*0Sstevel@tonic-gate=end html
129*0Sstevel@tonic-gate
130*0Sstevel@tonic-gate=head1 TESTING URLs hyperlinking
131*0Sstevel@tonic-gate
132*0Sstevel@tonic-gateThis is an href link1: http://example.com
133*0Sstevel@tonic-gate
134*0Sstevel@tonic-gateThis is an href link2: http://example.com/foo/bar.html
135*0Sstevel@tonic-gate
136*0Sstevel@tonic-gateThis is an email link: mailto:foo@bar.com
137*0Sstevel@tonic-gate
138*0Sstevel@tonic-gate    This is a link in a verbatim block <a href="http://perl.org"> Perl </a>
139*0Sstevel@tonic-gate
140*0Sstevel@tonic-gate=head1 SEE ALSO
141*0Sstevel@tonic-gate
142*0Sstevel@tonic-gateSee also L<Test Page 2|htmlescp>, the L<Your::Module> and L<Their::Module>
143*0Sstevel@tonic-gatemanpages and the other interesting file F</usr/local/my/module/rocks>
144*0Sstevel@tonic-gateas well.
145*0Sstevel@tonic-gate
146*0Sstevel@tonic-gate=cut
147