Skip to content

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

20.4 KB
Raw Blame
{
	"ID": "20211226123302-akitvb1",
	"Spec": "2",
	"Type": "NodeDocument",
	"Properties": {
		"id": "20211226123302-akitvb1",
		"title": "導入和導出",
		"type": "doc",
		"updated": "20261024163013"
	},
	"Children": [
		{
			"ID": "20220317223850-m1y2b2z",
			"Type": "NodeHeading",
			"HeadingLevel": 2,
			"Properties": {
				"id": "20220317223850-m1y2b2z",
				"updated": "20261024163013"
			},
			"Children": [
				{
					"Type": "NodeText",
					"Data": "導入"
				}
			]
		},
		{
			"ID": "20220511185953-vjaca7x",
			"Type": "NodeHeading",
			"HeadingLevel": 3,
			"Properties": {
				"id": "20220511185953-vjaca7x",
				"updated": "20261024163013"
			},
			"Children": [
				{
					"Type": "NodeText",
					"Data": "Markdown"
				}
			]
		},
		{
			"ID": "20220317223850-jevugyb",
			"Type": "NodeParagraph",
			"Properties": {
				"id": "20220317223850-jevugyb",
				"updated": "20261024161440"
			},
			"Children": [
				{
					"Type": "NodeText",
					"Data": "可匯入 Markdown 檔案或資料夾。遷移其他軟體的資料時,可先匯出為 Markdown;對於提供專用匯入入口的來源,也可使用對應入口。匯入前請核對資源檔案路徑和擴充語法。"
				}
			]
		},
		{
			"ID": "20261002211013-g6lzmsj",
			"Type": "NodeParagraph",
			"Properties": {
				"id": "20261002211013-g6lzmsj",
				"updated": "20261002211013"
			},
			"Children": [
				{
					"Type": "NodeText",
					"Data": "導入 Markdown 時,[^note]: 形式的註腳定義會轉換為獨立的有序清單項目,正文中的 [^note] 會轉換為上標區塊引用。點擊引用可開啟定義,透過定義的反向連結可返回引用它的正文區塊。註腳中的多個段落會保留在同一清單項目內。沒有對應定義的註腳不產生區塊引用,程式碼範例和跳脫的註腳語法保留為字面文字。"
				}
			]
		},
		{
			"ID": "20220317223850-hjeb6n7",
			"Type": "NodeParagraph",
			"Properties": {
				"id": "20220317223850-hjeb6n7",
				"updated": "20220317223926"
			},
			"Children": [
				{
					"Type": "NodeText",
					"Data": "導入時如果遇到形如 "
				},
				{
					"Type": "NodeTextMark",
					"TextMarkType": "code",
					"TextMarkTextContent": "![foo](images/bar.png)"
				},
				{
					"Type": "NodeText",
					"Data": "​ 的圖片語法(本地相對路徑),則思源會將 "
				},
				{
					"Type": "NodeTextMark",
					"TextMarkType": "code",
					"TextMarkTextContent": "images/bar.png"
				},
				{
					"Type": "NodeText",
					"Data": "​ 轉換為"
				},
				{
					"Type": "NodeTextMark",
					"TextMarkType": "block-ref",
					"TextMarkBlockRefID": "20211226123038-4umgpxy",
					"TextMarkBlockRefSubtype": "s",
					"TextMarkTextContent": "資料文件"
				},
				{
					"Type": "NodeText",
					"Data": "。但是如果是 "
				},
				{
					"Type": "NodeTextMark",
					"TextMarkType": "code",
					"TextMarkTextContent": ".images/bar.png"
				},
				{
					"Type": "NodeText",
					"Data": "​ 則不會轉換,因為 "
				},
				{
					"Type": "NodeTextMark",
					"TextMarkType": "code",
					"TextMarkTextContent": "."
				},
				{
					"Type": "NodeText",
					"Data": "​ 開頭的路徑文件屬於隱藏文件,思源不會進行處理。"
				}
			]
		},
		{
			"ID": "20240426184604-4ldk0w4",
			"Type": "NodeParagraph",
			"Properties": {
				"id": "20240426184604-4ldk0w4",
				"updated": "20261024163013"
			},
			"Children": [
				{
					"Type": "NodeText",
					"Data": "如果需要辨識一些擴充語法(例如上標 "
				},
				{
					"Type": "NodeTextMark",
					"TextMarkType": "code",
					"TextMarkTextContent": "^foo^"
				},
				{
					"Type": "NodeText",
					"Data": "​、下標 "
				},
				{
					"Type": "NodeTextMark",
					"TextMarkType": "code",
					"TextMarkTextContent": "~foo~"
				},
				{
					"Type": "NodeText",
					"Data": "​、標籤 "
				},
				{
					"Type": "NodeTextMark",
					"TextMarkType": "code",
					"TextMarkTextContent": "#foo#"
				},
				{
					"Type": "NodeText",
					"Data": "​ 和公式 "
				},
				{
					"Type": "NodeTextMark",
					"TextMarkType": "code",
					"TextMarkTextContent": "$foo$"
				},
				{
					"Type": "NodeText",
					"Data": "​ 等),請開啟 "
				},
				{
					"Type": "NodeTextMark",
					"TextMarkType": "kbd",
					"TextMarkTextContent": "設定"
				},
				{
					"Type": "NodeText",
					"Data": " - "
				},
				{
					"Type": "NodeTextMark",
					"TextMarkType": "kbd",
					"TextMarkTextContent": "編輯器"
				},
				{
					"Type": "NodeText",
					"Data": " - "
				},
				{
					"Type": "NodeTextMark",
					"TextMarkType": "kbd",
					"TextMarkTextContent": "Markdown 語法"
				},
				{
					"Type": "NodeText",
					"Data": " 相關開關。"
				}
			]
		},
		{
			"ID": "20220511185951-ewyusg9",
			"Type": "NodeHeading",
			"HeadingLevel": 3,
			"Properties": {
				"id": "20220511185951-ewyusg9",
				"updated": "20260809232000"
			},
			"Children": [
				{
					"Type": "NodeText",
					"Data": "Data"
				}
			]
		},
		{
			"ID": "20220511185951-brwja06",
			"Type": "NodeParagraph",
			"Properties": {
				"id": "20220511185951-brwja06",
				"updated": "20260809232000"
			},
			"Children": [
				{
					"Type": "NodeText",
					"Data": "桌面端和行動端均可在 "
				},
				{
					"Type": "NodeTextMark",
					"TextMarkType": "kbd",
					"TextMarkTextContent": "設定"
				},
				{
					"Type": "NodeText",
					"Data": " - "
				},
				{
					"Type": "NodeTextMark",
					"TextMarkType": "kbd",
					"TextMarkTextContent": "應用"
				},
				{
					"Type": "NodeText",
					"Data": " 中進行資料導入和導出。該導出會完整複製 "
				},
				{
					"Type": "NodeTextMark",
					"TextMarkType": "code",
					"TextMarkTextContent": "工作空間/data/"
				},
				{
					"Type": "NodeText",
					"Data": " 資料夾並打包為 ZIP 壓縮檔。"
				}
			]
		},
		{
			"ID": "20220511185951-307ba4e",
			"Type": "NodeParagraph",
			"Properties": {
				"id": "20220511185951-307ba4e",
				"updated": "20220511185951"
			},
			"Children": [
				{
					"Type": "NodeTextMark",
					"TextMarkType": "kbd",
					"TextMarkTextContent": "導入 Data"
				},
				{
					"Type": "NodeText",
					"Data": " 功能僅支持處理以上步驟導出的 Data 壓縮檔。導入按壓縮檔中的文件路徑複製到當前 "
				},
				{
					"Type": "NodeTextMark",
					"TextMarkType": "code",
					"TextMarkTextContent": "工作空間/data/"
				},
				{
					"Type": "NodeText",
					"Data": " 文件夾:"
				}
			]
		},
		{
			"ID": "20220511185951-6u87zb5",
			"Type": "NodeList",
			"ListData": {},
			"Properties": {
				"id": "20220511185951-6u87zb5",
				"updated": "20220511185951"
			},
			"Children": [
				{
					"ID": "20220511185951-kbmeofp",
					"Type": "NodeListItem",
					"ListData": {
						"BulletChar": 42,
						"Marker": "Kg=="
					},
					"Properties": {
						"id": "20220511185951-kbmeofp",
						"updated": "20220511185951"
					},
					"Children": [
						{
							"ID": "20220511185951-6zb3vsz",
							"Type": "NodeParagraph",
							"Properties": {
								"id": "20220511185951-6zb3vsz",
								"updated": "20220511185951"
							},
							"Children": [
								{
									"Type": "NodeText",
									"Data": "重複的文件進行覆蓋"
								}
							]
						}
					]
				},
				{
					"ID": "20220511185951-zfq6ct1",
					"Type": "NodeListItem",
					"ListData": {
						"BulletChar": 42,
						"Marker": "Kg=="
					},
					"Properties": {
						"id": "20220511185951-zfq6ct1",
						"updated": "20220511185951"
					},
					"Children": [
						{
							"ID": "20220511185951-tjpuwn1",
							"Type": "NodeParagraph",
							"Properties": {
								"id": "20220511185951-tjpuwn1",
								"updated": "20220511185951"
							},
							"Children": [
								{
									"Type": "NodeText",
									"Data": "不存在的文件進行新增"
								}
							]
						}
					]
				},
				{
					"ID": "20220511185951-jdwhcid",
					"Type": "NodeListItem",
					"ListData": {
						"BulletChar": 42,
						"Marker": "Kg=="
					},
					"Properties": {
						"id": "20220511185951-jdwhcid",
						"updated": "20220511185951"
					},
					"Children": [
						{
							"ID": "20220511185951-dklepzb",
							"Type": "NodeParagraph",
							"Properties": {
								"id": "20220511185951-dklepzb",
								"updated": "20220511185951"
							},
							"Children": [
								{
									"Type": "NodeText",
									"Data": "已有的文件不做任何處理"
								}
							]
						}
					]
				}
			]
		},
		{
			"ID": "20220511185951-ri1606s",
			"Type": "NodeParagraph",
			"Properties": {
				"id": "20220511185951-ri1606s",
				"updated": "20220511185951"
			},
			"Children": [
				{
					"Type": "NodeText",
					"Data": "​"
				},
				{
					"Type": "NodeTextMark",
					"TextMarkType": "tag",
					"TextMarkTextContent": "注意"
				},
				{
					"Type": "NodeText",
					"Data": "​:使用前請務必留意,避免已有資料被覆蓋無法恢復。"
				}
			]
		},
		{
			"ID": "20261020220502-4t0tff0",
			"Type": "NodeParagraph",
			"Properties": {
				"id": "20261020220502-4t0tff0",
				"updated": "20261020225315"
			},
			"Children": [
				{
					"Type": "NodeText",
					"Data": "Data.zip 可以直接更新目前的工作空間,無須建立另一個工作空間。匯入前會先分析壓縮檔,加密筆記本發生衝突時,可選擇預設的「略過衝突」、「覆寫衝突」或取消。匯入結果會在介面重新載入前列出已略過的筆記本 ID。提交前可以取消;提交期間無法取消或關閉匯入對話框。"
				}
			]
		},
		{
			"ID": "20261020220502-6s2mbpe",
			"Type": "NodeParagraph",
			"Properties": {
				"id": "20261020220502-6s2mbpe",
				"updated": "20261020220502"
			},
			"Children": [
				{
					"Type": "NodeText",
					"Data": "匯入加密內容需要輸入相容的主密碼。變更密碼前的備份可透過相容的歷史金鑰讀取,不會還原目前密碼。加密狀態或資料金鑰不同的筆記本無法直接合併。覆寫只取代相同路徑,保留目標獨有的檔案,不會傳播刪除;匯入後的加密筆記本保持鎖定,需要重新解鎖。"
				}
			]
		},
		{
			"ID": "20261020220502-s7xahw4",
			"Type": "NodeParagraph",
			"Properties": {
				"id": "20261020220502-s7xahw4",
				"updated": "20261020225315"
			},
			"Children": [
				{
					"Type": "NodeText",
					"Data": "匯入先驗證選取內容,再寫入資料,失敗或中斷時可以回復。上傳原件、被覆寫檔案及金鑰材料保存在工作空間的 conf/data-imports/ 目錄;核對匯入內容及所需歷史之前,請保留這些復原檔案。復原失敗時暫停寫入和同步,直到復原成功。尚未提交的預檢在 30 分鐘後過期,並在啟動或下一次匯入時清理,過期後仍可取消;已提交批次的復原檔案會繼續保留。"
				}
			]
		},
		{
			"ID": "20260614201247-kregnjm",
			"Type": "NodeHeading",
			"HeadingLevel": 3,
			"Properties": {
				"id": "20260614201247-kregnjm",
				"updated": "20260809232000"
			},
			"Children": [
				{
					"Type": "NodeText",
					"Data": ".sy.zip"
				}
			]
		},
		{
			"ID": "20260614201247-kjiv7qf",
			"Type": "NodeParagraph",
			"Properties": {
				"id": "20260614201247-kjiv7qf",
				"updated": "20260809232000"
			},
			"Children": [
				{
					"Type": "NodeTextMark",
					"TextMarkType": "code",
					"TextMarkTextContent": ".sy.zip"
				},
				{
					"Type": "NodeText",
					"Data": " 是思源原生文檔格式。在文檔樹中選擇目標筆記本或文檔後,使用 "
				},
				{
					"Type": "NodeTextMark",
					"TextMarkType": "kbd",
					"TextMarkTextContent": "導入"
				},
				{
					"Type": "NodeText",
					"Data": " - "
				},
				{
					"Type": "NodeTextMark",
					"TextMarkType": "kbd",
					"TextMarkTextContent": "SiYuan .sy.zip"
				},
				{
					"Type": "NodeText",
					"Data": " 選擇壓縮檔。導入後的文檔會保留內容、設定中指定包含的子文檔、資源文件和區塊屬性。"
				}
			]
		},
		{
			"ID": "20220317223850-ar008cn",
			"Type": "NodeHeading",
			"HeadingLevel": 2,
			"Properties": {
				"id": "20220317223850-ar008cn",
				"updated": "20261016200946"
			},
			"Children": [
				{
					"Type": "NodeText",
					"Data": "導出"
				}
			]
		},
		{
			"ID": "20220317223850-0vrngm6",
			"Type": "NodeHeading",
			"HeadingLevel": 3,
			"Properties": {
				"id": "20220317223850-0vrngm6",
				"updated": "20250115151217"
			},
			"Children": [
				{
					"Type": "NodeText",
					"Data": "編輯內容複製"
				}
			]
		},
		{
			"ID": "20220317223850-j82n6m0",
			"Type": "NodeParagraph",
			"Properties": {
				"id": "20220317223850-j82n6m0",
				"updated": "20250115151023"
			},
			"Children": [
				{
					"Type": "NodeText",
					"Data": "選擇內容後使用複制快捷鍵 "
				},
				{
					"Type": "NodeTextMark",
					"TextMarkType": "kbd",
					"TextMarkTextContent": "Ctrl"
				},
				{
					"Type": "NodeText",
					"Data": "​+"
				},
				{
					"Type": "NodeTextMark",
					"TextMarkType": "kbd",
					"TextMarkTextContent": "C"
				},
				{
					"Type": "NodeText",
					"Data": "​ 即可,剪切板中是標準 Markdown 文字。"
				}
			]
		},
		{
			"ID": "20220317223850-eh0bi4u",
			"Type": "NodeParagraph",
			"Properties": {
				"id": "20220317223850-eh0bi4u",
				"updated": "20250115151217"
			},
			"Children": [
				{
					"Type": "NodeText",
					"Data": "如果你需要複製 HTML 內容,請在編輯器分頁右上角的 "
				},
				{
					"Type": "NodeTextMark",
					"TextMarkType": "kbd",
					"TextMarkTextContent": "︙"
				},
				{
					"Type": "NodeText",
					"Data": "​ 菜單中的 "
				},
				{
					"Type": "NodeTextMark",
					"TextMarkType": "kbd",
					"TextMarkTextContent": "模式切換"
				},
				{
					"Type": "NodeText",
					"Data": "​ 切換到 "
				},
				{
					"Type": "NodeTextMark",
					"TextMarkType": "kbd",
					"TextMarkTextContent": "導出預覽"
				},
				{
					"Type": "NodeText",
					"Data": "​ 後再進行複制。"
				}
			]
		},
		{
			"ID": "20220317223850-k4b4s53",
			"Type": "NodeHeading",
			"HeadingLevel": 3,
			"Properties": {
				"id": "20220317223850-k4b4s53",
				"updated": "20261016200946"
			},
			"Children": [
				{
					"Type": "NodeText",
					"Data": "全文導出"
				}
			]
		},
		{
			"ID": "20220317223850-d79osla",
			"Type": "NodeParagraph",
			"Properties": {
				"id": "20220317223850-d79osla",
				"updated": "20260426180205"
			},
			"Children": [
				{
					"Type": "NodeText",
					"Data": "在文檔上選擇文檔後右鍵選擇 "
				},
				{
					"Type": "NodeTextMark",
					"TextMarkType": "kbd",
					"TextMarkTextContent": "導出"
				},
				{
					"Type": "NodeText",
					"Data": "​ 或者編輯器分頁右上角的 "
				},
				{
					"Type": "NodeTextMark",
					"TextMarkType": "kbd",
					"TextMarkTextContent": "︙"
				},
				{
					"Type": "NodeText",
					"Data": "​ 菜單中選擇 "
				},
				{
					"Type": "NodeTextMark",
					"TextMarkType": "kbd",
					"TextMarkTextContent": "導出"
				},
				{
					"Type": "NodeText",
					"Data": "​:"
				}
			]
		},
		{
			"ID": "20220317223850-aq77u1h",
			"Type": "NodeList",
			"ListData": {},
			"Properties": {
				"id": "20220317223850-aq77u1h",
				"updated": "20220317223850"
			},
			"Children": [
				{
					"ID": "20220317223850-pf0tfuv",
					"Type": "NodeListItem",
					"ListData": {
						"BulletChar": 42,
						"Marker": "Kg=="
					},
					"Properties": {
						"id": "20220317223850-pf0tfuv",
						"updated": "20220317223850"
					},
					"Children": [
						{
							"ID": "20220317223850-2uya521",
							"Type": "NodeParagraph",
							"Properties": {
								"id": "20220317223850-2uya521",
								"updated": "20220317223850"
							},
							"Children": [
								{
									"Type": "NodeText",
									"Data": "Markdown"
								}
							]
						}
					]
				},
				{
					"ID": "20220317223850-6rl8nmz",
					"Type": "NodeListItem",
					"ListData": {
						"BulletChar": 42,
						"Marker": "Kg=="
					},
					"Properties": {
						"id": "20220317223850-6rl8nmz",
						"updated": "20220317223850"
					},
					"Children": [
						{
							"ID": "20220317223850-vd88jo9",
							"Type": "NodeParagraph",
							"Properties": {
								"id": "20220317223850-vd88jo9",
								"updated": "20220317223850"
							},
							"Children": [
								{
									"Type": "NodeText",
									"Data": "PDF"
								}
							]
						}
					]
				},
				{
					"ID": "20220317223850-n5o3dey",
					"Type": "NodeListItem",
					"ListData": {
						"BulletChar": 42,
						"Marker": "Kg=="
					},
					"Properties": {
						"id": "20220317223850-n5o3dey",
						"updated": "20220317223850"
					},
					"Children": [
						{
							"ID": "20220317223850-41ry7ml",
							"Type": "NodeParagraph",
							"Properties": {
								"id": "20220317223850-41ry7ml",
								"updated": "20220317223850"
							},
							"Children": [
								{
									"Type": "NodeText",
									"Data": "HTML"
								}
							]
						}
					]
				},
				{
					"ID": "20220317223850-i461rjt",
					"Type": "NodeListItem",
					"ListData": {
						"BulletChar": 42,
						"Marker": "Kg=="
					},
					"Properties": {
						"id": "20220317223850-i461rjt",
						"updated": "20220317223850"
					},
					"Children": [
						{
							"ID": "20220317223850-w7mp1ff",
							"Type": "NodeParagraph",
							"Properties": {
								"id": "20220317223850-w7mp1ff",
								"updated": "20220317223850"
							},
							"Children": [
								{
									"Type": "NodeText",
									"Data": "Word .docx"
								}
							]
						}
					]
				},
				{
					"ID": "20260614201255-w4sor3z",
					"Type": "NodeListItem",
					"ListData": {
						"BulletChar": 42,
						"Marker": "Kg=="
					},
					"Properties": {
						"id": "20260614201255-w4sor3z",
						"updated": "20260614201255"
					},
					"Children": [
						{
							"ID": "20260614201255-amslbza",
							"Type": "NodeParagraph",
							"Properties": {
								"id": "20260614201255-amslbza",
								"updated": "20260614201258"
							},
							"Children": [
								{
									"Type": "NodeText",
									"Data": ".sy.zip"
								}
							]
						}
					]
				}
			]
		},
		{
			"ID": "20260614201258-xrk25st",
			"Type": "NodeParagraph",
			"Properties": {
				"id": "20260614201258-xrk25st",
				"updated": "20260809232000"
			},
			"Children": [
				{
					"Type": "NodeTextMark",
					"TextMarkType": "code",
					"TextMarkTextContent": ".sy.zip"
				},
				{
					"Type": "NodeText",
					"Data": " 格式會保留文檔內容、資源文件和區塊屬性。是否包含子文檔和關聯文檔取決於 "
				},
				{
					"Type": "NodeTextMark",
					"TextMarkType": "kbd",
					"TextMarkTextContent": "設定"
				},
				{
					"Type": "NodeText",
					"Data": " - "
				},
				{
					"Type": "NodeTextMark",
					"TextMarkType": "kbd",
					"TextMarkTextContent": "導出"
				},
				{
					"Type": "NodeText",
					"Data": " 中的對應選項。"
				}
			]
		},
		{
			"ID": "20261015174914-be7kaig",
			"Type": "NodeParagraph",
			"Properties": {
				"id": "20261015174914-be7kaig",
				"updated": "20261015174914"
			},
			"Children": [
				{
					"Type": "NodeText",
					"Data": "在「導出為圖片」對話框中,關閉「匯出題頭圖」可排除題頭圖並保留正文圖片。此開關預設開啟,獨立於「新增文件標題」,會記住選擇,並套用於預覽、導出文件和對話框內的「複製為 PNG」。原始文檔不受影響。"
				}
			]
		},
		{
			"ID": "20261016200946-3tltm1m",
			"Type": "NodeParagraph",
			"Properties": {
				"id": "20261016200946-3tltm1m",
				"updated": "20261016200946"
			},
			"Children": [
				{
					"Type": "NodeText",
					"Data": "PDF 導出也支援獨立的「匯出題頭圖」開關,預設開啟,與圖片導出分別記住選擇,不影響文件標題或正文圖片。桌面端在 PDF 預覽視窗中設定,導出時儲存選擇;行動端在列印設定對話框中設定,確認時儲存選擇。"
				}
			]
		},
		{
			"ID": "20220317224206-zwr2rje",
			"Type": "NodeParagraph",
			"Properties": {
				"id": "20220317224206-zwr2rje",
				"updated": "20220317225013"
			},
			"Children": [
				{
					"Type": "NodeText",
					"Data": "在 "
				},
				{
					"Type": "NodeTextMark",
					"TextMarkType": "kbd",
					"TextMarkTextContent": "設定"
				},
				{
					"Type": "NodeText",
					"Data": " - "
				},
				{
					"Type": "NodeTextMark",
					"TextMarkType": "kbd",
					"TextMarkTextContent": "導出"
				},
				{
					"Type": "NodeText",
					"Data": " 中有一些選項可以進行導出處理配置,細節請參考該界面上的提示信息。"
				}
			]
		}
	]
}