X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/2449c596af0f74f30d9eb159fcdea5719d702a20..aed42eb34ac50912a995dee41ce7dd6e3c3b7f81:/IkiWiki/Plugin/otl.pm?ds=inline 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=@_;