]> sipb.mit.edu Git - ikiwiki.git/blobdiff - IkiWiki/Plugin/table.pm
add plugin safe/rebuild info (part 3 of 3)
[ikiwiki.git] / IkiWiki / Plugin / table.pm
index 892ea182e267229531db7e6b64a4067a6294b6a1..1302646b130084fefd87456d2f905b8c4c2cfea6 100644 (file)
@@ -7,9 +7,18 @@ use Encode;
 use IkiWiki 2.00;
 
 sub import { #{{{
 use IkiWiki 2.00;
 
 sub import { #{{{
+       hook(type => "getsetup", id => "table", call => \&getsetup);
        hook(type => "preprocess", id => "table", call => \&preprocess);
 } # }}}
 
        hook(type => "preprocess", id => "table", call => \&preprocess);
 } # }}}
 
+sub getsetup () { #{{{
+       return
+               plugin => {
+                       safe => 1,
+                       rebuild => undef,
+               },
+} #}}}
+
 sub preprocess (@) { #{{{
        my %params =(
                format  => 'auto',
 sub preprocess (@) { #{{{
        my %params =(
                format  => 'auto',