Dave Rolsky > Markdent-0.23 > Markdent::Parser::SpanParser

Download:
Markdent-0.23.tar.gz

Dependencies

Annotate this POD

Website

CPAN RT

Open  2
View/Report Bugs
Module Version: 0.23   Source   Latest Release: Markdent-0.24

NAME ^

Markdent::Parser::SpanParser - Span parser for standard Markdown

VERSION ^

version 0.23

DESCRIPTION ^

This class parses spans for the standard Markdown dialect (as defined by Daring Fireball and mdtest).

METHODS ^

This class provides the following methods:

Markdent::Parser::SpanParser->new( handler => $handler )

Creates a new span parser object. You must provide a span parser object.

$span_parser->extract_link_ids(\$markdown)

This method takes a reference to a markdown string and parses it for link ids. These are removed from the document and stored in the span parser for later use.

$span_parser->parse_block(\$block)

Parses a block for span-level markup.

ROLES ^

This class does the Markdent::Role::SpanParser, Markdent::Role::AnyParser, and Markdent::Role::DebugPrinter roles.

BUGS ^

See Markdent for bug reporting details.

AUTHOR ^

Dave Rolsky <autarch@urth.org>

CONTRIBUTOR ^

Jason McIntosh <jmac@appleseed-sc.com>

COPYRIGHT AND LICENSE ^

This software is copyright (c) 2013 by Dave Rolsky.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

syntax highlighting: