Markdent::Role::BalancedEvent - A parameterized role for events which can check if they match balance another event
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:
compare => [ ... ]
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.
Dave Rolsky, <autarch@urth.org>
Copyright 2009 Dave Rolsky, All Rights Reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Markdent, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Markdent
CPAN shell
perl -MCPAN -e shell install Markdent
For more information on module installation, please visit the detailed CPAN module installation guide.