This question about Using an extension: Answered
Our Company uses foswiki as documentation platform. In our topics are many bash-scripts included. I have installed the
JQueryChili plugin for syntax highlighting. To enable the Chili-plugin, I have to put the text into
<verbatim class="bash"> </verbatim>
tags.
But the WYSIWYG VERBATIM format adds
<verbatim> </verbatim>
tags.
Is it possible to add another format to the WYSIWYG editor which puts the text into verbatim class="bash" tags?
--
KlausReithmaier - 31 Oct 2012
Changes have already been checked into 1.1.6 and 1.2 for this.
See
distro:4ab726258508 and
Tasks.Item12201
--
GeorgeClark - 31 Oct 2012
Oh... and to access them, create the verbatim block, and then right-click in the block to get the context menu. From there you can select the type of highlighting.
--
GeorgeClark - 31 Oct 2012
Ok, thanks, works perfectly.
I changed the same lines that you changed in the file "editor_plugin_src.js":
distro:4ab726258508
Now it's easy to understand for people who don't know what "jQuery chili" is.
--
KlausReithmaier - 02 Nov 2012