hook(type => "getsetup", id => "highlight", call => \&getsetup);
hook(type => "checkconfig", id => "highlight", call => \&checkconfig);
# this hook is used by the format plugin
- hook(type => "htmlizeformat", id => "highlight", call =>
- \&htmlizeformat);
+ hook(type => "htmlizeformat", id => "highlight",
+ call => \&htmlizeformat, last => 1);
}
sub getsetup () {
},
longname => sprintf(gettext("Source code: %s"), $file),
@opts,
+ last => 1,
);
}
}
ikiwiki (3.20101024) UNRELEASED; urgency=low
* txt: Fix display when used inside a format directive.
+ * highlight: Ensure that other, more-specific format plugins,
+ like txt are used in preference to this one in case of ties.
-- Joey Hess <joeyh@debian.org> Mon, 25 Oct 2010 22:30:29 -0400