3 package IkiWiki::Plugin::wikitext;
10 hook(type => "getsetup", id => "wiki", call => \&getsetup);
11 hook(type => "htmlize", id => "wiki", call => \&htmlize);
14 sub getsetup () { #{{{
17 safe => 0, # format plugin
23 sub htmlize (@) { #{{{
25 my $content = $params{content};
27 eval q{use Text::WikiFormat};
28 return $content if $@;
29 return Text::WikiFormat::format($content, undef, { implicit_links => 0 });