X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/2449c596af0f74f30d9eb159fcdea5719d702a20..a9e45d868b721de2edba958a41fafa05c548359c:/IkiWiki/Plugin/otl.pm diff --git a/IkiWiki/Plugin/otl.pm b/IkiWiki/Plugin/otl.pm index 7d382b38b..ef76d6215 100644 --- a/IkiWiki/Plugin/otl.pm +++ b/IkiWiki/Plugin/otl.pm @@ -8,11 +8,20 @@ use IkiWiki 2.00; use open qw{:utf8 :std}; sub import { #{{{ + hook(type => "getsetup", id => "otl", call => \&getsetup); hook(type => "filter", id => "otl", call => \&filter); hook(type => "htmlize", id => "otl", call => \&htmlize); } # }}} +sub getsetup () { #{{{ + return + plugin => { + safe => 1, + rebuild => 1, # format plugin + }, +} #}}} + sub filter (@) { #{{{ my %params=@_;