[ https://issues.apache.org/jira/browse/DOXIA-695?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17803661#comment-17803661 ]
ASF GitHub Bot commented on DOXIA-695: -------------------------------------- kwin commented on PR #193: URL: https://github.com/apache/maven-doxia/pull/193#issuecomment-1879087797 > What about formats which do not support level 6, but it requested from code? E.g. Apt? This only affects APT AFAIK and this is downgraded to level 5 with a warning if such an even is experienced in the APT sink (https://github.com/apache/maven-doxia/pull/193/files#diff-412c160aa0a1b012a52e4d7f1ef72d686d4ac49504df8da0d9489f10efea8a5dR268) > Support of h6 in xhtml output is broken > --------------------------------------- > > Key: DOXIA-695 > URL: https://issues.apache.org/jira/browse/DOXIA-695 > Project: Maven Doxia > Issue Type: Bug > Components: Modules, Sink API > Reporter: Konrad Windszus > Assignee: Konrad Windszus > Priority: Major > > It seems that due to > [https://github.com/apache/maven-doxia/commit/87d1ab3979d9df3f6c9af2b2c9bb3baf4152d8b1] > the support for headings on level 6 has been completely dropped, e.g. the > heading from > https://github.com/apache/maven-site/blob/f8579f4f91aa826501528b64a7c6baadf6492986/content/markdown/guides/mini/guide-configuring-plugins.md?plain=1#L284 > is valid in markdown but is incorrectly rendered as regular paragraph in > [https://maven.apache.org/guides/mini/guide-configuring-plugins.html.] > As (X)HTML defines headings from level 1 - 6 (as well as markdown, see > [https://daringfireball.net/projects/markdown/syntax#header]) I guess the > sink needs new methods for dealing with a 6th section. The restriction to 5 > sections in the Sink API seems to stem from APT which only supports 5 levels > ([https://maven.apache.org/doxia/references/apt-format.html#section]) -- This message was sent by Atlassian Jira (v8.20.10#820010)