3 # based on the WikiText plugin.
4 package IkiWiki::Plugin::creole;
11 hook(type => "getsetup", id => "creole", call => \&getsetup);
12 hook(type => "htmlize", id => "creole", call => \&htmlize);
19 rebuild => 1, # format plugin
23 sub htmlize (@) { #{{{
25 my $content = $params{content};
27 eval q{use Text::WikiCreole};
28 return $content if $@;
30 # don't parse WikiLinks, ikiwiki already does
32 creole_custombarelinks();
34 return creole_parse($content);