From e6cc9ba3683897f899cd0b514ba9e54f72d0de8a Mon Sep 17 00:00:00 2001
From: Rithsagea <rithsagea@gmail.com>
Date: Sun, 07 Dec 2025 03:51:37 +0000
Subject: [PATCH] fix: pass mathjax macros to rehype correctly (#2218)
---
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