Markde...LFilter(3pm)
π Markdent::Handler::HTMLFilter β the vibe
okay so bestie, this is Markdent::Handler::HTMLFilter, a Perl 3pm page from the User Contributed Perl Documentation collection. Say hi π
β¨ VERSION β¨
version 0.40 β that's the one, no cap π
π¦ SYNOPSIS π¦
like, here's the whole mood, verbatim:
my $html = Markdent::Handler::HTMLStream->new( ... );
my $filter = Markdent::Handler::HTMLFilter->new( handler => $html );
my $parser = Markdent::Parser->new( handler => $filter ):
$parser->parse( markdown => ... );
(yes the colon at the end of that one line is literally in the original, i'm not touching it, that's not my business π )
πΈ DESCRIPTION πΈ
So this class is an event filter. Its whole personality? It drops all HTML events from the event streamβ¦
β¦except HTML entities. Entities get to stay. Everyone else, blocked. π«β¨
That's it. That's the job. It's giving bouncer-at-the-club but for events.
π METHODS π
This class provides the following methods, and yes there's only one, she's an icon:
Markdent::Handler::HTMLFilter->new
This method creates a new handler. Fresh handler, fresh vibes, brand new π«Ά
π ROLES π
This class does the Markdent::Role::Handler role. She's in the cast, she's committed, she shows up π
π BUGS π
See Markdent for bug reporting details β that's where the whole scoop lives.
Bugs may be submitted at <https://github.com/houseabsolute/Markdent/issues>. Come through, drop your bug, we'll look at it π
Also! I am usually active on IRC as 'autarch' on irc://irc.perl.org. So if IRC is your thing, that's where to find me π
π₯ SOURCE π₯
The source code repository for Markdent can be found at <https://github.com/houseabsolute/Markdent>. Go look, go read, go be obsessed β
π AUTHOR π
Dave Rolsky <autarch@urth.org> β the author, the moment, the main character π
π§ 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 bestie, do what you want within the rules π
The full text of the license can be found in the LICENSE file included with this distribution. Go read it, it's right there π
and that's the whole page, bestie! this wasperl v5.32.1, dated2021-08-31, pageMarkdent::Handler::HTMLFilter(3pm) π β¨ mwah, love u, bye π¦πΈ
π¦ 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