Skip to content

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

:recycle: https://github.com/siyuan-note/siyuan/pull/17378

Vanessae4db991e1bbb
diff --git a/app/src/types/protyle.d.ts b/app/src/types/protyle.d.ts
index 3bb84a6df0..c1f33f6d26 100644
--- a/app/src/types/protyle.d.ts
+++ b/app/src/types/protyle.d.ts
@@ -12,7 +12,13 @@ interface ILuteNode {
type THintSource = "search" | "av" | "hint";
-type TTurnIntoOne = "BlocksMergeSuperBlock" | "Blocks2ULs" | "Blocks2OLs" | "Blocks2TLs" | "Blocks2Blockquote" | "Blocks2Callout"
+type TTurnIntoOne =
+ "BlocksMergeSuperBlock"
+ | "Blocks2ULs"
+ | "Blocks2OLs"
+ | "Blocks2TLs"
+ | "Blocks2Blockquote"
+ | "Blocks2Callout"
type TTurnIntoOneSub = "row" | "col"
@@ -273,6 +279,7 @@ declare class Lute {
public SpinBlockDOM(html: string): string;
public Md2BlockDOM(html: string): string;
+
public Md2BlockDOMWithAutoLink(html: string): string;
public SetProtyleWYSIWYG(wysiwyg: boolean): void;