NAME
Markdent::Handler::HTMLStream - A Markdent handler which generates HTML
DESCRIPTION
This class implements an event receiver which in turn generates a stream of HTML output based on those events.
METHODS
This class provides the following methods:
Markdent::Handler::HTMLStream->new(...)
This method creates a new handler. It accepts the following parameters:
title => $title
The title of the document. This is required.
output => $fh
The file handle to which HTML output will be streamed. If you want to capture the output in a string, you can open a filehandle to a string:
my $buffer = q{}; open my $fh, '>', \$buffer;
ROLES
This class does the Markdent::Role::EventsAsMethods and Markdent::Role::Handler roles.
BUGS
See Markdent for bug reporting details.
AUTHOR
Dave Rolsky, <autarch@urth.org>
COPYRIGHT & LICENSE
Copyright 2009-2010 Dave Rolsky, All Rights Reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.