跳至主要內容
yomihon 書庫
整體狀況設定

鍵盤快捷鍵

⌘K / Ctrl K
搜尋
Esc
關閉搜尋或篩選
/
跳到導覽篩選(單鍵開啟時)
[
收合或展開側欄(單鍵開啟時)

關掉之後,/ 和 [ 都只會照瀏覽器原本的方式輸入;⌘K 與 Esc 不受影響。

設定
esc

↑↓ 選擇 ↵ 搜尋 esc 關閉

Frontmatter

concept更新於
更新於
類型
concept
語言
en
在 Obsidian 開啟留下自己的想法
更新於
類型
concept
語言
en
在 Obsidian 開啟留下自己的想法
聲明的來源 1 對照閱讀 1 正文連到這篇 3

Frontmatter is the YAML block between two --- lines at the start of a note. It holds fields such as title, type, status and domain.

The contract declares permitted fields and values. Within its knowledge scope, an undeclared field is a diagnostic. The status control rewrites only the status value, preserving the rest of the file.

The vault contract

note更新於
更新於
類型
note
語言
en
在 Obsidian 開啟留下自己的想法
更新於
類型
note
語言
en
在 Obsidian 開啟留下自己的想法
本頁內容 以這篇為來源的筆記 1 對照閱讀 1 正文連到這篇 7

A Markdown folder is readable without a contract. The contract declares note types, permitted fields and statuses, course and map types, scan scope, and command-line privacy boundaries.

These declarations belong in System/schemas/vault-schema.toml. Use this vault's file as a starting point. ^single-source

It replaces An older approach, which inferred types from folders.

The shape of it

This excerpt declares types and the default status vocabulary:

[enums]
type = ["note", "lesson", "study-path", "moc", "concept", "inbox"]

[enums.status]
note = ["draft", "ready", "published", "archived"]

[[lifecycle]] rows define allowed status transitions; see The status lifecycle. The excerpt is not a complete contract.

When it cannot be read

An unreadable or invalid contract produces a page notice and disables the status control, courses and maps. Reading, folder navigation and search remain available. The check, coverage and exists commands refuse to run without a usable contract and privacy declaration.