From 4ad3cc4118c608ec074f1dfcb6c0ac25e04b5458 Mon Sep 17 00:00:00 2001 From: lucaronin <luca.rossi.917@gmail.com> Date: 星期六, 18 四月 2026 15:20:51 +0800 Subject: [PATCH] Updated 2 notes --- /dev/null | 11 ----------- AGENTS.md | 13 +++++++------ 2 files changed, 7 insertions(+), 17 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index e8920ef..8a50d1d 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -38,8 +38,8 @@ ```yaml --- type: Type -_icon: rocket -_color: "#3b82f6" +icon: rocket +color: "#3b82f6" _order: 0 _list_properties_display: - related_to @@ -53,14 +53,14 @@ ## Relationships -Any frontmatter property whose value contains `[[wikilinks]]` is treated as a relationship. In this starter vault, common relationship keys include `related_to` and `belongs_to`, but custom relationship names are valid too. +Any frontmatter property whose value contains [[wikilinks]] is treated as a relationship. In this starter vault, common relationship keys include `related_to` and `belongs_to`, but custom relationship names are valid too. Use quoted wikilinks for scalar frontmatter values and YAML lists for multi-value relationships. ## Wikilinks -- `[[filename]]` or `[[Note Title]]` for normal links -- `[[filename|display text]]` for custom display text +- [[filename]] or [[Note Title]] for normal links +- [[filename|display text]] for custom display text - Works in frontmatter values and Markdown body ## Views @@ -85,6 +85,7 @@ ``` View rules that matter when creating or editing files: + - `name` is required. `icon`, `color`, and `sort` are optional. - `sort` uses `option:direction`. Built-in options are `modified`, `created`, `title`, and `status`. Custom-property sorts use `property:<Property Name>`, for example `property:onboarding:asc`. - `filters` must be a tree whose root is exactly one `all:` group or one `any:` group. @@ -93,7 +94,7 @@ - Supported operators are `equals`, `not_equals`, `contains`, `not_contains`, `any_of`, `none_of`, `is_empty`, `is_not_empty`, `before`, and `after`. - `any_of` and `none_of` expect `value` to be a YAML list. - `regex: true` is supported with `equals`, `not_equals`, `contains`, and `not_contains` when pattern matching is needed. -- Relationship filters can use wikilinks in `value`, for example `"[[tolaria]]"`. +- Relationship filters can use wikilinks in `value`, for example `"`[[tolaria]]`"`. - Do not create JSON view files or `.view.json` filenames. ## Filenames diff --git a/config.md b/config.md deleted file mode 100644 index 034930e..0000000 --- a/config.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -type: Type -icon: gear-six -color: gray -order: 90 -sidebar label: Config ---- - -# Config - -Vault configuration files. These control how AI agents, tools, and other integrations interact with this vault. -- Gitblit v1.10.0