Markde...edEvent(3pm)
π Markdent::Role::BalancedEvent π
ok so bestie, welcome to the manual page for Markdent::Role::BalancedEvent β it's a parameterized role for events which can check if they balance another event. it lives in the Perl User Contributed Perl Documentation, so you know it's the real deal. π«Ά
β¨ VERSION β¨
version 0.40 β yes queen, that's the one π
πΈ DESCRIPTION πΈ
okay so here's the vibe: this role provides behavior for start and end events which can be checked for a balancing event. it's giving... things like strong, emphasis, and code start/end events. like, the matched pairs?? the soulmates of markup?? it's them β¨
π ROLE PARAMETERS π
this role accepts the following parameters, and no we're not skipping any of them:
compare => [ ... ]β bestie, this should be a list of attribute names which will be compared between the start and end events. that's it, that's the parameter. iconic.
π METHODS π
this role provides the following methods:
π $event->balances_event($event2)
given an event, this returns true if two events balance each other. the way it works?? it compares types (so StartCode matches EndCode), as well as the attributes provided in the compare parameter. so it's type-checking and attribute-checking. no cap. π₯
π BUGS π
see Markdent for bug reporting details, bestie.
bugs may be submitted at <https://github.com/houseabsolute/Markdent/issues>.
also!! the author is usually active on IRC as 'autarch' on "irc://irc.perl.org". so if you wanna slide into the IRC, you literally can. π
π¦ SOURCE π¦
the source code repository for Markdent can be found at <https://github.com/houseabsolute/Markdent>. go look, go read, go stan. π
β AUTHOR β
Dave Rolsky <autarch@urth.org> β the main character of this whole thing, fr fr. π
π 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. slay.
the full text of the license can be found in the LICENSE file included with this distribution. read it bestie, it's important π
ok and that's a wrap!! this page is from the Perl User Contributed Perl Documentation, brought to you byperl v5.32.1, dated2021-08-31. and yeah the header was likeMarkde...edEvent(3pm)because the terminal truncates things and honestly?? relatable. anyway 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