<span> is better than <tt>, IMHO. The other reason is that {{ }} already means <tt> :-)

Though I do agree, that it might be better to assing a style instead of forcing a particular style. Let's put that as an enhancement proposal for 2.8.1 or 3.0?

/Janne

On 29 Aug 2008, at 20:06, Dirk Frederickx wrote:

Janne,

%%prettify just does what the code-plugin does, but client-side.  It
has been included in the current template.


But the remark of Chris remains valid. When the {{{ code }}} appears
inline, the rendered <span> contains a style attribute which probably
makes more sense to put into the css file.

Why not use the <tt> element ?


dirk


On Fri, Aug 29, 2008 at 12:00 PM, Janne Jalkanen <[EMAIL PROTECTED]> wrote:
On Fri, Aug 29, 2008 at 02:39:53AM -0700, mekondelta wrote:

Thanks Harry! That could very well be the solution. It looks like I'll have
to abandon the use of the {{{}}} formatter.

¥{{{ }}}} Is not a code block; it just means "output everything
between these two without intepreting the wikimarkup."

If you want to output code, the Code plugin is probably a better idea.

(Might be a good idea to look into taking it in JSPWiki as well; while
it's of limited use, it's pretty neat.)

/Janne


Reply via email to