Markde...LFilter(3pm)

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

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


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 was perl v5.32.1, dated 2021-08-31, page Markdent::Handler::HTMLFilter (3pm) πŸ’…βœ¨ mwah, love u, bye πŸ¦‹πŸŒΈ
πŸ“¦ where this page comes from