App-sdview-Output-HTML
view release on metacpan or search on metacpan
App::sdview::Output::HTML - generate HTML output from App::sdview
SYNOPSIS
$ sdview Some/File.pod -o HTML > index.html
DESCRIPTION
This output module adds to App::sdview the ability to output HTML; or
at least, a page fragment that might be used to construct a full HTML
page.
Currently, no header or CSS is generated, only the main body content by
relatively simple conversion - headers to <h1>, <h2>, etc.. and inline
formatting within paragraphs.
TODO
* Customisable page header, CSS, general page template?
lib/App/sdview/Output/HTML.pm view on Meta::CPAN
C<App::sdview::Output::HTML> - generate HTML output from L<App::sdview>
=head1 SYNOPSIS
$ sdview Some/File.pod -o HTML > index.html
=head1 DESCRIPTION
This output module adds to L<App::sdview> the ability to output HTML; or at
least, a page fragment that might be used to construct a full HTML page.
Currently, no header or CSS is generated, only the main body content by
relatively simple conversion - headers to C<< <h1> >>, C<< <h2> >>, etc.. and
inline formatting within paragraphs.
=cut
method output_head1 ( $para ) { $self->_output_para( "h1", $para ); }
method output_head2 ( $para ) { $self->_output_para( "h2", $para ); }
method output_head3 ( $para ) { $self->_output_para( "h3", $para ); }
( run in 3.017 seconds using v1.01-cache-2.11-cpan-b16cb0d3907 )