From ec26ebcc9e53f67f6242266556ed13445e2f9688 Mon Sep 17 00:00:00 2001
From: うろちょろ <112748593+chiyonn@users.noreply.github.com>
Date: Tue, 02 Dec 2025 18:04:38 +0000
Subject: [PATCH] feat: improve search tokenization for CJK languages (#2231)

---
 quartz/components/Comments.tsx |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/quartz/components/Comments.tsx b/quartz/components/Comments.tsx
index 0bfd82d..a731521 100644
--- a/quartz/components/Comments.tsx
+++ b/quartz/components/Comments.tsx
@@ -17,6 +17,7 @@
     strict?: boolean
     reactionsEnabled?: boolean
     inputPosition?: "top" | "bottom"
+    lang?: string
   }
 }
 
@@ -50,6 +51,7 @@
         data-theme-url={
           opts.options.themeUrl ?? `https://${cfg.baseUrl ?? "example.com"}/static/giscus`
         }
+        data-lang={opts.options.lang ?? "en"}
       ></div>
     )
   }

--
Gitblit v1.10.0