X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/8ae260015fa6ecd5aa39a84898f42837935c9953..e71622d233660b5ba305d68e586d7d14ff2124e6:/doc/todo/syntax_highlighting.mdwn?ds=sidebyside diff --git a/doc/todo/syntax_highlighting.mdwn b/doc/todo/syntax_highlighting.mdwn index 01aa7b576..dd7c8a117 100644 --- a/doc/todo/syntax_highlighting.mdwn +++ b/doc/todo/syntax_highlighting.mdwn @@ -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]]