GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  TEXT::HIKIDOC::PLUGIN (3)

.ds Aq ’

NAME

Text::HikiDoc::Plugin - Base class of plug-in module for Text::HikiDoc .

CONTENTS

SYNOPSIS



  package Text::HikiDoc::Plugin::your-plugin

  use base Text::HikiDoc::Plugin;

  sub to_html {
      my $self = shift;
      my @args = @_;
      #
      # plug-in logic
      #
      return $string;
  }



DESCRIPTION



  Text::HikiDoc::Plugin can add a new format to Text::HikiDoc .



Methods

    to_html(ARGS)

When Text::HikiDoc encounters the description of {{your-plugin}}, Text::HikiDoc::Plugin::your-plugin::to_html() is executed. And {{your-plugin} is replaced with the returned character string.
ARGS There are some methods for you to pass the plug-in the argument. The following result the same all.



  {{br 2}}

    or

  {{br(2)}}

    or

  {{br
  2
  }}



SEE ALSO

Text::HikiDoc
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 TEXT::HIKIDOC::PLUGIN (3) 2016-03-17

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.