diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/plugins/contrib/sourcehighlight.mdwn | 5 | ||||
-rw-r--r-- | doc/todo/plugin.mdwn | 8 |
2 files changed, 5 insertions, 8 deletions
diff --git a/doc/plugins/contrib/sourcehighlight.mdwn b/doc/plugins/contrib/sourcehighlight.mdwn index b48fd1a16..2cf0ca563 100644 --- a/doc/plugins/contrib/sourcehighlight.mdwn +++ b/doc/plugins/contrib/sourcehighlight.mdwn @@ -2,9 +2,8 @@ I noticed several places in the wiki talking about similar ideas, so I decided t I have copied otl.pm and am wrapping source-highlight (why this instead of vim highlight, I dunno, I must be a real emacs guy). You can find more or less the latest version on -[my wiki](http://www.cs.unb.ca/~bremner/wiki/software/sourcehighlight.pm) - -you must specify a highlight_lang=>"foo,bar" in your setup file. +[my wiki](http://www.cs.unb.ca/~bremner/wiki/software/ikiwiki/sourcehighlight.pm). +You must specify `highlight_lang=>"foo,bar"` in your setup file. where foo and bar are the (source-supported) languages you want to highlight # Issues diff --git a/doc/todo/plugin.mdwn b/doc/todo/plugin.mdwn index 901e8e55e..8bfd6a654 100644 --- a/doc/todo/plugin.mdwn +++ b/doc/todo/plugin.mdwn @@ -46,15 +46,13 @@ Suggestions of ideas for plugins: > Not sure what you mean, the [[plugins/contrib]] page lists contributed plugins, and each of their pages tells where to download the plugin from.. --[[Joey]] -* I was thinking about a tex plugin, to handle tex4ht files. I have since discovered that pandoc on the output from tex4ht seems to be good enough. --[[DavidBremner]] +* I wrote a very crude wrapper around tex4ht to render TeX files. I hesitate to give it a contrib/plugins page in its current state, but if someone wants to play, [here](http://www.cs.unb.ca/~bremner/wiki/software/ikiwiki/tex4ht.pm) it is.--[[DavidBremner]] * Setting default values for the meta plugin in the setup file, particularly author, license, and copyright, would be useful There is work in progress at [[plugins/contrib/default_content_for___42__copyright__42___and___42__license__42__]] -- [[DavidBremner]] -* What about a translator plugin using source-highlight or some alternative to view a collection of source code. I have a collection -of e.g. java for students to look at. I'd like to e.g. update the tags in the java file, then rebuild the wiki. A first hack, can be found in -[my wiki](http://www.cs.unb.ca/~bremner/wiki/software/java.pm) -Among many possible improvements would be generalizing to handle other languages. I have to play some more. +* Would it make sense to have a hook to set the page name? This would solve a problem I see with +[[source_code_highlighting|plugins/contrib/sourcehighlight]] -- [[DavidBremner]] |