]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - doc/todo/syntax_highlighting.mdwn
convert from forum to bug, mark as done
[git.ikiwiki.info.git] / doc / todo / syntax_highlighting.mdwn
index 01aa7b576c258c676808015afbe1b2597aa431be..dd7c8a117187394bc2a4fd99bf779c8754e75b28 100644 (file)
@@ -1,6 +1,11 @@
 There's been a lot of work on contrib syntax highlighting plugins. One should be
 picked and added to ikiwiki core.
 
+> I'm calling this [[done]] since I added the [[plugins/highlight]]
+> plugin. There are some unresolved issues touched on here,
+> but they either have the own other bug reports, or are documented
+> as semi-features in the docs to the plugin. --[[Joey]] 
+
 We want to support both converting whole source files into wiki
 pages, as well as doing syntax highlighting as a preprocessor directive 
 (which is either passed the text, or reads it from a file). But,
@@ -36,8 +41,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
 
@@ -109,10 +116,3 @@ releases the 5 or 6 language definitions he has running on his web site, it migh
   Perhaps the thing to do here is to use the new `longname` parameter to
   the format hook, to give them all names that will group together at or
   near the end of the list. Ie: "Syntax: perl", "Source code: c", etc.
-
----
-
-I'm calling this [[done]] since I added the [[plugins/highlight]]
-plugin. There are some unresolved issues touched on here,
-but they either have the own other bug reports, or are documented
-as semi-features in the docs to the plugin. --[[Joey]]