In the mean time, I did a customization:
name: Customer Code
description: Format [code] blocks (enable for users Not Logged In)
author: Michel de Ruiter
version: 1.1.0.0
js:
$('.emailBody').each(function() {
var h = $(this).html();
var s = h.match(/\[code\]/g);
var e = h.match(/\[\/code\]/g);
if (s && e && s.length == e.length)
$(this).html(h.replace(/\[code\]/g,
'<div class="customercode codesnippet"><pre class="prettyprint">')
.replace(/\[\/code\]/g, '<\/pre></div>'));
});
css:
#bugviewContainer .bugevents .bugevent .email .emailBody div.customercode {
background-color: #FFD;
border: 1px solid #DDD;
}
#bugviewContainer .bugevents .bugevent .email .emailBody div.customercode pre {
font-size: 82%;
padding: 0 8px 12px;
}
#bugviewContainer .bugevents .bugevent .email .emailBody div.customercode pre br {
display: none;
}
But I would prefer to have the full-swing Code Snippets plugin to just be available for users Not Logged In.