From 7363e246d2d9d4910560394a26f1303463eb5bc1 Mon Sep 17 00:00:00 2001
From: Knah-Tsaeb <Knah-Tsaeb@knah-tsaeb.org>
Date: Thu, 5 Dec 2024 16:46:05 +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 6f4c67d..6307f9a 100644
--- a/app/Utils/RenderHtml.php
+++ b/app/Utils/RenderHtml.php
@@ -44,7 +44,7 @@ class RenderHtml {
             'heading_permalink' => [
                 'html_class' => '',
                 'apply_id_to_heading' => false,
-                'min_heading_level' => 3,
+                'min_heading_level' => 2,
                 'max_heading_level' => 6,
                 'symbol' => '',
             ],