Skip to content

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

:bug: Preserve Callout title colors when highlighting https://github.com/siyuan-note/siyuan/issues/19967

Daniel588e4d0b4941
diff --git a/app/src/assets/scss/component/_typography.scss b/app/src/assets/scss/component/_typography.scss
index 4c2e01ba7a..d78ae2bea6 100644
--- a/app/src/assets/scss/component/_typography.scss
+++ b/app/src/assets/scss/component/_typography.scss
@@ -192,6 +192,13 @@
color: var(--b3-callout-note);
}
+ > .callout-info > .callout-title {
+ mark,
+ span[data-type~="mark"] {
+ color: inherit;
+ }
+ }
+
.callout-icon {
font-variant-emoji: emoji;