一个简单的例子是:
1 | .obsidian |
其中:
appearance.json
包含当前 vault 的外观设置,例如主题、字体大小和行高,例如:1
2
3
4
5
6
7
8{
"interfaceFontFamily": "HarmonyOS Sans SC",
"textFontFamily": "HarmonyOS Sans SC",
"monospaceFontFamily": "FrankMono",
"accentColor": "",
"cssTheme": "Listive",
"nativeMenus": false
}app.json
包含了编辑器的一些设置,例如 vim mode 和断行设置:1
2
3
4
5{
"vimMode": true,
"strictLineBreaks": false,
"promptDelete": false
}community-plugins.json
:包含有关当前 vault 中安装的社区插件的数据,例如:1
2
3
4
5
6
7
8
9
10
11[
"dataview",
"novel-word-count",
"remotely-save",
"obsidian-tasks-plugin",
"obsidian-style-settings",
"obsidian-advanced-slides",
"calendar",
"3d-graph-new",
"webpage-html-export"
]core-plugins.json
: 就是当前 valut 中的所有内置插件,例如:1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19"file-explorer",
"global-search",
"switcher",
"graph",
"backlink",
"canvas",
"outgoing-link",
"tag-pane",
"page-preview",
"daily-notes",
"templates",
"note-composer",
"command-palette",
"editor-status",
"bookmarks",
"outline",
"word-count",
"file-recovery"
]- `core-plugins-migration.json`: 就是 `core-plugins.json` 中的内置插件的开关状态,例如:
1 | { |
workspace.json
:包含有关当前 Vault 工作区的数据,包括打开的文件、窗口和布局的设置,例如:1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49{
"main": {
"id": "7bc59326f5497d4a",
"type": "split",
"children": [
{
"id": "06fc674d29eb4c3a",
"type": "tabs",
"children": [
{
"id": "97d62f14e2fad2f0",
"type": "leaf",
"state": {
"type": "markdown",
"state": {
"file": "README.md",
"mode": "source",
"source": false
}
}
},
{
"id": "c94063b5e5f6f995",
"type": "leaf",
"state": {
"type": "markdown",
"state": {
"file": "README.md",
"mode": "source",
"source": false
}
}
},
{
"id": "143d5ea7a56d7e1d",
"type": "leaf",
"state": {
"type": "markdown",
"state": {
"file": "测试.md",
"mode": "source",
"source": false
}
}
}
],
"currentTab": 2
}
...