Markde...kParser(3pm)
π Markdent::Role::BlockParser β bestie edition
okay so this is a page from the User Contributed Perl Documentation, and it's all about Markdent::Role::BlockParser, a Perl role. come sit with me, we're gonna get through this together π«Ά
πΈ NAME πΈ
Markdent::Role::BlockParser β it's literally a role for block parsers. that's the whole thing. iconic.
β¨ VERSION β¨
version 0.40 β that's the one, babes π
π DESCRIPTION π
so this role is the shared-glow-up situation: it implements the behavior that all block parsers have in common. every block parser gets this vibe. no cap. β¨
π REQUIRED METHODS π
if you're gonna be a block parser, you must show up with this. non-negotiable, bestie.
$parse->parse_document(\$text)β okay so this method takes a scalar reference to a markdown document (yes, a reference, a\$textsituation) and parses it for block-level markup. that's the job. that's what it does. periodt. π
π¦ ATTRIBUTES π¦
this role provides the following attributes, and yes they're cute:
_span_parser
- it's a read-only attribute, so look but don't touch, bestie π
- it's an object that does the
Markdent::Role::SpanParserrole β so it's a span parser doing span parser things - it is required for all block parsers. like, every single one. no exceptions. if you don't have it, you're not valid, and that's on periodt π
π§ ROLES π§
this role is doing the most and honestly we love that for it β it does the Markdent::Role::AnyParser and Markdent::Role::DebugPrinter roles. main character energy fr fr π₯
π BUGS π
not me having to tell you where to report bugs, but here we are:
- see Markdent for the bug reporting details, k?
- bugs may be submitted at <https://github.com/houseabsolute/Markdent/issues> β go off, tell them everything π
- also! the author is usually active on IRC as
autarchonirc://irc.perl.orgβ so if you wanna slide into those DMs (the IRC kind), you absolutely can π
β SOURCE β
the source code repository for Markdent can be found at <https://github.com/houseabsolute/Markdent>. go look, it's giving open source excellence π
πΈ AUTHOR πΈ
Dave Rolsky <autarch@urth.org> β the icon, the legend, the author π
π COPYRIGHT AND LICENSE π
okay legal era, let's get into it:
- this software is copyright (c) 2021 by Dave Rolsky π
- it's free software β you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. so, like, go wild, but respectfully π«Ά
- the full text of the license can be found in the
LICENSEfile included with this distribution. read it, bestie, it's there for you π
this page came to you courtesy of perl v5.32.1, dated 2021-08-31 β and with that, we're done here. mwah, love u, bye πβ¨
π¦ where this page comes from
- debian bookworm: libmarkdent-perl 0.40-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu jammy: libmarkdent-perl 0.40-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libmarkdent-perl 0.40-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms