| 1 | package Text::Livedoor::Wiki::Plugin::Inline::Italic; | ||
| 2 | |||
| 3 | 10 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 10 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | 10 | ▶ | use base qw(Text::Livedoor::Wiki::Plugin::Inline); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | |||
| 7 | 10 | __PACKAGE__->regex(q{'''([^']*)'''}); | |
| 8 | 10 | __PACKAGE__->n_args(1); | |
| 9 | |||
| 10 | 2 | ▶ | sub process { |
|
Subroutine
process: called CC=1 SCAR=0.0
Pod
documented
| |||
| 11 | 2 | my ( $class , $inline , $line ) = @_; | |
| 12 | 2 | $line = $inline->parse($line); | |
| 13 | 2 | return "<i>$line</i>"; | |
| 14 | } | ||
| 15 | |||
| 16 | 10 | 1; | |
| 17 | |||
| 18 | =head1 NAME | ||
| 19 | |||
| 20 | Text::Livedoor::Wiki::Plugin::Inline::Italic - Italic Inline Plugin | ||
| 21 | |||
| 22 | =head1 DESCRIPTION | ||
| 23 | |||
| 24 | write italic text. | ||
| 25 | |||
| 26 | =head1 SYNOPSIS | ||
| 27 | |||
| 28 | '''italic''' | ||
| 29 | |||
| 30 | =head1 FUNCTION | ||
| 31 | |||
| 32 | =head2 process | ||
| 33 | |||
| 34 | =head1 AUTHOR | ||
| 35 | |||
| 36 | polocky | ||
| 37 | |||
| 38 | =cut | ||