]> sipb.mit.edu Git - ikiwiki.git/blobdiff - IkiWiki/Plugin/textile.pm
Merge remote-tracking branch 'smcv/ready/no-trails-if-dynamic'
[ikiwiki.git] / IkiWiki / Plugin / textile.pm
index d1b927b749b30220d22bfb5f3a2860a65e4f5204..56bb4bffce83bf9fa47b1ad731f46c8dc8d9f652 100644 (file)
@@ -6,12 +6,12 @@ package IkiWiki::Plugin::textile;
 
 use warnings;
 use strict;
-use IkiWiki 2.00;
+use IkiWiki 3.00;
 use Encode;
 
 sub import {
        hook(type => "getsetup", id => "textile", call => \&getsetup);
-       hook(type => "htmlize", id => "txtl", call => \&htmlize);
+       hook(type => "htmlize", id => "txtl", call => \&htmlize, longname => "Textile");
 }
 
 sub getsetup () {
@@ -19,6 +19,7 @@ sub getsetup () {
                plugin => {
                        safe => 1,
                        rebuild => 1, # format plugin
+                       section => "format",
                },
 }