Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: https://github.com/siyuan-note/siyuan/issues/16051

Vanessa4b93c00e99b2
diff --git a/app/src/config/query.ts b/app/src/config/query.ts
index fbb80672b7..56062ef6a7 100644
--- a/app/src/config/query.ts
+++ b/app/src/config/query.ts
@@ -123,6 +123,15 @@ export const query = {
<span class="fn__space"></span>
<input class="b3-switch" id="blockquote" type="checkbox"${window.siyuan.config.search.blockquote ? " checked" : ""}/>
</label>
+ <label class="fn__flex">
+ <svg class="svg"><use xlink:href="#iconCallout"></use></svg>
+ <span class="fn__space"></span>
+ <div class="fn__flex-1">
+ ${window.siyuan.languages.callout} <sup>[1]</sup>
+ </div>
+ <span class="fn__space"></span>
+ <input class="b3-switch" id="callout" type="checkbox"${window.siyuan.config.search.callout ? " checked" : ""}/>
+ </label>
<label class="fn__flex">
<svg class="svg"><use xlink:href="#iconSuper"></use></svg>
<span class="fn__space"></span>
@@ -326,6 +335,7 @@ export const query = {
mathBlock: (query.element.querySelector("#mathBlock") as HTMLInputElement).checked,
table: (query.element.querySelector("#table") as HTMLInputElement).checked,
blockquote: (query.element.querySelector("#blockquote") as HTMLInputElement).checked,
+ callout: (query.element.querySelector("#callout") as HTMLInputElement).checked,
superBlock: (query.element.querySelector("#superBlock") as HTMLInputElement).checked,
paragraph: (query.element.querySelector("#paragraph") as HTMLInputElement).checked,
name: (query.element.querySelector("#name") as HTMLInputElement).checked,