]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/hnb.pm
update
[git.ikiwiki.info.git] / IkiWiki / Plugin / hnb.pm
index 846b0f2c9333f27c2356fecca9d679cba8159964..32c9cf3ada5b1ed3ed65114177fbcade05d0eaf2 100644 (file)
@@ -10,13 +10,23 @@ 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
+                       section => "format",
+               },
+}
+
 sub htmlize (@) {
        my %params = @_;