Markde...Stream(3pm)
π NAME π
Markdent::Role::HTMLStream β a whole role for handlers that make HTML β¨ it's giving stream of consciousness but make it markup π
πΈ VERSION πΈ
version 0.40 β yes bestie, we're on 0.40, iconic, no notes π
β¨ DESCRIPTION β¨
Okay so picture this: you've got events rolling in, and somebody has to turn all that into a stream of HTML. That somebody is this role. π
Markdent::Role::HTMLStream does most of the heavy lifting for you β it implements basically all the code an event receiver needs to spit out HTML based on the events it gets fed. Like, you show up with events, it hands you back HTML. Obsessed. π¦
π«Ά REQUIRED METHODS π«Ά
Not to be that girl, but this role does have requirements. If you're a consuming class, you gotta bring two methods to the party, no exceptions:
$handler->start_document$handler->end_document
That's the vibe check. Pass it or perish. π (kidding, but like, the role genuinely needs both.)
π§ ROLES π§
This role is also serving these two roles, because it contains multitudes:
Markdent::Role::EventsAsMethodsMarkdent::Role::Handler
Main character energy, honestly. π
π BUGS π
Found a bug? Say it with your chest β head over to Markdent and peep the bug reporting details there. π’
Bugs may be submitted at <https://github.com/houseabsolute/Markdent/issues>.
Also!! I'm usually lurking on IRC as 'autarch' on irc://irc.perl.org β come thru. π
β SOURCE β
The source code repository for Markdent lives at <https://github.com/houseabsolute/Markdent>. Go read the source, bestie, it's free and it's right there. π
π AUTHOR π
Dave Rolsky <autarch@urth.org> β literal legend, we stan. π
π 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.
The full text of the license can be found in the LICENSE file included with this distribution.
fr fr, read the LICENSE file β it's right there in the distribution, it's not gonna read itself π
Okay that's the whole page!! Sending you off with the receipts: this was Markde...Stream(3pm) from the User Contributed Perl Documentation, running on perl v5.32.1, dated 2021-08-31. Slay, go build something, ily π«Άβ¨
π¦ 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