Looks good, +1.
On Fri, Sep 5, 2008 at 3:51 PM, Vincent Massol <vincent(a)massol.net> wrote:
Hi,
Wikimodel (and Doxia) both have the ability to pass parameters to some
events such as paragraphs, lists, tables, etc.
I'm proposing that we enable that in our rendering too.
This will allow writing things like:
(% param1="value1" param2="value2" %)
This is a paragraph
Example:
(% style="background-color: blue" %)
This is a paragraph
Note that we've already agreed to do that for tables. What I'm saying
here is that we should generalize it to other elements. Here's the
list I propose:
- paragraphs
- list and list items (including definition lists)
- section headers
- quotation (which is not yet implemented, on my todo list)
- tables
This solves our issue of styling without requiring a special macro and
in addition it's very generic and consistent with wikimodel/doxia.
WDYT?
Thanks
-Vincent
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs
--
Jean-Vincent Drean