Skip to content

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

3.9 KB
Raw Blame
{
	"ID": "20211226123101-qjw03ab",
	"Spec": "2",
	"Type": "NodeDocument",
	"Properties": {
		"id": "20211226123101-qjw03ab",
		"title": "小工具",
		"type": "doc",
		"updated": "20261024161440"
	},
	"Children": [
		{
			"ID": "20211226123118-0v3r4kb",
			"Type": "NodeHeading",
			"HeadingLevel": 2,
			"Properties": {
				"id": "20211226123118-0v3r4kb",
				"updated": "20261024161440"
			},
			"Children": [
				{
					"Type": "NodeText",
					"Data": "概述"
				}
			]
		},
		{
			"ID": "20211226123118-jglr3dm",
			"Type": "NodeParagraph",
			"Properties": {
				"id": "20211226123118-jglr3dm",
				"updated": "20261024161440"
			},
			"Children": [
				{
					"Type": "NodeText",
					"Data": "小工具是在文檔中執行的工具,以網頁形式嵌入編輯器。小工具檔案由思源內核提供,透過 "
				},
				{
					"Type": "NodeTextMark",
					"TextMarkType": "code",
					"TextMarkTextContent": "iframe"
				},
				{
					"Type": "NodeText",
					"Data": " 顯示,也可以透過 API 讀寫資料。"
				}
			]
		},
		{
			"ID": "20230512195228-movvk6h",
			"Type": "NodeParagraph",
			"Properties": {
				"id": "20230512195228-movvk6h",
				"updated": "20260730184353"
			},
			"Children": [
				{
					"Type": "NodeText",
					"Data": "相較於"
				},
				{
					"Type": "NodeTextMark",
					"TextMarkType": "block-ref",
					"TextMarkBlockRefID": "20230506211210-1roopyo",
					"TextMarkBlockRefSubtype": "s",
					"TextMarkTextContent": "插件"
				},
				{
					"Type": "NodeText",
					"Data": "而言,小工具是一種內容區塊,遵循區塊的索引和渲染規則,小工具主要面向內容區塊擴展,不面向程序功能擴展。"
				}
			]
		},
		{
			"ID": "20211226123118-fqy6ibk",
			"Type": "NodeHeading",
			"HeadingLevel": 2,
			"Properties": {
				"id": "20211226123118-fqy6ibk",
				"updated": "20261016191345"
			},
			"Children": [
				{
					"Type": "NodeText",
					"Data": "使用方式"
				}
			]
		},
		{
			"ID": "20211226123118-4dtjsok",
			"Type": "NodeParagraph",
			"Properties": {
				"id": "20211226123118-4dtjsok",
				"updated": "20261016191345"
			},
			"Children": [
				{
					"Type": "NodeText",
					"Data": "小工具通過小工具集市安裝,安裝後小工具將被放置到 "
				},
				{
					"Type": "NodeTextMark",
					"TextMarkType": "code",
					"TextMarkTextContent": "工作空間/data/widgets/"
				},
				{
					"Type": "NodeText",
					"Data": "​ 文件夾下。在編輯器中使用斜桿菜單觸發調用搜索,選擇需要的小工具後就會以小工具區塊的形式插入到文檔中。"
				}
			]
		},
		{
			"ID": "20261002002136-0dv9g8q",
			"Type": "NodeParagraph",
			"Properties": {
				"id": "20261002002136-0dv9g8q",
				"updated": "20261002002136"
			},
			"Children": [
				{
					"Type": "NodeText",
					"Data": "將滑鼠移到區塊上即可顯示邊框外的小尺寸控制點:拖曳右側中間的控制點調整寬度,拖曳底部中間的控制點調整高度,拖曳右下角的圓角控制點同時調整寬高。觸控螢幕可直接拖曳控制點,單獨調整寬度或高度時會保留另一項尺寸。"
				}
			]
		},
		{
			"ID": "20211226123118-9luabq8",
			"Type": "NodeHeading",
			"HeadingLevel": 2,
			"Properties": {
				"id": "20211226123118-9luabq8",
				"updated": "20260809232000"
			},
			"Children": [
				{
					"Type": "NodeText",
					"Data": "上架社區集市"
				}
			]
		},
		{
			"ID": "20221114173603-zms87ks",
			"Type": "NodeParagraph",
			"Properties": {
				"id": "20221114173603-zms87ks",
				"updated": "20260809232000"
			},
			"Children": [
				{
					"Type": "NodeText",
					"Data": "請參考"
				},
				{
					"Type": "NodeTextMark",
					"TextMarkType": "a",
					"TextMarkAHref": "https://github.com/siyuan-note/bazaar",
					"TextMarkTextContent": "社區集市倉庫"
				},
				{
					"Type": "NodeText",
					"Data": "。"
				}
			]
		}
	]
}