On Tue, Feb 9, 2010 at 18:24, Rieken, Joshua <joshua_rie...@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@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>



-- 
Thomas Mortagne
_______________________________________________
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to