Markdent::Role::Event(3pm)

Markdent::Role::Event3pm

Implements behavior shared by all events

Version

version 0.40

Overview

This role provides shared behavior for all event classes. It is actually somewhat of a hack, as it is a parameterized role that generates methods for each class that consumes it.

Methods

This role provides the following methods:

$event->is_start

$event->is_end

$event->is_inline

These all returns booleans indicating whether the event is of the specified type.

$event->event_name

This returns a name like "start_blockquote", "end_strong", or "text".

$event->kv_pairs_for_attributes

This returns a hash representing the data stored in the object's attributes. If an attribute is not required and has not been set, it will not be present in the hash.

$event->debug_dump

Returns a string representation of the event suitable for debugging output.

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.