summaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/teximg.pm
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-08-03 19:35:35 -0400
committerJoey Hess <joey@kodama.kitenet.net>2008-08-03 19:36:11 -0400
commit39056453424dcb7e01f69c502192e45604d1fe84 (patch)
tree1aebbca749dd0dce1cc2747ededf85a3fdc78e3e /IkiWiki/Plugin/teximg.pm
parent210b9ba2f3999db21030bb7ca05b9861b763788a (diff)
add plugin safe/rebuild info (part 3 of 3)
Diffstat (limited to 'IkiWiki/Plugin/teximg.pm')
-rw-r--r--IkiWiki/Plugin/teximg.pm9
1 files changed, 9 insertions, 0 deletions
diff --git a/IkiWiki/Plugin/teximg.pm b/IkiWiki/Plugin/teximg.pm
index 6a6bdd4fa..369c10882 100644
--- a/IkiWiki/Plugin/teximg.pm
+++ b/IkiWiki/Plugin/teximg.pm
@@ -11,9 +11,18 @@ use HTML::Entities;
use IkiWiki 2.00;
sub import { #{{{
+ hook(type => "getsetup", id => "teximg", call => \&getsetup);
hook(type => "preprocess", id => "teximg", call => \&preprocess);
} #}}}
+sub getsetup () { #{{{
+ return
+ plugin => {
+ safe => 1,
+ rebuild => undef,
+ },
+} #}}}
+
sub preprocess (@) { #{{{
my %params = @_;