From 643aca5ffab3ca2ee7cfa5d5e0e5e25801999e45 Mon Sep 17 00:00:00 2001
From: Eritque arcus <eritque-arcus@ikuyo.dev>
Date: Sat, 06 Dec 2025 22:01:04 +0000
Subject: [PATCH] fix(LaTex/render/Typst): Add stroke color to typst-doc styles (#2237)
---
docs/features/comments.md | 17 +++++++++++++++++
1 files changed, 17 insertions(+), 0 deletions(-)
diff --git a/docs/features/comments.md b/docs/features/comments.md
index 1f11eff..6e5a25c 100644
--- a/docs/features/comments.md
+++ b/docs/features/comments.md
@@ -45,6 +45,8 @@
category: 'Announcements',
// from data-category-id
categoryId: 'DIC_kwDOFxRnmM4B-Xg6',
+ // from data-lang
+ lang: 'en'
}
}),
],
@@ -90,6 +92,10 @@
// where to put the comment input box relative to the comments
// defaults to 'bottom'
inputPosition?: "top" | "bottom"
+
+ // set your preference language here
+ // defaults to 'en'
+ lang?: string
}
}
```
@@ -114,3 +120,14 @@
}),
],
```
+
+#### Conditionally display comments
+
+Quartz can conditionally display the comment box based on a field `comments` in the frontmatter. By default, all pages will display comments, to disable it for a specific page, set `comments` to `false`.
+
+```
+---
+title: Comments disabled here!
+comments: false
+---
+```
--
Gitblit v1.10.0