From 4b0bd31fbf71c89159291423f985cfd9df586dcb Mon Sep 17 00:00:00 2001 From: Knah-Tsaeb Date: Thu, 5 Dec 2024 16:47:54 +0100 Subject: [PATCH] Update minimum header for show in TOC --- app/Utils/RenderHtml.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Utils/RenderHtml.php b/app/Utils/RenderHtml.php index 6307f9a..35f1fad 100644 --- a/app/Utils/RenderHtml.php +++ b/app/Utils/RenderHtml.php @@ -36,7 +36,7 @@ class RenderHtml { ], 'table_of_contents' => [ 'html_class' => 'table-of-contents', - 'min_heading_level' => 3, + 'min_heading_level' => 2, 'max_heading_level' => 6, 'normalize' => 'relative', 'placeholder' => null,