5
0
mirror of git://git.proxmox.com/git/pve-docs.git synced 2025-01-20 14:03:42 +03:00

correctly render level 5 headings

E.g., render them as h6 for the HTML output.

Level 5 headings are the +++++ ones in the full page output, in the
per-chapter outputs they are level 4 and worked fine already.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2024-03-06 17:15:20 +01:00
parent 7409fad4db
commit 450dc469d9
3 changed files with 24 additions and 0 deletions

View File

@ -527,6 +527,12 @@ bodydata=<td class="tableblock halign-{colalign=left}">|</td>
|
</div>
[sect5]
<div class="sect5{style? {style}}{role? {role}}">
<h6{id? id="{id}"}>{title}</h6>
|
</div>
[appendix]
<div class="sect1{style? {style}}{role? {role}}">
<h2{id? id="{id}"}>{numbered?{sectnum} }{appendix-caption} {counter:appendix-number:A}: {title}</h2>

View File

@ -620,6 +620,12 @@ template::[docinfo]
|
</section>
[sect5]
<section{id? id="{id}"}{role? role="{role}"}{reftext? xreflabel="{reftext}"}>
<title>{title}</title>
|
</section>
endif::doctype-article[]
#-------------------------
@ -754,6 +760,12 @@ template::[docinfo]
|
</section>
[sect5]
<section{id? id="{id}"}{role? role="{role}"}{reftext? xreflabel="{reftext}"}>
<title>{title}</title>
|
</section>
endif::doctype-book[]
ifdef::sgml[]

View File

@ -529,6 +529,12 @@ bodydata=<td class="tableblock halign-{colalign=left}">|</td>
|
</div>
[sect5]
<div class="sect5{style? {style}}{role? {role}}">
<h6{id? id="{id}"}>{title}</h6>
|
</div>
[appendix]
<div class="sect1{style? {style}}{role? {role}}">
<h2{id? id="{id}"}>{numbered?{sectnum} }{appendix-caption} {counter:appendix-number:A}: {title}</h2>