diff options
Diffstat (limited to 'IkiWiki/Plugin/otl.pm')
-rw-r--r-- | IkiWiki/Plugin/otl.pm | 9 |
1 files changed, 9 insertions, 0 deletions
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=@_; |