diff options
author | Joey Hess <joey@gnu.kitenet.net> | 2009-05-23 05:17:26 -0400 |
---|---|---|
committer | Joey Hess <joey@gnu.kitenet.net> | 2009-05-23 05:17:26 -0400 |
commit | 47298b01c1921deff7e056406245a90f8371bd59 (patch) | |
tree | 60d783b258d444c122120abc5821d0ba6b9ccb2c /doc/todo | |
parent | cdd1b58b386da575f3c73ab94ae72e5e66be797b (diff) |
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.
Diffstat (limited to 'doc/todo')
-rw-r--r-- | doc/todo/syntax_highlighting.mdwn | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/todo/syntax_highlighting.mdwn b/doc/todo/syntax_highlighting.mdwn index 01aa7b576..3d122829b 100644 --- a/doc/todo/syntax_highlighting.mdwn +++ b/doc/todo/syntax_highlighting.mdwn @@ -36,8 +36,10 @@ work as source-highlight, but in perl. I plan to package the base module for de releases the 5 or 6 language definitions he has running on his web site, it might be suitable for inclusion in ikiwiki. [[DavidBremner]] * [[plugins/highlight]] uses [highlight](http://www.andre-simon.de) via - its swig bindings. It supports whole files only. It uses either - keepextension or noextension, as appropriate for the type of file. + its swig bindings. It optionally supports whole files, but also + integrates with the format directive to allow formatting of *any* of + highlight's supported formats. (For whole files, it uses either + keepextension or noextension, as appropriate for the type of file.) ## General problems / requirements |