Markde...Parser(3pm)

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

✨ Markdent::Parser::SpanParser β€” the span parser for standard Markdown ✨

okay bestie, sit down, hydrate, because we're talking about Markdent::Parser::SpanParser πŸ’… it's a Perl module (from the User Contributed Perl Documentation, no less πŸŽ€) and it's the span parser for standard Markdown. yes. that Markdown.


🌸 VERSION 🌸

version 0.40 β€” that's the one, that's the version, periodt πŸ’–


πŸ¦‹ DESCRIPTION πŸ¦‹

This class parses spans for the standard Markdown dialect (as defined by Daring Fireball and mdtest). that's it, that's the whole job, and it does it beautifully, no cap πŸ‘‘


πŸ’… METHODS πŸ’…

This class provides the following methods, and honestly? each one is doing the most in the best way:

🌈 Markdent::Parser::SpanParser->new( handler => $handler )

Creates a new span parser object. You must provide a span parser object. like, it's not optional bestie, hand over the span parser 🫢

This method takes a reference to a markdown string and parses it for link ids. These are removed from the document and stored in the span parser for later use. so it's lowkey a little heist β€” the link ids get lifted out of the doc and tucked away for later πŸ”₯

⭐ $span_parser->parse_block(\$block)

Parses a block for span-level markup. short, sweet, iconic. she said "block in, span-level markup understood" and that's that πŸ’…


πŸ‘‘ ROLES πŸ‘‘

This class does the Markdent::Role::SpanParser, Markdent::Role::AnyParser, and Markdent::Role::DebugPrinter roles. three roles? main character energy fr fr πŸŽ€


πŸ™ˆ BUGS πŸ™ˆ

See Markdent for bug reporting details. (yes, go look at Markdent, it's the whole thing πŸ’œ)

Bugs may be submitted at <https://github.com/houseabsolute/Markdent/issues>. click it, drag it, submit it πŸ¦‹

I am also usually active on IRC as 'autarch' on irc://irc.perl.org. so if you wanna vibe in real time, that's where the author lives 🫢


🌸 SOURCE 🌸

The source code repository for Markdent can be found at <https://github.com/houseabsolute/Markdent>. go forth and clone, bestie πŸ’–


✨ AUTHOR ✨

Dave Rolsky <autarch@urth.org> β€” an absolute legend, we stan πŸ‘‘


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, free vibes 🌈

The full text of the license can be found in the LICENSE file included with this distribution. read it, it's literally right there πŸ“„βœ¨

real talk though: don't skip the license, it's not a vibe check you wanna fail πŸ’€

and that's the whole page, bestie 🫢 this was perl v5.32.1, dated 2021-08-31, and it's the Markde...Parser(3pm) page β€” slay, bye πŸ’…βœ¨

πŸ“¦ where this page comes from