]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/commit
Update highlight plugin for highlight api.
authorDavid Bremner <bremner@unb.ca>
Wed, 29 Dec 2010 11:18:14 +0000 (07:18 -0400)
committerJoey Hess <joey@kitenet.net>
Wed, 29 Dec 2010 17:05:20 +0000 (13:05 -0400)
commitab511bb39c4cde35137b7ce3a2fe34fe720259a5
tree4c8790702de8f9361b6a4bec5d142f0606917d52
parent83b685abb51cc904ae6fb4c8d3f5548823307c0b
Update highlight plugin for highlight api.

Note that in particular calling initTheme with and empty file does not
work anymore.

use of initLanguage was replaced by loadLanguage, which seems to work
in both places.

I tried to make it a bit more robust against missing a highlight package.
There are lots of warnings, but it no longer crashes.
IkiWiki/Plugin/highlight.pm