Kathryn Andersen
and 1 contributors

NAME

Muster::Hook::Links - Muster hook for links

VERSION

version 0.62

SYNOPSIS

  # CamelCase plugin name
  package Muster::Hook::Links;
  use Mojo::Base 'Muster::Hook';

DESCRIPTION

Muster::Hook::Links processes for links.

METHODS

register

Initialize, and register hooks.

process

Process (scan or modify) a leaf object. In scanning phase, it may update the meta-data, in modify phase, it may update the content. May leave the leaf untouched.

  my $new_leaf = $self->process(%args);

Is this an external link?

linkpage

Convert the link into a page-name.

Process an external link.

Generate the HTML for a link.