Vincent Massol 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?
> 

+1

-- 
Sergiu Dumitriu
http://purl.org/net/sergiu/

_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to