X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/de468ba12dfc0891145b3f8b432eb97b70b60c0c..8cfba729702e52ba2b3716d7a2d2daaff61a1604:/IkiWiki/Plugin/hnb.pm diff --git a/IkiWiki/Plugin/hnb.pm b/IkiWiki/Plugin/hnb.pm index 846b0f2c9..bd2177a06 100644 --- a/IkiWiki/Plugin/hnb.pm +++ b/IkiWiki/Plugin/hnb.pm @@ -10,13 +10,22 @@ package IkiWiki::Plugin::hnb; use warnings; use strict; -use IkiWiki 2.00; +use IkiWiki 3.00; use File::Temp qw(:mktemp); sub import { + hook(type => "getsetup", id => "hnb", call => \&getsetup); hook(type => "htmlize", id => "hnb", call => \&htmlize); } +sub getsetup () { + return + plugin => { + safe => 1, + rebuild => 1, # format plugin + }, +} + sub htmlize (@) { my %params = @_;