Markdent::Role::BalancedEvent(3pm) | User Contributed Perl Documentation | Markdent::Role::BalancedEvent(3pm) |
Markdent::Role::BalancedEvent - A parameterized role for events which can check if they balance another event
version 0.40
This role provides behavior for start and end events which can be checked for a balancing event. This includes things like strong, emphasis, and code start/end events.
This role accepts the following parameters:
This should be a list of attribute names which will be compared between the start and end events.
This role provides the following methods:
Given an event, this returns true if two events balance each other. This is done by comparing types (StartCode matches EndCode), as well as the attributes provided in the compare parameter.
See Markdent for bug reporting details.
Bugs may be submitted at <https://github.com/houseabsolute/Markdent/issues>.
I am also usually active on IRC as 'autarch' on "irc://irc.perl.org".
The source code repository for Markdent can be found at <https://github.com/houseabsolute/Markdent>.
Dave Rolsky <autarch@urth.org>
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.
2021-08-31 | perl v5.32.1 |