On Jul 2, 2008, at 4:52 PM, 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 ?
Looks good to me although this means we don't have a solution for escaping portions of text for which we don't want to use a fixed sized font. I think that we should differentiate the code macro from the "noformat" macro when rewriting the new rendering macros. The code macro should use a fixed sized font I agree while the noformat one could use another one by default. Thanks -Vincent
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
-- Jean-Vincent Drean _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users