This is because that's actually what you asked with this syntax. To
customise the macro itself you can use cssClass parameter, see
(code macro inherits box macro).
On Thu, Dec 18, 2014 at 10:14 PM, Jamal <ramalj(a)gmail.com> wrote:
Thanks for the reply, Vincent.
That was my first thought, but here's the weird thing: when I add CSS styles
that way, the code block ends up getting rendered as a paragraph (<P> tag)
with the style applied in a SPAN, instead of being rendered in a DIV as it
normally is.
This changes the look completely, and with forced line breaks it gets quite
messy.
But since the macro has a place to specify a CSS class, I guess I could just
create a class to handle the line breaking.
I'm still pretty new to Xwiki, can you tell me what best place/way is to add
a CSS class that I can use on any page?
Thanks,
Jamal
--
View this message in context:
http://xwiki.475771.n2.nabble.com/Line-wrapping-in-Code-Macro-tp7593495p759…
Sent from the XWiki- Users mailing list archive at
Nabble.com.
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users