X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/78a7f6938f24e6ccf60b5a50400e728cb2b98ff9..805e16ec65c338323333244fb67c59e1d69ba96f:/IkiWiki/Plugin/hnb.pm diff --git a/IkiWiki/Plugin/hnb.pm b/IkiWiki/Plugin/hnb.pm index 846b0f2c9..d5b5ce3b4 100644 --- a/IkiWiki/Plugin/hnb.pm +++ b/IkiWiki/Plugin/hnb.pm @@ -14,9 +14,18 @@ use IkiWiki 2.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 = @_;