Markdent::Parser::BlockParser - Block parser for standard Markdown
Contents
Bugs
See Markdent for bug reporting details.
Bugs may be submitted at <https://github.com/houseabsolute/Markdent/issues>.
I am also usually active on IRC as 'autarch' on "irc://irc.perl.org".
Copyright And License
This software is copyright (c) 2021 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.
The full text of the license can be found in the LICENSE file included with this distribution.
perl v5.38.2 2024-03-06 Markdent::Parser::BlockParser(3pm)
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::Parser::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".
Name
Markdent::Parser::BlockParser - Block parser for standard Markdown
Roles
This class does the Markdent::Role::BlockParser, Markdent::Role::AnyParser, and
Markdent::Role::DebugPrinter roles.
Source
The source code repository for Markdent can be found at <https://github.com/houseabsolute/Markdent>.
Version
version 0.40
