]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/commit
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)
commit47298b01c1921deff7e056406245a90f8371bd59
tree60d783b258d444c122120abc5821d0ba6b9ccb2c
parentcdd1b58b386da575f3c73ab94ae72e5e66be797b
allow format to use any language supported by highlight

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.
IkiWiki/Plugin/format.pm
IkiWiki/Plugin/highlight.pm
debian/changelog
doc/plugins/highlight.mdwn
doc/todo/syntax_highlighting.mdwn