From 450dc469d96832da5317077f40faf1bb7413e7e5 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Wed, 6 Mar 2024 17:15:20 +0100 Subject: [PATCH] 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 --- asciidoc/mediawiki.conf | 6 ++++++ asciidoc/pve-docbook.conf | 12 ++++++++++++ asciidoc/pve-html.conf | 6 ++++++ 3 files changed, 24 insertions(+) diff --git a/asciidoc/mediawiki.conf b/asciidoc/mediawiki.conf index e7e15d4..81e8efb 100644 --- a/asciidoc/mediawiki.conf +++ b/asciidoc/mediawiki.conf @@ -527,6 +527,12 @@ bodydata=| | +[sect5] +
+{title} +| +
+ [appendix]
{numbered?{sectnum} }{appendix-caption} {counter:appendix-number:A}: {title} diff --git a/asciidoc/pve-docbook.conf b/asciidoc/pve-docbook.conf index ade991c..95436ec 100644 --- a/asciidoc/pve-docbook.conf +++ b/asciidoc/pve-docbook.conf @@ -620,6 +620,12 @@ template::[docinfo] | +[sect5] + +{title} +| + + endif::doctype-article[] #------------------------- @@ -754,6 +760,12 @@ template::[docinfo] | +[sect5] + +{title} +| + + endif::doctype-book[] ifdef::sgml[] diff --git a/asciidoc/pve-html.conf b/asciidoc/pve-html.conf index 913169b..6e895e6 100644 --- a/asciidoc/pve-html.conf +++ b/asciidoc/pve-html.conf @@ -529,6 +529,12 @@ bodydata=| |
+[sect5] +
+{title} +| +
+ [appendix]
{numbered?{sectnum} }{appendix-caption} {counter:appendix-number:A}: {title}