]> sipb.mit.edu Git - ikiwiki.git/commitdiff
allow format to use any language supported by highlight
authorJoey Hess <joey@gnu.kitenet.net>
Sat, 23 May 2009 09:17:26 +0000 (05:17 -0400)
committerJoey Hess <joey@gnu.kitenet.net>
Sat, 23 May 2009 09:17:26 +0000 (05:17 -0400)
format: Provide a htmlizefallback hook that other plugins can use to
handle formats that are not suitable for general-purpose htmlize hooks.

highlight: Use the hook to allow formatting of any language/extension,
without it needing to be enabled for standalone source files.

highlight: If the highlight perl binding is not available, fallback
safely to a passthrough mode.


No differences found