On Jul 20, 2008, at 12:29 PM, Ludovic Dubost wrote: > > There is one caveat which is the number of <h?> available.. They go > from > H1 to H6. > We need to be sure to use only 6 levels
Sure but we already do this. That should give us a new possible level BTW (BTW I don't know how we were able to support 6 levels when starting at H2...). Thanks -Vincent > 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). >> >> WDYT? >> >> Thanks >> -Vincent _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs

