Hi Jonas,
Your wish is soon going to be reality! :)
We're now rewriting the rendering engine and as part of this we're
rewriting the macros (we're getting rid of Radeox). Thanks for the
pointers. We'll need to find a good framework to use. It'll have to be
a java one since the rendering is done on the server side. A first
usable version of the new rendering should be released in September.
That said, you can add new formatting for the radeox code macro. Let
me know if you're interested and I'll dig up the details.
Thanks
-Vincent
On Jul 3, 2008, at 11:07 AM, Jonas von Malottki wrote:
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 <traninger(a)mdw.ac.at> 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.