Thanks for the reply, Thomas. I've created 3 issues for this:
-----Original Message-----
From: users-bounces(a)xwiki.org
[mailto:users-bounces@xwiki.org] On Behalf Of Thomas Mortagne
Sent: Wednesday, February 10, 2010 2:42 AM
To: XWiki Users
Subject: Re: [xwiki-users] Issues with 2.0 syntax code macro
(colibri, XWE 2.1.1)
On Tue, Feb 9, 2010 at 18:24, Rieken, Joshua
<Joshua_Rieken(a)reyrey.com> wrote:
Hello all,
I'm using the code macro as follows:
This statement, {{code language="c++"}}int number =
0;{{/code}}, is some
example C++ code illustrating inline use
of the code macro.
There are a couple of issues:
1.) This sentence renders with an extra newline after the
code macro. However,
when language="none" or no language
attribute is used, no newline is inserted. Is this a bug and,
if not, is there any way around it?
Could you report it on
http://jira.xwiki.org ? But i'm afraid
that's a Pygments bug (we could still do something about that).
2.) The code macro when using language="c++" does not use a
monospace
font in some places, and this causes problems with
alignment.
Could you report it on
http://jira.xwiki.org (a different
issue) ? I guess one of the style generated by Pygments for
some keywords overwrite the general .code CSS class
configuration some way.
Any help is greatly appreciated. Don't worry, I do plan to
contribute
back to this wonderful project once I clear my
plate a bit. :-)
Thanks,
Joshua
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
--
Thomas Mortagne
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users