Anyone know why Doxia treats H1 as an unknown event and H2 as section_level_1?
http://svn.apache.org/viewvc/maven/doxia/doxia/trunk/doxia-core/src/main/java/org/apache/maven/doxia/parser/XhtmlBaseParser.java?view=markup#l413 Seems strange to me... but perhaps there is a good reason...
Re: Anyone know why Doxia treats H1 as an unknown event and H2 as section_level_1?
Hi Stephen, The Sink API only knows 5 section levels, which in html are mapped to h2 - h6: http://jira.codehaus.org/browse/DOXIA-203 HTH, -Lukas Am 13.11.2013 10:13, schrieb Stephen Connolly: http://svn.apache.org/viewvc/maven/doxia/doxia/trunk/doxia-core/src/main/java/org/apache/maven/doxia/parser/XhtmlBaseParser.java?view=markup#l413 Seems strange to me... but perhaps there is a good reason... - To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org
Re: Anyone know why Doxia treats H1 as an unknown event and H2 as section_level_1?
On 13 November 2013 19:56, Lukas Theussl ltheu...@gmail.com wrote: Hi Stephen, The Sink API only knows 5 section levels, which in html are mapped to h2 - h6: http://jira.codehaus.org/browse/DOXIA-203 Probably from a typography point of view H1 is junk (http://practicaltypography.com/point-size.html) and everyone just jumps to H2 instead. - To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org
Re: Anyone know why Doxia treats H1 as an unknown event and H2 as section_level_1?
No I think that it is that Doxia is kind of expecting that you only have one H1 in your document and that is for the title... of course it doesn't actually use it for the title The H1 gets generated by the output sinks... but it just does not get the hyperlinking targets set... On 13 November 2013 09:54, Barrie Treloar baerr...@gmail.com wrote: On 13 November 2013 19:56, Lukas Theussl ltheu...@gmail.com wrote: Hi Stephen, The Sink API only knows 5 section levels, which in html are mapped to h2 - h6: http://jira.codehaus.org/browse/DOXIA-203 Probably from a typography point of view H1 is junk (http://practicaltypography.com/point-size.html) and everyone just jumps to H2 instead. - To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org