Vincent Massol wrote:
> Hi,
> 
> I'd like to modify our rendering for section titles and use matching H  
> tags. For example for "1.1" I'd like to use h2 and not h3 and h1 for  
> "1".
> The main reason for this need (beyond it being more logical) is in the  
> new rendering. The XHTML parser I use (the one in wikimodel) will  
> automatically transform h2 into a level 2 section title.
> 
> In addition I'd like the HTML class element to be heading-X (e.g.  
> heading-1, heading-2, etc) instead of heading-1, heading-1-1,  
> heading-1-1-1, etc.
> 
> I have 2 options here:
> 1) modify the current code to generate the <h> tag and the matching  
> heading-X class attribute
> 2) only add new css definitions for heading-X class attributes (and  
> thus keep the old heading-1-1-1 ones too)
> 
> Option 2) is much simpler since option 1 involves modifying our  
> wysiwyg editor code too (and I don't know it at all).
> 

+1 for changing the heading levels.

-0 for keeping a class element at all. H1 already means heading, so I 
see no (semantic) need for that class (see also 
http://markmail.org/message/5vobm4oxm3c235xd)
-- 
http://purl.org/net/sergiu/
_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to