Kathryn Andersen
and 1 contributors

NAME

Muster::Hook::Directives - Muster base class for preprocessor directives

VERSION

version 0.62

SYNOPSIS

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

DESCRIPTION

Muster::Hook::Directives processes for preprocessor directives. This has sub-classes for all the directives.

As with IkiWiki, directives are prefixed with "[[!name"

METHODS

register

Initialize and register. This must be defined in a subclass.

do_directives

Extracts and processes directives from the content of the leaf.