Markde...Parser(3pm)
π Markdent::Role::SpanParser π
okay bestie, gather round, we're doing a Perl role today and honestly? it's giving span parser energy and we're obsessed. this is the Markdent::Role::SpanParser page from the User Contributed Perl Documentation, so you know it's the real deal. no cap. π«Ά
β¨ VERSION β¨
version 0.40 β yes, that's the number, write it down, don't be weird about it. π
πΈ DESCRIPTION πΈ
so basically this role is the shared-glow-up situation. it implements behavior shared by all span parsers. that's it. that's the vibe. every span parser out here catching the same behavior, like besties matching outfits but for code. slay. π
π REQUIRED METHODS π
listen, if you're gonna consume this role, you gotta bring this one to the function. it's required, so like, no skipping. π«
$parser->parse_block(\$text)β okay so this method takes a scalar reference to a markdown block, and it parses that thing for span-level markup. note the backslash, bestie β it wants a reference, not just a plain string, iykyk. π¦
π ROLES π
this role does the Markdent::Role::AnyParser and Markdent::Role::DebugPrinter roles. so it's out here stacking roles like it's collecting infinity stones. main character energy fr fr. π₯
π BUGS π
found a bug? first of all, π, second of all, go see Markdent for all the bug reporting details.
bugs may be submitted at https://github.com/houseabsolute/Markdent/issues β click it, type it, do whatever, just tell them.
also, the author is usually active on IRC as autarch on irc://irc.perl.org. so if you wanna vibe check in real time, that's where they're at. π§
β SOURCE β
the source code repository for Markdent lives at https://github.com/houseabsolute/Markdent. go look at it. it's right there. π
π«Ά AUTHOR π«Ά
Dave Rolsky <autarch@urth.org> β legend behavior, honestly. π
π 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. free software rights, we love to see it. β¨
the full text of the license can be found in the LICENSE file included with this distribution. go read it, it's important, don't skip the paperwork bestie. π
ok that's the whole page, every single detail intact, nothing skipped, nothing invented. periodt. π
perl v5.32.1 Β· 2021-08-31 Β· and that lil Markde...Parser(3pm) footer at the bottom? yeah, that's this page, that's us, we did it. bye bestie, go parse some spans. πΈπ¦π
π¦ 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