On Sep 10, 2013, at 9:23 PM, Valdis Vītoliņš valdis.vitol...@odo.lv wrote:
Vincent,
actually I'm happy with both styles for boxes, because I regularly have
several types of them in one page:
1. code excerpts ({{code}} with sharp corners, difference from {{box}}
and quote is monospace
I decided, that the most elegant solution was to add custom XWiki macro
called message whith body:
{{velocity}}(% class=box plainmessage%
)((($xcontext.macro.content))){{/velocity}}
http://platform.xwiki.org/xwiki/bin/view/DevGuide/WikiMacroTutorial
Valdis
I'm migrating documents to XWiki/2.1
Hi Valdis,
I've opened http://jira.xwiki.org/browse/XWIKI-9432
I reckon that the reason you didn't use the {{box/}} macro was just because it
looks a little bit less nice that the other style (round corners, margin for
the text), right?
Thanks
-Vincent
On Sep 10, 2013, at 11:26 AM, Valdis
Vincent,
actually I'm happy with both styles for boxes, because I regularly have
several types of them in one page:
1. code excerpts ({{code}} with sharp corners, difference from {{box}}
and quote is monospace font),
2. informational messages (e.g. {{warning}}, {{info}} — rounded ones
with
I'm migrating documents to XWiki/2.1 syntax and wonder, what would be
the precise analogue for #message(message) macro, which produces
following HTML:
div class=plainmessagemessage/div
I found only similar ones:
quote
which produces
blockquotequote/blockquote
(IMHO works only for single
Hi,
On Sep 3, 2013, at 12:06 PM, Valdis Vītoliņš valdis.vitol...@odo.lv wrote:
I'm migrating documents to XWiki/2.1 syntax and wonder, what would be
the precise analogue for #message(message) macro, which produces
following HTML:
div class=plainmessagemessage/div
I found only similar