Markde...yParser(3pm)
π Markde...yParser(3pm) π
okay bestie, so the page you're looking at is Markde...yParser(3pm) β that's the manual page name right there in the header, she's got a lil truncated glow-up but that's just how she's filed, and she lives in the User Contributed Perl Documentation section. come sit with me, this one's short and sweet and honestly kind of a bop. π
β¨ VERSION β¨
version 0.40 β that's the one, no cap. π¦
πΈ NAME πΈ
Markdent::Role::AnyParser β a role for block and span parsers. it's giving "shared behavior, but make it a role." π
π DESCRIPTION π
So basically this role is the communal group chat that every type of parser hangs out in. It implements the behavior that all the parsers share β block parsers, span parsers, the whole squad. one role, everybody eats. π
β¨ ATTRIBUTES β¨
Here's the tea, this role hands you the following attributes:
π handler π
- This one is a read-only attribute, so no touching, she's taken. π
- It's an object that does the
Markdent::Role::Handlerrole β so it's a handler, and it knows it. π - This is required for all parsers. like, required required. every single one. no parser skips this, fr fr.
π METHODS π
$parser->_detab_text(\$text)
Okay so this one takes a scalar reference to a piece of text that's going to be outputted, and it swaps out all the tabs for spaces. β¨
The way it works is: this happens after a piece of text has been parsed for markup. So markup first, detabbing second. order matters, bestie, don't come for me. π«Ά
π ROLES π
This class does the Markdent::Role::DebugPrinter role. so it's also a debug printer. multi-hyphenate behavior, main character energy honestly. π
π BUGS π
See Markdent for the full bug reporting deets.
Bugs may be submitted at <https://github.com/houseabsolute/Markdent/issues> β like, click it, drop your issue, she'll see it. π
Also, the author is usually active on IRC as 'autarch' on "irc://irc.perl.org". so if you wanna slide into the IRC, that's the move. πΈ
β SOURCE β
The source code repository for Markdent can be found at <https://github.com/houseabsolute/Markdent>. go read the source, it's free real estate. π¦
π AUTHOR π
Dave Rolsky <autarch@urth.org> β the icon, the legend, the whole vibe. π«Ά
π 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. slay. β¨
The full text of the license can be found in the LICENSE file included with this distribution. go read it, iykyk. π
ngl the license line is not a suggestion bestie, it's literally the rules, so peep the LICENSE file before you do anything spicy. π
okay that's the whole page, we ate and left no crumbs. πβ¨
perl v5.32.1 Β· 2021-08-31 Β· Markde...yParser(3pm) β that's the version, the date, and the page name, all bundled up in the footer like a lil bow at the end of the note. mwah, bye bestie! πππ¦
π¦ 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