X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/78a7f6938f24e6ccf60b5a50400e728cb2b98ff9..bb93fccf0690344aa77f9538a508959a6de09847:/IkiWiki/Plugin/hnb.pm?ds=sidebyside 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 = @_;