Markde...edEvent(3pm)

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

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


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 by perl v5.32.1, dated 2021-08-31. and yeah the header was like Markde...edEvent(3pm) because the terminal truncates things and honestly?? relatable. anyway love u, bye!! πŸŽ€βœ¨πŸ¦‹πŸ’…
πŸ“¦ where this page comes from