NAME
Markdent::Dialect::Standard::BlockParser - Block parser for standard Markdown
DESCRIPTION
This class parses blocks for the standard Markdown dialect (as defined by Daring Fireball and mdtest).
METHODS
This class provides the following methods:
Markdent::Dialect::Standard::BlockParser->new( handler => $handler , span_parser => $span_parser )
Creates a new block parser object. You must provide a span parser object.
$block_parser->parse_document(\$markdown)
This method takes a reference to a markdown string and parses it for blocks. Each block which contains text (except preformatted text) will be parsed for span-level markup using this object's span_parser
.
ROLES
This class does the Markdent::Role::BlockParser, Markdent::Role::AnyParser, and Markdent::Role::DebugPrinter roles.
AUTHOR
Dave Rolsky, >autarch@urth.org<
BUGS
See Markdent for bug reporting details.
AUTHOR
Dave Rolsky, <autarch@urth.org>
COPYRIGHT & LICENSE
Copyright 2009 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.