logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Markdent::Role::BlockParser - A role for block parsers

Attributes

       This roles provides the following attributes:

   _span_parser
       This is a read-only attribute. It is an object which does the Markdent::Role::SpanParser role.

       This is required for all block parsers.

Author

       Dave Rolsky <autarch@urth.org>

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".

Description

       This role implements behavior shared by all block parsers.

Name

       Markdent::Role::BlockParser - A role for block parsers

Required Methods

       •   $parse->parse_document(\$text)

           This method takes a scalar reference to a markdown document and parses it for block-level markup.

Roles

       This role does the 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

See Also