NAME
Text::Livedoor::Wiki - Perl extension for formatting text with livedoor Wiki Style.
SYNOPSIS
use Text::Livedoor::Wiki;
my $parser = Text::Livedoor::Wiki->new( { opts => { storage => 'http://static.wiki.livedoor.jp/formatter-storage' } } );
my $data = "* ''polocky''";
$html = $parser->parse( $data );
DESCRIPTION
This is livedoor Wiki Style Parser. you can download CSS and images from http://static.wiki.livedoor.jp/download/livedoor-wiki.0.01.tar.gz
METHOD
new
constructor. you can set arguments as hash ref.
- block_plugins
-
set list of block plugins you want to load. default is Text::Livedoor::Wiki::Plugin->block_plugins
- inline_plugins
-
set list of inline plugins you want to load. default is Text::Livedoor::Wiki::Plugin->inline_plugins
- function_plugins
-
set list of function plugins you want to load. default is Text::Livedoor::Wiki::Plugin->function_plugins
- on_mobile
-
set 1 for mobile mode.
parse
parse Wiki to HTML.
$parser->parse( $wiki, { your_options => 'hoge' } );
opts
get options
AUTHOR
Polocky
SEE ALSO
http://wiki.livedoor.com (Japanese) http://wiki.livedoor.jp/wiki_text/ (Japanese)