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
If you right-click on the verbatim block, the Chili highlighting classes can be assigned to the text.
- Highlight the lines for the Verbatim block
- Use the Format menu to apply the
VERBATIM
markup
- Right-click the resulting block and chose a JQuery Chili class.
Note that in 1.1.6, more chili classes will be listed, under a more generic syntax highlight context menu. This web site is now running 1.1.6, so you can see the new feature when editing this topic. Older versions will still present the context menu, but using a less clear
JQueryChili item.
--
GeorgeClark - 14 Nov 2012