add htmlise
parent
c1160151d3
commit
66ce94c464
|
@ -15,6 +15,8 @@ sub import { #{{{
|
|||
call => \&preprocess);
|
||||
IkiWiki::hook(type => "filter", id => "skeleton",
|
||||
call => \&filter);
|
||||
IkiWiki::hook(type => "htmlize", id => "skeleton",
|
||||
call => \&htmlize);
|
||||
IkiWiki::hook(type => "sanitize", id => "skeleton",
|
||||
call => \&sanitize);
|
||||
IkiWiki::hook(type => "pagetemplate", id => "skeleton",
|
||||
|
@ -45,6 +47,14 @@ sub filter (@) { #{{{
|
|||
return $params{content};
|
||||
} # }}}
|
||||
|
||||
sub htmlize ($) { #{{{
|
||||
my $content=shift;
|
||||
|
||||
IkiWiki::debug("skeleton plugin running as htmlize");
|
||||
|
||||
return $content;
|
||||
} # }}}
|
||||
|
||||
sub sanitize ($) { #{{{
|
||||
my $content=shift;
|
||||
|
||||
|
|
Loading…
Reference in New Issue