Markde...Parser(3pm)

πŸ“¦
version 0.40 Β· 2 versions
, in debian bookworm, ubuntu jammy, ubuntu noble

πŸ’– 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. πŸ’œ


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