Hello, This discussion reminds me of another point: The code highlighting in the code macro is fairly poor compared to others. Isn't there a way to improve that? I mean there are already other (browser-javascript) solutions available for this task: http://code.google.com/p/syntaxhighlighter/ (LGPL -> compatible) http://shjs.sourceforge.net/index.html (GPL) http://softwaremaniacs.org/soft/highlight/en/ (3Clause BSD style) Furthermore it is not very easy to extend the radeox code macro to handle more different languages (Or I haven't found it yet). Just an idea.. Nice greetings Jonas Jean-Vincent Drean wrote:
You can add this in style.css :
------------8<---------------------------- pre, pre span { font-family:Courier; } ------------8<----------------------------
Devs : I'd be +1 to modify this in our skins, may be should add a special css class to the PREs generated by the code macro to achieve this. WDYT ?
On Wed, Jul 2, 2008 at 4:35 PM, atw <[email protected]> wrote:
Most likely I'm missing something, but maybe someone can help me out with this:
when I insert something like:
{code} #set($e = "Test") {code}
in a page, I'd expect the content displayed in Courier or a similar font. But all I can get is Arial...
(XE 1.5 RC2 as well as 1.41 on Windows XP, Tomcat 6.0, Oracle 10.2.0.3, Firefox 2).
Thanks for any help on this! -- View this message in context: http://www.nabble.com/Problem-with-Code-Macro-tp18238925p18238925.html Sent from the XWiki- Users mailing list archive at Nabble.com.
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users