Markdent::Role::BalancedEvent(3pm)

Markdent::Role::BalancedEvent3pm

A parameterized role for events which can check if they balance another event

Version

version 0.40

Overview

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.

Role parameters

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.

Methods

This role provides the following methods:

$event->balances_event($event2)

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.

Source

The source code repository for Markdent can be found at <https://github.com/houseabsolute/Markdent>.

Releases

4 releases since Debian 10 (Buster); the text changed 3 times.

  1. 10
  2. 11
  3. 12
  4. 13

Bugs

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".

Author

Dave Rolsky <[email protected]>

From libmarkdent-perl 0.40-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.