From 82db998268240c92f602ac4ae13a7bd3c04519d6 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Mon, 1 Dec 2025 10:24:55 +0800 Subject: [PATCH] :art: https://github.com/siyuan-note/siyuan/issues/16051 --- app/appearance/icons/ant/icon.js | 3 +++ app/appearance/icons/ant/icon.json | 2 +- app/appearance/icons/index.html | 8 +++++++- app/appearance/icons/material/icon.js | 3 +++ app/appearance/icons/material/icon.json | 2 +- app/src/protyle/hint/extend.ts | 6 ++++++ 6 files changed, 21 insertions(+), 3 deletions(-) diff --git a/app/appearance/icons/ant/icon.js b/app/appearance/icons/ant/icon.js index 350fac0c9..7ed98929c 100644 --- a/app/appearance/icons/ant/icon.js +++ b/app/appearance/icons/ant/icon.js @@ -1,5 +1,8 @@ document.body.insertAdjacentHTML('afterbegin', ` + + + diff --git a/app/appearance/icons/ant/icon.json b/app/appearance/icons/ant/icon.json index ea9bfc75c..17d7def66 100644 --- a/app/appearance/icons/ant/icon.json +++ b/app/appearance/icons/ant/icon.json @@ -2,5 +2,5 @@ "name": "ant", "author": "Vanessa", "url": "https://github.com/Vanessa219", - "version": "1.35.0" + "version": "1.36.0" } diff --git a/app/appearance/icons/index.html b/app/appearance/icons/index.html index bb71128a4..ac89842ad 100644 --- a/app/appearance/icons/index.html +++ b/app/appearance/icons/index.html @@ -28,11 +28,17 @@

SiYuan

+
+ + + + iconCallout +
- iconGroups + iconInclude
diff --git a/app/appearance/icons/material/icon.js b/app/appearance/icons/material/icon.js index d135261df..3a4ff9ebe 100644 --- a/app/appearance/icons/material/icon.js +++ b/app/appearance/icons/material/icon.js @@ -1,5 +1,8 @@ document.body.insertAdjacentHTML('afterbegin', ` + + + diff --git a/app/appearance/icons/material/icon.json b/app/appearance/icons/material/icon.json index a0662f78a..8f6bbfa20 100644 --- a/app/appearance/icons/material/icon.json +++ b/app/appearance/icons/material/icon.json @@ -2,5 +2,5 @@ "name": "material", "author": "Vanessa", "url": "https://github.com/Vanessa219", - "version": "1.35.0" + "version": "1.36.0" } diff --git a/app/src/protyle/hint/extend.ts b/app/src/protyle/hint/extend.ts index 9c32e8543..be76df755 100644 --- a/app/src/protyle/hint/extend.ts +++ b/app/src/protyle/hint/extend.ts @@ -130,6 +130,12 @@ export const hintSlash = (key: string, protyle: IProtyle) => { id: "quote", value: "> " + Lute.Caret, html: `
${window.siyuan.languages.quote}${getHotkeyOrMarker(window.siyuan.config.keymap.editor.insert.quote.custom, ">")}
`, + },{ + filter: [window.siyuan.languages.callout, "callout", "ts", "提示", "tishi"], + id: "callout", + value: `> [!NOTE] +> ${Lute.Caret}`, + html: `
${window.siyuan.languages.callout}
`, }, { filter: [window.siyuan.languages.code, "code block", "代码块", "daimakuai", "dmk"], id: "code",